From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- vendor/voclient/common/curl-7.20.1/Android.mk | 87 + vendor/voclient/common/curl-7.20.1/CHANGES | 2121 + .../curl-7.20.1/CMake/CMakeConfigurableFile.in | 2 + .../common/curl-7.20.1/CMake/CheckTypeSize.c.in | 44 + .../common/curl-7.20.1/CMake/CheckTypeSize.cmake | 57 + .../CMake/CurlCheckCSourceCompiles.cmake | 75 + .../curl-7.20.1/CMake/CurlCheckCSourceRuns.cmake | 83 + .../voclient/common/curl-7.20.1/CMake/CurlTests.c | 690 + .../common/curl-7.20.1/CMake/FindOpenSSL.cmake | 19 + .../common/curl-7.20.1/CMake/FindZLIB.cmake | 8 + .../common/curl-7.20.1/CMake/OtherTests.cmake | 250 + .../curl-7.20.1/CMake/Platforms/WindowsCache.cmake | 121 + .../common/curl-7.20.1/CMake/Utilities.cmake | 31 + vendor/voclient/common/curl-7.20.1/CMakeLists.txt | 859 + vendor/voclient/common/curl-7.20.1/COPYING | 21 + .../voclient/common/curl-7.20.1/MacOSX-Framework | 78 + vendor/voclient/common/curl-7.20.1/Makefile | 883 + vendor/voclient/common/curl-7.20.1/Makefile.am | 153 + vendor/voclient/common/curl-7.20.1/Makefile.in | 883 + vendor/voclient/common/curl-7.20.1/README | 49 + vendor/voclient/common/curl-7.20.1/RELEASE-NOTES | 64 + vendor/voclient/common/curl-7.20.1/acinclude.m4 | 3247 + vendor/voclient/common/curl-7.20.1/aclocal.m4 | 903 + vendor/voclient/common/curl-7.20.1/buildconf | 396 + vendor/voclient/common/curl-7.20.1/compile | 142 + vendor/voclient/common/curl-7.20.1/config.guess | 1502 + vendor/voclient/common/curl-7.20.1/config.log | 159107 ++++++++++++++++++ vendor/voclient/common/curl-7.20.1/config.status | 2340 + vendor/voclient/common/curl-7.20.1/config.sub | 1714 + vendor/voclient/common/curl-7.20.1/configure | 36707 ++++ vendor/voclient/common/curl-7.20.1/configure.ac | 2644 + vendor/voclient/common/curl-7.20.1/curl-config | 161 + vendor/voclient/common/curl-7.20.1/curl-config.in | 161 + vendor/voclient/common/curl-7.20.1/curl-style.el | 50 + vendor/voclient/common/curl-7.20.1/depcomp | 530 + vendor/voclient/common/curl-7.20.1/docs/BINDINGS | 228 + vendor/voclient/common/curl-7.20.1/docs/BUGS | 81 + vendor/voclient/common/curl-7.20.1/docs/CONTRIBUTE | 257 + .../common/curl-7.20.1/docs/DISTRO-DILEMMA | 176 + vendor/voclient/common/curl-7.20.1/docs/FAQ | 1288 + vendor/voclient/common/curl-7.20.1/docs/FEATURES | 135 + vendor/voclient/common/curl-7.20.1/docs/HISTORY | 186 + vendor/voclient/common/curl-7.20.1/docs/INSTALL | 981 + .../common/curl-7.20.1/docs/INSTALL.devcpp | 302 + vendor/voclient/common/curl-7.20.1/docs/INTERNALS | 488 + vendor/voclient/common/curl-7.20.1/docs/KNOWN_BUGS | 235 + .../common/curl-7.20.1/docs/LICENSE-MIXING | 126 + vendor/voclient/common/curl-7.20.1/docs/MANUAL | 971 + .../voclient/common/curl-7.20.1/docs/Makefile.am | 40 + .../voclient/common/curl-7.20.1/docs/Makefile.in | 639 + .../common/curl-7.20.1/docs/README.netware | 27 + .../voclient/common/curl-7.20.1/docs/README.win32 | 26 + vendor/voclient/common/curl-7.20.1/docs/RESOURCES | 75 + vendor/voclient/common/curl-7.20.1/docs/SSLCERTS | 116 + vendor/voclient/common/curl-7.20.1/docs/THANKS | 782 + vendor/voclient/common/curl-7.20.1/docs/TODO | 601 + .../common/curl-7.20.1/docs/TheArtOfHttpScripting | 490 + vendor/voclient/common/curl-7.20.1/docs/VERSIONS | 67 + .../voclient/common/curl-7.20.1/docs/curl-config.1 | 99 + vendor/voclient/common/curl-7.20.1/docs/curl.1 | 1720 + .../curl-7.20.1/docs/examples/10-at-a-time.c | 184 + .../common/curl-7.20.1/docs/examples/Makefile.am | 37 + .../curl-7.20.1/docs/examples/Makefile.example | 40 + .../common/curl-7.20.1/docs/examples/Makefile.in | 803 + .../common/curl-7.20.1/docs/examples/Makefile.inc | 16 + .../common/curl-7.20.1/docs/examples/Makefile.m32 | 133 + .../common/curl-7.20.1/docs/examples/README | 76 + .../common/curl-7.20.1/docs/examples/anyauthput.c | 158 + .../common/curl-7.20.1/docs/examples/cacertinmem.c | 138 + .../common/curl-7.20.1/docs/examples/certinfo.c | 62 + .../common/curl-7.20.1/docs/examples/chkspeed.c | 163 + .../curl-7.20.1/docs/examples/cookie_interface.c | 111 + .../common/curl-7.20.1/docs/examples/curlgtk.c | 108 + .../common/curl-7.20.1/docs/examples/curlx.c | 514 + .../common/curl-7.20.1/docs/examples/debug.c | 128 + .../common/curl-7.20.1/docs/examples/evhiperfifo.c | 459 + .../common/curl-7.20.1/docs/examples/fileupload.c | 67 + .../common/curl-7.20.1/docs/examples/fopen.c | 566 + .../common/curl-7.20.1/docs/examples/ftpget.c | 86 + .../common/curl-7.20.1/docs/examples/ftpgetinfo.c | 76 + .../common/curl-7.20.1/docs/examples/ftpgetresp.c | 62 + .../common/curl-7.20.1/docs/examples/ftpupload.c | 120 + .../curl-7.20.1/docs/examples/ftpuploadresume.c | 158 + .../common/curl-7.20.1/docs/examples/getinfo.c | 41 + .../common/curl-7.20.1/docs/examples/getinmemory.c | 106 + .../common/curl-7.20.1/docs/examples/ghiper.c | 460 + .../common/curl-7.20.1/docs/examples/hiperfifo.c | 427 + .../common/curl-7.20.1/docs/examples/htmltidy.c | 117 + .../common/curl-7.20.1/docs/examples/htmltitle.cc | 301 + .../common/curl-7.20.1/docs/examples/http-post.c | 34 + .../curl-7.20.1/docs/examples/httpcustomheader.c | 38 + .../common/curl-7.20.1/docs/examples/httpput.c | 105 + .../common/curl-7.20.1/docs/examples/https.c | 52 + .../common/curl-7.20.1/docs/examples/makefile.dj | 39 + .../common/curl-7.20.1/docs/examples/multi-app.c | 134 + .../docs/examples/multi-debugcallback.c | 182 + .../curl-7.20.1/docs/examples/multi-double.c | 98 + .../common/curl-7.20.1/docs/examples/multi-post.c | 127 + .../curl-7.20.1/docs/examples/multi-single.c | 93 + .../common/curl-7.20.1/docs/examples/multithread.c | 81 + .../curl-7.20.1/docs/examples/opensslthreadlock.c | 81 + .../common/curl-7.20.1/docs/examples/persistant.c | 40 + .../curl-7.20.1/docs/examples/post-callback.c | 116 + .../common/curl-7.20.1/docs/examples/postit2.c | 86 + .../common/curl-7.20.1/docs/examples/sampleconv.c | 94 + .../common/curl-7.20.1/docs/examples/sendrecv.c | 115 + .../common/curl-7.20.1/docs/examples/sepheaders.c | 75 + .../common/curl-7.20.1/docs/examples/simple.c | 27 + .../common/curl-7.20.1/docs/examples/simplepost.c | 36 + .../common/curl-7.20.1/docs/examples/simplessl.c | 122 + .../common/curl-7.20.1/docs/examples/synctime.c | 353 + .../curl-7.20.1/docs/examples/threaded-ssl.c | 149 + vendor/voclient/common/curl-7.20.1/docs/index.html | 20 + .../voclient/common/curl-7.20.1/docs/libcurl/ABI | 69 + .../common/curl-7.20.1/docs/libcurl/Makefile.am | 83 + .../common/curl-7.20.1/docs/libcurl/Makefile.in | 529 + .../curl-7.20.1/docs/libcurl/curl_easy_cleanup.3 | 50 + .../curl-7.20.1/docs/libcurl/curl_easy_duphandle.3 | 33 + .../curl-7.20.1/docs/libcurl/curl_easy_escape.3 | 46 + .../curl-7.20.1/docs/libcurl/curl_easy_getinfo.3 | 273 + .../curl-7.20.1/docs/libcurl/curl_easy_init.3 | 31 + .../curl-7.20.1/docs/libcurl/curl_easy_pause.3 | 65 + .../curl-7.20.1/docs/libcurl/curl_easy_perform.3 | 39 + .../curl-7.20.1/docs/libcurl/curl_easy_recv.3 | 69 + .../curl-7.20.1/docs/libcurl/curl_easy_reset.3 | 23 + .../curl-7.20.1/docs/libcurl/curl_easy_send.3 | 64 + .../curl-7.20.1/docs/libcurl/curl_easy_setopt.3 | 1988 + .../curl-7.20.1/docs/libcurl/curl_easy_strerror.3 | 19 + .../curl-7.20.1/docs/libcurl/curl_easy_unescape.3 | 51 + .../common/curl-7.20.1/docs/libcurl/curl_escape.3 | 30 + .../common/curl-7.20.1/docs/libcurl/curl_formadd.3 | 216 + .../curl-7.20.1/docs/libcurl/curl_formfree.3 | 19 + .../common/curl-7.20.1/docs/libcurl/curl_formget.3 | 48 + .../common/curl-7.20.1/docs/libcurl/curl_free.3 | 17 + .../common/curl-7.20.1/docs/libcurl/curl_getdate.3 | 99 + .../common/curl-7.20.1/docs/libcurl/curl_getenv.3 | 29 + .../curl-7.20.1/docs/libcurl/curl_global_cleanup.3 | 31 + .../curl-7.20.1/docs/libcurl/curl_global_init.3 | 58 + .../docs/libcurl/curl_global_init_mem.3 | 42 + .../common/curl-7.20.1/docs/libcurl/curl_mprintf.3 | 89 + .../docs/libcurl/curl_multi_add_handle.3 | 37 + .../curl-7.20.1/docs/libcurl/curl_multi_assign.3 | 43 + .../curl-7.20.1/docs/libcurl/curl_multi_cleanup.3 | 26 + .../curl-7.20.1/docs/libcurl/curl_multi_fdset.3 | 41 + .../docs/libcurl/curl_multi_info_read.3 | 56 + .../curl-7.20.1/docs/libcurl/curl_multi_init.3 | 20 + .../curl-7.20.1/docs/libcurl/curl_multi_perform.3 | 53 + .../docs/libcurl/curl_multi_remove_handle.3 | 23 + .../curl-7.20.1/docs/libcurl/curl_multi_setopt.3 | 83 + .../curl-7.20.1/docs/libcurl/curl_multi_socket.3 | 138 + .../docs/libcurl/curl_multi_socket_action.3 | 128 + .../curl-7.20.1/docs/libcurl/curl_multi_strerror.3 | 19 + .../curl-7.20.1/docs/libcurl/curl_multi_timeout.3 | 43 + .../curl-7.20.1/docs/libcurl/curl_share_cleanup.3 | 20 + .../curl-7.20.1/docs/libcurl/curl_share_init.3 | 24 + .../curl-7.20.1/docs/libcurl/curl_share_setopt.3 | 60 + .../curl-7.20.1/docs/libcurl/curl_share_strerror.3 | 19 + .../curl-7.20.1/docs/libcurl/curl_slist_append.3 | 38 + .../curl-7.20.1/docs/libcurl/curl_slist_free_all.3 | 19 + .../curl-7.20.1/docs/libcurl/curl_strequal.3 | 31 + .../curl-7.20.1/docs/libcurl/curl_unescape.3 | 30 + .../common/curl-7.20.1/docs/libcurl/curl_version.3 | 18 + .../curl-7.20.1/docs/libcurl/curl_version_info.3 | 149 + .../common/curl-7.20.1/docs/libcurl/index.html | 61 + .../common/curl-7.20.1/docs/libcurl/libcurl-easy.3 | 27 + .../curl-7.20.1/docs/libcurl/libcurl-errors.3 | 261 + .../curl-7.20.1/docs/libcurl/libcurl-multi.3 | 142 + .../curl-7.20.1/docs/libcurl/libcurl-share.3 | 45 + .../curl-7.20.1/docs/libcurl/libcurl-tutorial.3 | 1344 + .../common/curl-7.20.1/docs/libcurl/libcurl.3 | 202 + .../common/curl-7.20.1/docs/libcurl/libcurl.m4 | 250 + .../curl-7.20.1/docs/libcurl/symbols-in-versions | 462 + .../common/curl-7.20.1/include/Makefile.am | 5 + .../common/curl-7.20.1/include/Makefile.in | 556 + vendor/voclient/common/curl-7.20.1/include/README | 55 + .../common/curl-7.20.1/include/curl/Makefile.am | 25 + .../common/curl-7.20.1/include/curl/Makefile.in | 511 + .../common/curl-7.20.1/include/curl/curl.h | 1996 + .../curl-7.20.1/include/curl/curlbuild.h.cmake | 180 + .../common/curl-7.20.1/include/curl/curlbuild.h.in | 190 + .../common/curl-7.20.1/include/curl/curlrules.h | 252 + .../common/curl-7.20.1/include/curl/curlver.h | 69 + .../common/curl-7.20.1/include/curl/easy.h | 102 + .../common/curl-7.20.1/include/curl/mprintf.h | 81 + .../common/curl-7.20.1/include/curl/multi.h | 345 + .../common/curl-7.20.1/include/curl/stdcheaders.h | 33 + .../curl-7.20.1/include/curl/typecheck-gcc.h | 550 + .../common/curl-7.20.1/include/curl/types.h | 1 + vendor/voclient/common/curl-7.20.1/install-sh | 250 + .../voclient/common/curl-7.20.1/lib/CMakeLists.txt | 124 + .../common/curl-7.20.1/lib/Makefile.Watcom | 565 + vendor/voclient/common/curl-7.20.1/lib/Makefile.am | 171 + .../voclient/common/curl-7.20.1/lib/Makefile.b32 | 89 + vendor/voclient/common/curl-7.20.1/lib/Makefile.in | 827 + .../voclient/common/curl-7.20.1/lib/Makefile.inc | 28 + .../voclient/common/curl-7.20.1/lib/Makefile.m32 | 159 + .../common/curl-7.20.1/lib/Makefile.netware | 647 + .../common/curl-7.20.1/lib/Makefile.riscos | 196 + .../voclient/common/curl-7.20.1/lib/Makefile.vc6 | 557 + .../voclient/common/curl-7.20.1/lib/Makefile.vc8 | 557 + .../voclient/common/curl-7.20.1/lib/Makefile.vc9 | 557 + .../common/curl-7.20.1/lib/Makefile.vxworks | 177 + vendor/voclient/common/curl-7.20.1/lib/README.ares | 69 + .../common/curl-7.20.1/lib/README.curl_off_t | 68 + .../voclient/common/curl-7.20.1/lib/README.curlx | 61 + .../common/curl-7.20.1/lib/README.encoding | 60 + .../voclient/common/curl-7.20.1/lib/README.hostip | 35 + .../common/curl-7.20.1/lib/README.httpauth | 74 + .../common/curl-7.20.1/lib/README.memoryleak | 55 + .../common/curl-7.20.1/lib/README.multi_socket | 53 + .../common/curl-7.20.1/lib/README.pingpong | 30 + .../common/curl-7.20.1/lib/README.pipelining | 51 + vendor/voclient/common/curl-7.20.1/lib/amigaos.c | 80 + vendor/voclient/common/curl-7.20.1/lib/amigaos.h | 57 + .../voclient/common/curl-7.20.1/lib/arpa_telnet.h | 102 + vendor/voclient/common/curl-7.20.1/lib/base64.c | 247 + .../common/curl-7.20.1/lib/config-amigaos.h | 151 + .../voclient/common/curl-7.20.1/lib/config-mac.h | 100 + .../voclient/common/curl-7.20.1/lib/config-os400.h | 517 + .../common/curl-7.20.1/lib/config-riscos.h | 475 + .../common/curl-7.20.1/lib/config-symbian.h | 814 + .../voclient/common/curl-7.20.1/lib/config-tpf.h | 761 + .../common/curl-7.20.1/lib/config-vxworks.h | 937 + .../voclient/common/curl-7.20.1/lib/config-win32.h | 579 + .../common/curl-7.20.1/lib/config-win32ce.h | 410 + vendor/voclient/common/curl-7.20.1/lib/config.dos | 169 + vendor/voclient/common/curl-7.20.1/lib/connect.c | 1019 + vendor/voclient/common/curl-7.20.1/lib/connect.h | 71 + .../common/curl-7.20.1/lib/content_encoding.c | 426 + .../common/curl-7.20.1/lib/content_encoding.h | 48 + vendor/voclient/common/curl-7.20.1/lib/cookie.c | 1135 + vendor/voclient/common/curl-7.20.1/lib/cookie.h | 108 + .../common/curl-7.20.1/lib/curl_addrinfo.c | 482 + .../common/curl-7.20.1/lib/curl_addrinfo.h | 98 + .../voclient/common/curl-7.20.1/lib/curl_base64.h | 31 + .../common/curl-7.20.1/lib/curl_config.h.cmake | 953 + .../common/curl-7.20.1/lib/curl_config.h.in | 973 + vendor/voclient/common/curl-7.20.1/lib/curl_ldap.h | 33 + vendor/voclient/common/curl-7.20.1/lib/curl_md5.h | 28 + .../voclient/common/curl-7.20.1/lib/curl_memory.h | 49 + .../voclient/common/curl-7.20.1/lib/curl_memrchr.c | 62 + .../voclient/common/curl-7.20.1/lib/curl_memrchr.h | 44 + vendor/voclient/common/curl-7.20.1/lib/curl_rand.c | 61 + vendor/voclient/common/curl-7.20.1/lib/curl_rand.h | 29 + vendor/voclient/common/curl-7.20.1/lib/curl_sspi.c | 118 + vendor/voclient/common/curl-7.20.1/lib/curl_sspi.h | 73 + .../voclient/common/curl-7.20.1/lib/curl_threads.c | 127 + .../voclient/common/curl-7.20.1/lib/curl_threads.h | 57 + vendor/voclient/common/curl-7.20.1/lib/curlx.h | 118 + vendor/voclient/common/curl-7.20.1/lib/dict.c | 305 + vendor/voclient/common/curl-7.20.1/lib/dict.h | 29 + vendor/voclient/common/curl-7.20.1/lib/easy.c | 1153 + vendor/voclient/common/curl-7.20.1/lib/easyif.h | 39 + vendor/voclient/common/curl-7.20.1/lib/escape.c | 210 + vendor/voclient/common/curl-7.20.1/lib/escape.h | 29 + vendor/voclient/common/curl-7.20.1/lib/file.c | 585 + vendor/voclient/common/curl-7.20.1/lib/file.h | 40 + .../common/curl-7.20.1/lib/firefox-db2pem.sh | 54 + vendor/voclient/common/curl-7.20.1/lib/formdata.c | 1760 + vendor/voclient/common/curl-7.20.1/lib/formdata.h | 98 + vendor/voclient/common/curl-7.20.1/lib/ftp.c | 3962 + vendor/voclient/common/curl-7.20.1/lib/ftp.h | 140 + vendor/voclient/common/curl-7.20.1/lib/getenv.c | 65 + vendor/voclient/common/curl-7.20.1/lib/getinfo.c | 254 + vendor/voclient/common/curl-7.20.1/lib/getinfo.h | 27 + vendor/voclient/common/curl-7.20.1/lib/gtls.c | 829 + vendor/voclient/common/curl-7.20.1/lib/gtls.h | 69 + vendor/voclient/common/curl-7.20.1/lib/hash.c | 339 + vendor/voclient/common/curl-7.20.1/lib/hash.h | 92 + vendor/voclient/common/curl-7.20.1/lib/hostares.c | 416 + vendor/voclient/common/curl-7.20.1/lib/hostasyn.c | 129 + vendor/voclient/common/curl-7.20.1/lib/hostip.c | 723 + vendor/voclient/common/curl-7.20.1/lib/hostip.h | 219 + vendor/voclient/common/curl-7.20.1/lib/hostip4.c | 319 + vendor/voclient/common/curl-7.20.1/lib/hostip6.c | 238 + vendor/voclient/common/curl-7.20.1/lib/hostsyn.c | 123 + vendor/voclient/common/curl-7.20.1/lib/hostthre.c | 590 + vendor/voclient/common/curl-7.20.1/lib/http.c | 3807 + vendor/voclient/common/curl-7.20.1/lib/http.h | 162 + .../voclient/common/curl-7.20.1/lib/http_chunks.c | 422 + .../voclient/common/curl-7.20.1/lib/http_chunks.h | 107 + .../voclient/common/curl-7.20.1/lib/http_digest.c | 585 + .../voclient/common/curl-7.20.1/lib/http_digest.h | 57 + .../common/curl-7.20.1/lib/http_negotiate.c | 358 + .../common/curl-7.20.1/lib/http_negotiate.h | 38 + vendor/voclient/common/curl-7.20.1/lib/http_ntlm.c | 1194 + vendor/voclient/common/curl-7.20.1/lib/http_ntlm.h | 149 + vendor/voclient/common/curl-7.20.1/lib/if2ip.c | 160 + vendor/voclient/common/curl-7.20.1/lib/if2ip.h | 65 + vendor/voclient/common/curl-7.20.1/lib/imap.c | 1030 + vendor/voclient/common/curl-7.20.1/lib/imap.h | 55 + vendor/voclient/common/curl-7.20.1/lib/inet_ntop.c | 216 + vendor/voclient/common/curl-7.20.1/lib/inet_ntop.h | 37 + vendor/voclient/common/curl-7.20.1/lib/inet_pton.c | 239 + vendor/voclient/common/curl-7.20.1/lib/inet_pton.h | 36 + vendor/voclient/common/curl-7.20.1/lib/krb4.c | 422 + vendor/voclient/common/curl-7.20.1/lib/krb4.h | 74 + vendor/voclient/common/curl-7.20.1/lib/krb5.c | 325 + vendor/voclient/common/curl-7.20.1/lib/ldap.c | 718 + vendor/voclient/common/curl-7.20.1/lib/libcurl.imp | 51 + .../voclient/common/curl-7.20.1/lib/libcurl.plist | 35 + vendor/voclient/common/curl-7.20.1/lib/libcurl.rc | 63 + vendor/voclient/common/curl-7.20.1/lib/llist.c | 186 + vendor/voclient/common/curl-7.20.1/lib/llist.h | 61 + .../voclient/common/curl-7.20.1/lib/makefile.amiga | 33 + vendor/voclient/common/curl-7.20.1/lib/makefile.dj | 49 + vendor/voclient/common/curl-7.20.1/lib/md5.c | 372 + vendor/voclient/common/curl-7.20.1/lib/memdebug.c | 394 + vendor/voclient/common/curl-7.20.1/lib/memdebug.h | 139 + .../common/curl-7.20.1/lib/mk-ca-bundle.pl | 186 + vendor/voclient/common/curl-7.20.1/lib/mprintf.c | 1247 + .../voclient/common/curl-7.20.1/lib/msvcproj.foot | 11 + .../voclient/common/curl-7.20.1/lib/msvcproj.head | 147 + vendor/voclient/common/curl-7.20.1/lib/multi.c | 2489 + vendor/voclient/common/curl-7.20.1/lib/multiif.h | 55 + vendor/voclient/common/curl-7.20.1/lib/netrc.c | 245 + vendor/voclient/common/curl-7.20.1/lib/netrc.h | 34 + vendor/voclient/common/curl-7.20.1/lib/nonblock.c | 101 + vendor/voclient/common/curl-7.20.1/lib/nonblock.h | 30 + vendor/voclient/common/curl-7.20.1/lib/nss.c | 1425 + vendor/voclient/common/curl-7.20.1/lib/nssg.h | 84 + vendor/voclient/common/curl-7.20.1/lib/nwlib.c | 327 + vendor/voclient/common/curl-7.20.1/lib/nwos.c | 95 + vendor/voclient/common/curl-7.20.1/lib/parsedate.c | 510 + vendor/voclient/common/curl-7.20.1/lib/parsedate.h | 46 + vendor/voclient/common/curl-7.20.1/lib/pingpong.c | 540 + vendor/voclient/common/curl-7.20.1/lib/pingpong.h | 147 + vendor/voclient/common/curl-7.20.1/lib/pop3.c | 1024 + vendor/voclient/common/curl-7.20.1/lib/pop3.h | 62 + vendor/voclient/common/curl-7.20.1/lib/progress.c | 448 + vendor/voclient/common/curl-7.20.1/lib/progress.h | 70 + vendor/voclient/common/curl-7.20.1/lib/qssl.c | 497 + vendor/voclient/common/curl-7.20.1/lib/qssl.h | 75 + vendor/voclient/common/curl-7.20.1/lib/rawstr.c | 142 + vendor/voclient/common/curl-7.20.1/lib/rawstr.h | 44 + vendor/voclient/common/curl-7.20.1/lib/rtsp.c | 757 + vendor/voclient/common/curl-7.20.1/lib/rtsp.h | 82 + vendor/voclient/common/curl-7.20.1/lib/security.c | 546 + vendor/voclient/common/curl-7.20.1/lib/select.c | 506 + vendor/voclient/common/curl-7.20.1/lib/select.h | 97 + vendor/voclient/common/curl-7.20.1/lib/sendf.c | 707 + vendor/voclient/common/curl-7.20.1/lib/sendf.h | 85 + .../voclient/common/curl-7.20.1/lib/setup-os400.h | 140 + vendor/voclient/common/curl-7.20.1/lib/setup.h | 551 + .../voclient/common/curl-7.20.1/lib/setup_once.h | 450 + vendor/voclient/common/curl-7.20.1/lib/share.c | 218 + vendor/voclient/common/curl-7.20.1/lib/share.h | 55 + vendor/voclient/common/curl-7.20.1/lib/slist.c | 135 + vendor/voclient/common/curl-7.20.1/lib/slist.h | 32 + vendor/voclient/common/curl-7.20.1/lib/smtp.c | 1105 + vendor/voclient/common/curl-7.20.1/lib/smtp.h | 69 + vendor/voclient/common/curl-7.20.1/lib/sockaddr.h | 37 + vendor/voclient/common/curl-7.20.1/lib/socks.c | 726 + vendor/voclient/common/curl-7.20.1/lib/socks.h | 69 + .../voclient/common/curl-7.20.1/lib/socks_gssapi.c | 548 + .../voclient/common/curl-7.20.1/lib/socks_sspi.c | 696 + .../voclient/common/curl-7.20.1/lib/speedcheck.c | 74 + .../voclient/common/curl-7.20.1/lib/speedcheck.h | 33 + vendor/voclient/common/curl-7.20.1/lib/splay.c | 438 + vendor/voclient/common/curl-7.20.1/lib/splay.h | 65 + vendor/voclient/common/curl-7.20.1/lib/ssh.c | 3033 + vendor/voclient/common/curl-7.20.1/lib/ssh.h | 187 + vendor/voclient/common/curl-7.20.1/lib/sslgen.c | 489 + vendor/voclient/common/curl-7.20.1/lib/sslgen.h | 114 + vendor/voclient/common/curl-7.20.1/lib/ssluse.c | 2639 + vendor/voclient/common/curl-7.20.1/lib/ssluse.h | 100 + vendor/voclient/common/curl-7.20.1/lib/strdup.c | 49 + vendor/voclient/common/curl-7.20.1/lib/strdup.h | 30 + vendor/voclient/common/curl-7.20.1/lib/strequal.c | 121 + vendor/voclient/common/curl-7.20.1/lib/strequal.h | 35 + vendor/voclient/common/curl-7.20.1/lib/strerror.c | 769 + vendor/voclient/common/curl-7.20.1/lib/strerror.h | 33 + vendor/voclient/common/curl-7.20.1/lib/strtok.c | 67 + vendor/voclient/common/curl-7.20.1/lib/strtok.h | 34 + vendor/voclient/common/curl-7.20.1/lib/strtoofft.c | 191 + vendor/voclient/common/curl-7.20.1/lib/strtoofft.h | 63 + vendor/voclient/common/curl-7.20.1/lib/telnet.c | 1519 + vendor/voclient/common/curl-7.20.1/lib/telnet.h | 28 + vendor/voclient/common/curl-7.20.1/lib/tftp.c | 1493 + vendor/voclient/common/curl-7.20.1/lib/tftp.h | 28 + vendor/voclient/common/curl-7.20.1/lib/timeval.c | 131 + vendor/voclient/common/curl-7.20.1/lib/timeval.h | 57 + vendor/voclient/common/curl-7.20.1/lib/transfer.c | 2250 + vendor/voclient/common/curl-7.20.1/lib/transfer.h | 67 + vendor/voclient/common/curl-7.20.1/lib/url.c | 5322 + vendor/voclient/common/curl-7.20.1/lib/url.h | 89 + vendor/voclient/common/curl-7.20.1/lib/urldata.h | 1427 + .../voclient/common/curl-7.20.1/lib/vc6libcurl.dsw | 29 + vendor/voclient/common/curl-7.20.1/lib/version.c | 292 + vendor/voclient/common/curl-7.20.1/lib/warnless.c | 127 + vendor/voclient/common/curl-7.20.1/lib/warnless.h | 31 + vendor/voclient/common/curl-7.20.1/libcurl.pc | 39 + vendor/voclient/common/curl-7.20.1/libcurl.pc.in | 39 + vendor/voclient/common/curl-7.20.1/libtool | 8903 + vendor/voclient/common/curl-7.20.1/ltmain.sh | 8413 + .../common/curl-7.20.1/m4/curl-compilers.m4 | 1421 + .../common/curl-7.20.1/m4/curl-confopts.m4 | 440 + .../common/curl-7.20.1/m4/curl-functions.m4 | 5905 + .../common/curl-7.20.1/m4/curl-override.m4 | 101 + .../common/curl-7.20.1/m4/curl-reentrant.m4 | 617 + .../voclient/common/curl-7.20.1/m4/curl-system.m4 | 88 + vendor/voclient/common/curl-7.20.1/m4/libtool.m4 | 7377 + vendor/voclient/common/curl-7.20.1/m4/ltoptions.m4 | 368 + vendor/voclient/common/curl-7.20.1/m4/ltsugar.m4 | 123 + vendor/voclient/common/curl-7.20.1/m4/ltversion.m4 | 23 + .../voclient/common/curl-7.20.1/m4/lt~obsolete.m4 | 92 + vendor/voclient/common/curl-7.20.1/maketgz | 183 + vendor/voclient/common/curl-7.20.1/missing | 283 + vendor/voclient/common/curl-7.20.1/mkinstalldirs | 39 + .../common/curl-7.20.1/packages/AIX/Makefile.am | 3 + .../common/curl-7.20.1/packages/AIX/Makefile.in | 553 + .../curl-7.20.1/packages/AIX/RPM/Makefile.am | 2 + .../curl-7.20.1/packages/AIX/RPM/Makefile.in | 398 + .../common/curl-7.20.1/packages/AIX/RPM/README | 33 + .../curl-7.20.1/packages/AIX/RPM/curl.spec.in | 132 + .../common/curl-7.20.1/packages/DOS/README | 11 + .../common/curl-7.20.1/packages/DOS/common.dj | 136 + .../common/curl-7.20.1/packages/EPM/Makefile.am | 3 + .../common/curl-7.20.1/packages/EPM/Makefile.in | 399 + .../common/curl-7.20.1/packages/EPM/README | 12 + .../common/curl-7.20.1/packages/EPM/curl.list.in | 59 + .../common/curl-7.20.1/packages/Linux/Makefile.am | 1 + .../common/curl-7.20.1/packages/Linux/Makefile.in | 552 + .../curl-7.20.1/packages/Linux/RPM/Makefile.am | 2 + .../curl-7.20.1/packages/Linux/RPM/Makefile.in | 400 + .../common/curl-7.20.1/packages/Linux/RPM/README | 5 + .../packages/Linux/RPM/curl-ssl.spec.in | 84 + .../curl-7.20.1/packages/Linux/RPM/curl.spec.in | 84 + .../curl-7.20.1/packages/Linux/RPM/make_curl_rpm | 62 + .../common/curl-7.20.1/packages/Makefile.am | 32 + .../common/curl-7.20.1/packages/Makefile.in | 583 + .../curl-7.20.1/packages/NetWare/get_ver.awk | 75 + .../common/curl-7.20.1/packages/OS400/README.OS400 | 262 + .../common/curl-7.20.1/packages/OS400/ccsidcurl.c | 1186 + .../common/curl-7.20.1/packages/OS400/ccsidcurl.h | 64 + .../common/curl-7.20.1/packages/OS400/curl.inc.in | 1831 + .../curl-7.20.1/packages/OS400/initscript.sh | 176 + .../curl-7.20.1/packages/OS400/make-include.sh | 72 + .../common/curl-7.20.1/packages/OS400/make-lib.sh | 192 + .../common/curl-7.20.1/packages/OS400/make-src.sh | 4 + .../curl-7.20.1/packages/OS400/make-tests.sh | 101 + .../common/curl-7.20.1/packages/OS400/makefile.sh | 52 + .../common/curl-7.20.1/packages/OS400/os400sys.c | 1080 + .../common/curl-7.20.1/packages/OS400/os400sys.h | 52 + vendor/voclient/common/curl-7.20.1/packages/README | 27 + .../curl-7.20.1/packages/Solaris/Makefile.am | 38 + .../curl-7.20.1/packages/Solaris/Makefile.in | 428 + .../packages/Symbian/bwins/libcurlu.def | 60 + .../curl-7.20.1/packages/Symbian/eabi/libcurlu.def | 60 + .../curl-7.20.1/packages/Symbian/group/bld.inf | 10 + .../curl-7.20.1/packages/Symbian/group/curl.iby | 15 + .../curl-7.20.1/packages/Symbian/group/curl.mmp | 28 + .../curl-7.20.1/packages/Symbian/group/curl.pkg | 26 + .../curl-7.20.1/packages/Symbian/group/libcurl.iby | 14 + .../curl-7.20.1/packages/Symbian/group/libcurl.mmp | 57 + .../curl-7.20.1/packages/Symbian/group/libcurl.pkg | 22 + .../common/curl-7.20.1/packages/Symbian/readme.txt | 93 + .../common/curl-7.20.1/packages/TPF/curl.mak | 138 + .../curl-7.20.1/packages/TPF/maketpf.env_curl | 25 + .../curl-7.20.1/packages/TPF/maketpf.env_curllib | 57 + .../common/curl-7.20.1/packages/Win32/Makefile.am | 3 + .../common/curl-7.20.1/packages/Win32/Makefile.in | 553 + .../common/curl-7.20.1/packages/Win32/README | 53 + .../curl-7.20.1/packages/Win32/cygwin/Makefile.am | 62 + .../curl-7.20.1/packages/Win32/cygwin/Makefile.in | 456 + .../curl-7.20.1/packages/Win32/cygwin/README | 114 + .../common/curl-7.20.1/packages/vms/Makefile.am | 17 + .../common/curl-7.20.1/packages/vms/Makefile.in | 412 + .../common/curl-7.20.1/packages/vms/build_vms.com | 583 + .../common/curl-7.20.1/packages/vms/config-vms.h | 371 + .../common/curl-7.20.1/packages/vms/curlmsg.h | 119 + .../common/curl-7.20.1/packages/vms/curlmsg.msg | 111 + .../common/curl-7.20.1/packages/vms/curlmsg.sdl | 115 + .../common/curl-7.20.1/packages/vms/curlmsg_vms.h | 120 + .../curl-7.20.1/packages/vms/hpssl_alpha.opt | 2 + .../common/curl-7.20.1/packages/vms/hpssl_ia64.opt | 2 + .../common/curl-7.20.1/packages/vms/hpssl_vax.opt | 2 + .../common/curl-7.20.1/packages/vms/ldap.opt | 1 + .../curl-7.20.1/packages/vms/openssl_alpha.opt | 2 + .../curl-7.20.1/packages/vms/openssl_ia64.opt | 2 + .../curl-7.20.1/packages/vms/openssl_ssl_alpha.opt | 2 + .../curl-7.20.1/packages/vms/openssl_ssl_ia64.opt | 2 + .../curl-7.20.1/packages/vms/openssl_ssl_vax.opt | 2 + .../curl-7.20.1/packages/vms/openssl_vax.opt | 2 + .../common/curl-7.20.1/packages/vms/readme | 70 + vendor/voclient/common/curl-7.20.1/sample.emacs | 45 + .../voclient/common/curl-7.20.1/src/CMakeLists.txt | 56 + .../common/curl-7.20.1/src/Makefile.Watcom | 129 + vendor/voclient/common/curl-7.20.1/src/Makefile.am | 94 + .../voclient/common/curl-7.20.1/src/Makefile.b32 | 89 + vendor/voclient/common/curl-7.20.1/src/Makefile.in | 724 + .../voclient/common/curl-7.20.1/src/Makefile.inc | 19 + .../voclient/common/curl-7.20.1/src/Makefile.m32 | 165 + .../common/curl-7.20.1/src/Makefile.netware | 565 + .../common/curl-7.20.1/src/Makefile.riscos | 64 + .../voclient/common/curl-7.20.1/src/Makefile.vc6 | 300 + .../voclient/common/curl-7.20.1/src/Makefile.vc8 | 300 + .../voclient/common/curl-7.20.1/src/Makefile.vc9 | 300 + .../common/curl-7.20.1/src/config-amigaos.h | 69 + .../voclient/common/curl-7.20.1/src/config-mac.h | 35 + .../common/curl-7.20.1/src/config-riscos.h | 379 + .../voclient/common/curl-7.20.1/src/config-win32.h | 412 + vendor/voclient/common/curl-7.20.1/src/curl.rc | 63 + .../common/curl-7.20.1/src/curl_config.h.in | 973 + vendor/voclient/common/curl-7.20.1/src/curlutil.c | 134 + vendor/voclient/common/curl-7.20.1/src/curlutil.h | 49 + vendor/voclient/common/curl-7.20.1/src/getpass.c | 267 + vendor/voclient/common/curl-7.20.1/src/getpass.h | 34 + vendor/voclient/common/curl-7.20.1/src/homedir.c | 120 + vendor/voclient/common/curl-7.20.1/src/homedir.h | 27 + vendor/voclient/common/curl-7.20.1/src/hugehelp.h | 26 + .../common/curl-7.20.1/src/macos/MACINSTALL.TXT | 1 + .../curl-7.20.1/src/macos/curl.mcp.xml.sit.hqx | 1 + .../curl-7.20.1/src/macos/src/curl_GUSIConfig.cpp | 1 + .../curl-7.20.1/src/macos/src/macos_main.cpp | 1 + vendor/voclient/common/curl-7.20.1/src/main.c | 5830 + .../voclient/common/curl-7.20.1/src/makefile.amiga | 29 + vendor/voclient/common/curl-7.20.1/src/makefile.dj | 84 + vendor/voclient/common/curl-7.20.1/src/mkhelp.pl | 232 + .../voclient/common/curl-7.20.1/src/os-specific.c | 221 + .../voclient/common/curl-7.20.1/src/os-specific.h | 38 + vendor/voclient/common/curl-7.20.1/src/setup.h | 218 + vendor/voclient/common/curl-7.20.1/src/urlglob.c | 567 + vendor/voclient/common/curl-7.20.1/src/urlglob.h | 67 + .../voclient/common/curl-7.20.1/src/vc6curlsrc.dsp | 258 + .../voclient/common/curl-7.20.1/src/vc6curlsrc.dsw | 29 + vendor/voclient/common/curl-7.20.1/src/version.h | 35 + vendor/voclient/common/curl-7.20.1/src/writeenv.c | 120 + vendor/voclient/common/curl-7.20.1/src/writeenv.h | 27 + vendor/voclient/common/curl-7.20.1/src/writeout.c | 295 + vendor/voclient/common/curl-7.20.1/src/writeout.h | 27 + .../common/curl-7.20.1/tests/CMakeLists.txt | 2 + .../voclient/common/curl-7.20.1/tests/FILEFORMAT | 344 + .../voclient/common/curl-7.20.1/tests/Makefile.am | 75 + .../voclient/common/curl-7.20.1/tests/Makefile.in | 621 + vendor/voclient/common/curl-7.20.1/tests/README | 160 + .../curl-7.20.1/tests/certs/EdelCurlRoot-ca.cacert | 85 + .../curl-7.20.1/tests/certs/EdelCurlRoot-ca.crt | 85 + .../curl-7.20.1/tests/certs/EdelCurlRoot-ca.csr | 17 + .../curl-7.20.1/tests/certs/EdelCurlRoot-ca.der | Bin 0 -> 916 bytes .../curl-7.20.1/tests/certs/EdelCurlRoot-ca.key | 30 + .../curl-7.20.1/tests/certs/EdelCurlRoot-ca.prm | 18 + .../tests/certs/Server-localhost-sv.crt | 81 + .../tests/certs/Server-localhost-sv.csr | 11 + .../tests/certs/Server-localhost-sv.der | Bin 0 -> 837 bytes .../tests/certs/Server-localhost-sv.dhp | 5 + .../tests/certs/Server-localhost-sv.key | 15 + .../tests/certs/Server-localhost-sv.p12 | Bin 0 -> 2958 bytes .../tests/certs/Server-localhost-sv.pem | 126 + .../tests/certs/Server-localhost-sv.prm | 25 + .../tests/certs/Server-localhost.nn-sv.crt | 81 + .../tests/certs/Server-localhost.nn-sv.csr | 11 + .../tests/certs/Server-localhost.nn-sv.der | Bin 0 -> 843 bytes .../tests/certs/Server-localhost.nn-sv.dhp | 5 + .../tests/certs/Server-localhost.nn-sv.key | 15 + .../tests/certs/Server-localhost.nn-sv.pem | 126 + .../tests/certs/Server-localhost.nn-sv.prm | 25 + .../tests/certs/Server-localhost0h-sv.crt | 81 + .../tests/certs/Server-localhost0h-sv.csr | 11 + .../tests/certs/Server-localhost0h-sv.der | Bin 0 -> 839 bytes .../tests/certs/Server-localhost0h-sv.dhp | 5 + .../tests/certs/Server-localhost0h-sv.key | 15 + .../tests/certs/Server-localhost0h-sv.p12 | Bin 0 -> 2970 bytes .../tests/certs/Server-localhost0h-sv.pem | 127 + .../tests/certs/Server-localhost0h-sv.prm | 26 + .../curl-7.20.1/tests/certs/scripts/genroot.sh | 63 + .../curl-7.20.1/tests/certs/scripts/genserv.sh | 106 + .../common/curl-7.20.1/tests/data/DISABLED | 6 + .../common/curl-7.20.1/tests/data/Makefile.am | 89 + .../common/curl-7.20.1/tests/data/Makefile.in | 482 + .../voclient/common/curl-7.20.1/tests/data/test1 | 55 + .../voclient/common/curl-7.20.1/tests/data/test10 | 67 + .../voclient/common/curl-7.20.1/tests/data/test100 | 56 + .../common/curl-7.20.1/tests/data/test1000 | 42 + .../common/curl-7.20.1/tests/data/test1001 | 104 + .../common/curl-7.20.1/tests/data/test1002 | 114 + .../common/curl-7.20.1/tests/data/test1003 | 48 + .../common/curl-7.20.1/tests/data/test1004 | 59 + .../common/curl-7.20.1/tests/data/test1005 | 48 + .../common/curl-7.20.1/tests/data/test1006 | 49 + .../common/curl-7.20.1/tests/data/test1007 | 39 + .../common/curl-7.20.1/tests/data/test1008 | 122 + .../common/curl-7.20.1/tests/data/test1009 | 44 + .../voclient/common/curl-7.20.1/tests/data/test101 | 58 + .../common/curl-7.20.1/tests/data/test1010 | 56 + .../common/curl-7.20.1/tests/data/test1011 | 76 + .../common/curl-7.20.1/tests/data/test1012 | 79 + .../common/curl-7.20.1/tests/data/test1013 | 37 + .../common/curl-7.20.1/tests/data/test1014 | 37 + .../common/curl-7.20.1/tests/data/test1015 | 53 + .../common/curl-7.20.1/tests/data/test1016 | 39 + .../common/curl-7.20.1/tests/data/test1017 | 40 + .../common/curl-7.20.1/tests/data/test1018 | 39 + .../common/curl-7.20.1/tests/data/test1019 | 42 + .../voclient/common/curl-7.20.1/tests/data/test102 | 52 + .../common/curl-7.20.1/tests/data/test1020 | 42 + .../common/curl-7.20.1/tests/data/test1021 | 135 + .../common/curl-7.20.1/tests/data/test1022 | 37 + .../common/curl-7.20.1/tests/data/test1023 | 37 + .../common/curl-7.20.1/tests/data/test1024 | 103 + .../common/curl-7.20.1/tests/data/test1025 | 105 + .../common/curl-7.20.1/tests/data/test1026 | 39 + .../common/curl-7.20.1/tests/data/test1027 | 39 + .../common/curl-7.20.1/tests/data/test1028 | 94 + .../common/curl-7.20.1/tests/data/test1029 | 58 + .../voclient/common/curl-7.20.1/tests/data/test103 | 54 + .../common/curl-7.20.1/tests/data/test1030 | 109 + .../common/curl-7.20.1/tests/data/test1031 | 76 + .../common/curl-7.20.1/tests/data/test1032 | 56 + .../common/curl-7.20.1/tests/data/test1033 | 60 + .../common/curl-7.20.1/tests/data/test1034 | 62 + .../common/curl-7.20.1/tests/data/test1035 | 59 + .../common/curl-7.20.1/tests/data/test1036 | 61 + .../common/curl-7.20.1/tests/data/test1037 | 54 + .../common/curl-7.20.1/tests/data/test1038 | 53 + .../common/curl-7.20.1/tests/data/test1039 | 53 + .../voclient/common/curl-7.20.1/tests/data/test104 | 43 + .../common/curl-7.20.1/tests/data/test1040 | 79 + .../common/curl-7.20.1/tests/data/test1041 | 78 + .../common/curl-7.20.1/tests/data/test1042 | 94 + .../common/curl-7.20.1/tests/data/test1043 | 84 + .../common/curl-7.20.1/tests/data/test1044 | 58 + .../common/curl-7.20.1/tests/data/test1045 | 52 + .../common/curl-7.20.1/tests/data/test1046 | 60 + .../common/curl-7.20.1/tests/data/test1047 | 58 + .../common/curl-7.20.1/tests/data/test1048 | 66 + .../common/curl-7.20.1/tests/data/test1049 | 44 + .../voclient/common/curl-7.20.1/tests/data/test105 | 53 + .../common/curl-7.20.1/tests/data/test1050 | 66 + .../common/curl-7.20.1/tests/data/test1051 | 118 + .../common/curl-7.20.1/tests/data/test1052 | 111 + .../common/curl-7.20.1/tests/data/test1053 | 129 + .../common/curl-7.20.1/tests/data/test1054 | 80 + .../common/curl-7.20.1/tests/data/test1055 | 100 + .../common/curl-7.20.1/tests/data/test1056 | 81 + .../common/curl-7.20.1/tests/data/test1057 | 51 + .../common/curl-7.20.1/tests/data/test1058 | 53 + .../common/curl-7.20.1/tests/data/test1059 | 58 + .../voclient/common/curl-7.20.1/tests/data/test106 | 51 + .../common/curl-7.20.1/tests/data/test1060 | 902 + .../common/curl-7.20.1/tests/data/test1061 | 907 + .../common/curl-7.20.1/tests/data/test1062 | 49 + .../common/curl-7.20.1/tests/data/test1063 | 47 + .../common/curl-7.20.1/tests/data/test1064 | 79 + .../common/curl-7.20.1/tests/data/test1065 | 78 + .../common/curl-7.20.1/tests/data/test1066 | 82 + .../common/curl-7.20.1/tests/data/test1067 | 78 + .../common/curl-7.20.1/tests/data/test1068 | 57 + .../common/curl-7.20.1/tests/data/test1069 | 36 + .../voclient/common/curl-7.20.1/tests/data/test107 | 51 + .../common/curl-7.20.1/tests/data/test1070 | 65 + .../common/curl-7.20.1/tests/data/test1071 | 113 + .../common/curl-7.20.1/tests/data/test1072 | 78 + .../common/curl-7.20.1/tests/data/test1073 | 72 + .../common/curl-7.20.1/tests/data/test1074 | 76 + .../common/curl-7.20.1/tests/data/test1075 | 94 + .../common/curl-7.20.1/tests/data/test1076 | 79 + .../common/curl-7.20.1/tests/data/test1077 | 75 + .../common/curl-7.20.1/tests/data/test1078 | 86 + .../common/curl-7.20.1/tests/data/test1079 | 75 + .../voclient/common/curl-7.20.1/tests/data/test108 | 56 + .../common/curl-7.20.1/tests/data/test1080 | 69 + .../common/curl-7.20.1/tests/data/test1081 | 77 + .../common/curl-7.20.1/tests/data/test1082 | 55 + .../common/curl-7.20.1/tests/data/test1083 | 59 + .../common/curl-7.20.1/tests/data/test1084 | 41 + .../common/curl-7.20.1/tests/data/test1085 | 48 + .../common/curl-7.20.1/tests/data/test1086 | 109 + .../common/curl-7.20.1/tests/data/test1087 | 110 + .../common/curl-7.20.1/tests/data/test1088 | 112 + .../common/curl-7.20.1/tests/data/test1089 | 91 + .../voclient/common/curl-7.20.1/tests/data/test109 | 48 + .../common/curl-7.20.1/tests/data/test1090 | 98 + .../common/curl-7.20.1/tests/data/test1091 | 46 + .../common/curl-7.20.1/tests/data/test1092 | 56 + .../common/curl-7.20.1/tests/data/test1093 | 44 + .../common/curl-7.20.1/tests/data/test1094 | 50 + .../common/curl-7.20.1/tests/data/test1095 | 83 + .../common/curl-7.20.1/tests/data/test1096 | 50 + .../common/curl-7.20.1/tests/data/test1097 | 79 + .../common/curl-7.20.1/tests/data/test1098 | 73 + .../common/curl-7.20.1/tests/data/test1099 | 45 + .../voclient/common/curl-7.20.1/tests/data/test11 | 76 + .../voclient/common/curl-7.20.1/tests/data/test110 | 52 + .../common/curl-7.20.1/tests/data/test1100 | 112 + .../common/curl-7.20.1/tests/data/test1101 | 54 + .../common/curl-7.20.1/tests/data/test1102 | 51 + .../common/curl-7.20.1/tests/data/test1103 | 48 + .../common/curl-7.20.1/tests/data/test1104 | 85 + .../common/curl-7.20.1/tests/data/test1105 | 63 + .../common/curl-7.20.1/tests/data/test1106 | 57 + .../common/curl-7.20.1/tests/data/test1107 | 53 + .../common/curl-7.20.1/tests/data/test1108 | 45 + .../common/curl-7.20.1/tests/data/test1109 | 46 + .../voclient/common/curl-7.20.1/tests/data/test111 | 45 + .../common/curl-7.20.1/tests/data/test1110 | 47 + .../common/curl-7.20.1/tests/data/test1111 | 47 + .../common/curl-7.20.1/tests/data/test1112 | 114 + .../voclient/common/curl-7.20.1/tests/data/test112 | 49 + .../voclient/common/curl-7.20.1/tests/data/test113 | 37 + .../voclient/common/curl-7.20.1/tests/data/test114 | 38 + .../voclient/common/curl-7.20.1/tests/data/test115 | 44 + .../voclient/common/curl-7.20.1/tests/data/test116 | 52 + .../voclient/common/curl-7.20.1/tests/data/test117 | 44 + .../voclient/common/curl-7.20.1/tests/data/test118 | 48 + .../voclient/common/curl-7.20.1/tests/data/test119 | 50 + .../voclient/common/curl-7.20.1/tests/data/test12 | 56 + .../voclient/common/curl-7.20.1/tests/data/test120 | 53 + .../voclient/common/curl-7.20.1/tests/data/test121 | 51 + .../voclient/common/curl-7.20.1/tests/data/test122 | 45 + .../voclient/common/curl-7.20.1/tests/data/test123 | 40 + .../voclient/common/curl-7.20.1/tests/data/test124 | 47 + .../voclient/common/curl-7.20.1/tests/data/test125 | 41 + .../voclient/common/curl-7.20.1/tests/data/test126 | 48 + .../voclient/common/curl-7.20.1/tests/data/test127 | 46 + .../voclient/common/curl-7.20.1/tests/data/test128 | 57 + .../voclient/common/curl-7.20.1/tests/data/test129 | 52 + .../voclient/common/curl-7.20.1/tests/data/test13 | 44 + .../voclient/common/curl-7.20.1/tests/data/test130 | 65 + .../voclient/common/curl-7.20.1/tests/data/test131 | 66 + .../voclient/common/curl-7.20.1/tests/data/test132 | 65 + .../voclient/common/curl-7.20.1/tests/data/test133 | 65 + .../voclient/common/curl-7.20.1/tests/data/test134 | 65 + .../voclient/common/curl-7.20.1/tests/data/test135 | 53 + .../voclient/common/curl-7.20.1/tests/data/test136 | 42 + .../voclient/common/curl-7.20.1/tests/data/test137 | 47 + .../voclient/common/curl-7.20.1/tests/data/test138 | 49 + .../voclient/common/curl-7.20.1/tests/data/test139 | 47 + .../voclient/common/curl-7.20.1/tests/data/test14 | 44 + .../voclient/common/curl-7.20.1/tests/data/test140 | 42 + .../voclient/common/curl-7.20.1/tests/data/test141 | 52 + .../voclient/common/curl-7.20.1/tests/data/test142 | 190 + .../voclient/common/curl-7.20.1/tests/data/test143 | 44 + .../voclient/common/curl-7.20.1/tests/data/test144 | 49 + .../voclient/common/curl-7.20.1/tests/data/test145 | 51 + .../voclient/common/curl-7.20.1/tests/data/test146 | 55 + .../voclient/common/curl-7.20.1/tests/data/test147 | 49 + .../voclient/common/curl-7.20.1/tests/data/test148 | 42 + .../voclient/common/curl-7.20.1/tests/data/test149 | 47 + .../voclient/common/curl-7.20.1/tests/data/test15 | 57 + .../voclient/common/curl-7.20.1/tests/data/test150 | 90 + .../voclient/common/curl-7.20.1/tests/data/test151 | 41 + .../voclient/common/curl-7.20.1/tests/data/test152 | 44 + .../voclient/common/curl-7.20.1/tests/data/test153 | 133 + .../voclient/common/curl-7.20.1/tests/data/test154 | 108 + .../voclient/common/curl-7.20.1/tests/data/test155 | 127 + .../voclient/common/curl-7.20.1/tests/data/test156 | 52 + .../voclient/common/curl-7.20.1/tests/data/test157 | 39 + .../voclient/common/curl-7.20.1/tests/data/test158 | 50 + .../voclient/common/curl-7.20.1/tests/data/test159 | 89 + .../voclient/common/curl-7.20.1/tests/data/test16 | 52 + .../voclient/common/curl-7.20.1/tests/data/test160 | 66 + .../voclient/common/curl-7.20.1/tests/data/test161 | 41 + .../voclient/common/curl-7.20.1/tests/data/test162 | 60 + .../voclient/common/curl-7.20.1/tests/data/test163 | 73 + .../voclient/common/curl-7.20.1/tests/data/test164 | 61 + .../voclient/common/curl-7.20.1/tests/data/test165 | 58 + .../voclient/common/curl-7.20.1/tests/data/test166 | 54 + .../voclient/common/curl-7.20.1/tests/data/test167 | 79 + .../voclient/common/curl-7.20.1/tests/data/test168 | 99 + .../voclient/common/curl-7.20.1/tests/data/test169 | 123 + .../voclient/common/curl-7.20.1/tests/data/test17 | 54 + .../voclient/common/curl-7.20.1/tests/data/test170 | 51 + .../voclient/common/curl-7.20.1/tests/data/test171 | 58 + .../voclient/common/curl-7.20.1/tests/data/test172 | 56 + .../voclient/common/curl-7.20.1/tests/data/test173 | 73 + .../voclient/common/curl-7.20.1/tests/data/test174 | 45 + .../voclient/common/curl-7.20.1/tests/data/test175 | 86 + .../voclient/common/curl-7.20.1/tests/data/test176 | 79 + .../voclient/common/curl-7.20.1/tests/data/test177 | 54 + .../voclient/common/curl-7.20.1/tests/data/test178 | 43 + .../voclient/common/curl-7.20.1/tests/data/test179 | 57 + .../voclient/common/curl-7.20.1/tests/data/test18 | 90 + .../voclient/common/curl-7.20.1/tests/data/test180 | 59 + .../voclient/common/curl-7.20.1/tests/data/test181 | 60 + .../voclient/common/curl-7.20.1/tests/data/test182 | 37 + .../voclient/common/curl-7.20.1/tests/data/test183 | 56 + .../voclient/common/curl-7.20.1/tests/data/test184 | 75 + .../voclient/common/curl-7.20.1/tests/data/test185 | 75 + .../voclient/common/curl-7.20.1/tests/data/test186 | 56 + .../voclient/common/curl-7.20.1/tests/data/test187 | 77 + .../voclient/common/curl-7.20.1/tests/data/test188 | 78 + .../voclient/common/curl-7.20.1/tests/data/test189 | 69 + .../voclient/common/curl-7.20.1/tests/data/test19 | 37 + .../voclient/common/curl-7.20.1/tests/data/test190 | 38 + .../voclient/common/curl-7.20.1/tests/data/test191 | 35 + .../voclient/common/curl-7.20.1/tests/data/test192 | 52 + .../voclient/common/curl-7.20.1/tests/data/test193 | 82 + .../voclient/common/curl-7.20.1/tests/data/test194 | 56 + .../voclient/common/curl-7.20.1/tests/data/test195 | 32 + .../voclient/common/curl-7.20.1/tests/data/test196 | 35 + .../voclient/common/curl-7.20.1/tests/data/test197 | 69 + .../voclient/common/curl-7.20.1/tests/data/test198 | 64 + .../voclient/common/curl-7.20.1/tests/data/test199 | 52 + .../voclient/common/curl-7.20.1/tests/data/test2 | 53 + .../voclient/common/curl-7.20.1/tests/data/test20 | 38 + .../voclient/common/curl-7.20.1/tests/data/test200 | 41 + .../common/curl-7.20.1/tests/data/test2000 | 73 + .../common/curl-7.20.1/tests/data/test2001 | 109 + .../common/curl-7.20.1/tests/data/test2002 | 125 + .../common/curl-7.20.1/tests/data/test2003 | 162 + .../common/curl-7.20.1/tests/data/test2004 | 72 + .../voclient/common/curl-7.20.1/tests/data/test201 | 27 + .../voclient/common/curl-7.20.1/tests/data/test202 | 31 + .../voclient/common/curl-7.20.1/tests/data/test203 | 36 + .../voclient/common/curl-7.20.1/tests/data/test204 | 34 + .../voclient/common/curl-7.20.1/tests/data/test205 | 31 + .../voclient/common/curl-7.20.1/tests/data/test206 | 100 + .../voclient/common/curl-7.20.1/tests/data/test207 | 58 + .../voclient/common/curl-7.20.1/tests/data/test208 | 75 + .../voclient/common/curl-7.20.1/tests/data/test209 | 115 + .../voclient/common/curl-7.20.1/tests/data/test21 | 33 + .../voclient/common/curl-7.20.1/tests/data/test210 | 46 + .../voclient/common/curl-7.20.1/tests/data/test211 | 48 + .../voclient/common/curl-7.20.1/tests/data/test212 | 57 + .../voclient/common/curl-7.20.1/tests/data/test213 | 118 + .../voclient/common/curl-7.20.1/tests/data/test214 | 44 + .../voclient/common/curl-7.20.1/tests/data/test215 | 52 + .../voclient/common/curl-7.20.1/tests/data/test216 | 39 + .../voclient/common/curl-7.20.1/tests/data/test217 | 60 + .../voclient/common/curl-7.20.1/tests/data/test218 | 52 + .../voclient/common/curl-7.20.1/tests/data/test22 | 46 + .../voclient/common/curl-7.20.1/tests/data/test220 | 68 + .../voclient/common/curl-7.20.1/tests/data/test221 | 71 + .../voclient/common/curl-7.20.1/tests/data/test222 | 199 + .../voclient/common/curl-7.20.1/tests/data/test223 | 92 + .../voclient/common/curl-7.20.1/tests/data/test224 | 104 + .../voclient/common/curl-7.20.1/tests/data/test225 | 28 + .../voclient/common/curl-7.20.1/tests/data/test226 | 29 + .../voclient/common/curl-7.20.1/tests/data/test227 | 58 + .../voclient/common/curl-7.20.1/tests/data/test228 | 52 + .../voclient/common/curl-7.20.1/tests/data/test229 | 41 + .../voclient/common/curl-7.20.1/tests/data/test23 | 33 + .../voclient/common/curl-7.20.1/tests/data/test231 | 32 + .../voclient/common/curl-7.20.1/tests/data/test233 | 94 + .../voclient/common/curl-7.20.1/tests/data/test234 | 97 + .../voclient/common/curl-7.20.1/tests/data/test235 | 42 + .../voclient/common/curl-7.20.1/tests/data/test236 | 47 + .../voclient/common/curl-7.20.1/tests/data/test237 | 42 + .../voclient/common/curl-7.20.1/tests/data/test238 | 41 + .../voclient/common/curl-7.20.1/tests/data/test239 | 96 + .../voclient/common/curl-7.20.1/tests/data/test24 | 47 + .../voclient/common/curl-7.20.1/tests/data/test240 | 58 + .../voclient/common/curl-7.20.1/tests/data/test241 | 56 + .../voclient/common/curl-7.20.1/tests/data/test242 | 54 + .../voclient/common/curl-7.20.1/tests/data/test243 | 125 + .../voclient/common/curl-7.20.1/tests/data/test245 | 87 + .../voclient/common/curl-7.20.1/tests/data/test246 | 97 + .../voclient/common/curl-7.20.1/tests/data/test247 | 41 + .../voclient/common/curl-7.20.1/tests/data/test248 | 50 + .../voclient/common/curl-7.20.1/tests/data/test249 | 47 + .../voclient/common/curl-7.20.1/tests/data/test25 | 116 + .../voclient/common/curl-7.20.1/tests/data/test250 | 52 + .../voclient/common/curl-7.20.1/tests/data/test251 | 54 + .../voclient/common/curl-7.20.1/tests/data/test252 | 59 + .../voclient/common/curl-7.20.1/tests/data/test253 | 62 + .../voclient/common/curl-7.20.1/tests/data/test254 | 60 + .../voclient/common/curl-7.20.1/tests/data/test255 | 63 + .../voclient/common/curl-7.20.1/tests/data/test256 | 64 + .../voclient/common/curl-7.20.1/tests/data/test257 | 115 + .../voclient/common/curl-7.20.1/tests/data/test258 | 134 + .../voclient/common/curl-7.20.1/tests/data/test259 | 132 + .../voclient/common/curl-7.20.1/tests/data/test26 | 45 + .../voclient/common/curl-7.20.1/tests/data/test260 | 55 + .../voclient/common/curl-7.20.1/tests/data/test261 | 48 + .../voclient/common/curl-7.20.1/tests/data/test262 | Bin 0 -> 1137 bytes .../voclient/common/curl-7.20.1/tests/data/test263 | 54 + .../voclient/common/curl-7.20.1/tests/data/test264 | 49 + .../voclient/common/curl-7.20.1/tests/data/test265 | 121 + .../voclient/common/curl-7.20.1/tests/data/test266 | 78 + .../voclient/common/curl-7.20.1/tests/data/test267 | 105 + .../voclient/common/curl-7.20.1/tests/data/test268 | 57 + .../voclient/common/curl-7.20.1/tests/data/test269 | 53 + .../voclient/common/curl-7.20.1/tests/data/test27 | 56 + .../voclient/common/curl-7.20.1/tests/data/test270 | 50 + .../voclient/common/curl-7.20.1/tests/data/test271 | 43 + .../voclient/common/curl-7.20.1/tests/data/test272 | 40 + .../voclient/common/curl-7.20.1/tests/data/test273 | 83 + .../voclient/common/curl-7.20.1/tests/data/test274 | 52 + .../voclient/common/curl-7.20.1/tests/data/test275 | 78 + .../voclient/common/curl-7.20.1/tests/data/test276 | 76 + .../voclient/common/curl-7.20.1/tests/data/test277 | 59 + .../voclient/common/curl-7.20.1/tests/data/test278 | 49 + .../voclient/common/curl-7.20.1/tests/data/test279 | 50 + .../voclient/common/curl-7.20.1/tests/data/test28 | 75 + .../voclient/common/curl-7.20.1/tests/data/test280 | 63 + .../voclient/common/curl-7.20.1/tests/data/test281 | 65 + .../voclient/common/curl-7.20.1/tests/data/test282 | 45 + .../voclient/common/curl-7.20.1/tests/data/test283 | 36 + .../voclient/common/curl-7.20.1/tests/data/test284 | 67 + .../voclient/common/curl-7.20.1/tests/data/test285 | 44 + .../voclient/common/curl-7.20.1/tests/data/test286 | 92 + .../voclient/common/curl-7.20.1/tests/data/test287 | 54 + .../voclient/common/curl-7.20.1/tests/data/test288 | 42 + .../voclient/common/curl-7.20.1/tests/data/test289 | 30 + .../voclient/common/curl-7.20.1/tests/data/test29 | 52 + .../voclient/common/curl-7.20.1/tests/data/test290 | 43 + .../voclient/common/curl-7.20.1/tests/data/test291 | 47 + .../voclient/common/curl-7.20.1/tests/data/test292 | 56 + .../voclient/common/curl-7.20.1/tests/data/test293 | 60 + .../voclient/common/curl-7.20.1/tests/data/test294 | 64 + .../voclient/common/curl-7.20.1/tests/data/test295 | 45 + .../voclient/common/curl-7.20.1/tests/data/test296 | 48 + .../voclient/common/curl-7.20.1/tests/data/test297 | 46 + .../voclient/common/curl-7.20.1/tests/data/test298 | 45 + .../voclient/common/curl-7.20.1/tests/data/test299 | 53 + .../voclient/common/curl-7.20.1/tests/data/test3 | 60 + .../voclient/common/curl-7.20.1/tests/data/test30 | 43 + .../voclient/common/curl-7.20.1/tests/data/test300 | 52 + .../voclient/common/curl-7.20.1/tests/data/test301 | 57 + .../voclient/common/curl-7.20.1/tests/data/test302 | 40 + .../voclient/common/curl-7.20.1/tests/data/test303 | 55 + .../voclient/common/curl-7.20.1/tests/data/test304 | 72 + .../voclient/common/curl-7.20.1/tests/data/test305 | 35 + .../voclient/common/curl-7.20.1/tests/data/test306 | 65 + .../voclient/common/curl-7.20.1/tests/data/test307 | 56 + .../voclient/common/curl-7.20.1/tests/data/test308 | 34 + .../voclient/common/curl-7.20.1/tests/data/test309 | 86 + .../voclient/common/curl-7.20.1/tests/data/test31 | 78 + .../voclient/common/curl-7.20.1/tests/data/test310 | 57 + .../voclient/common/curl-7.20.1/tests/data/test311 | 43 + .../voclient/common/curl-7.20.1/tests/data/test312 | 43 + .../voclient/common/curl-7.20.1/tests/data/test32 | 56 + .../voclient/common/curl-7.20.1/tests/data/test33 | 64 + .../voclient/common/curl-7.20.1/tests/data/test34 | 66 + .../voclient/common/curl-7.20.1/tests/data/test35 | Bin 0 -> 810 bytes .../voclient/common/curl-7.20.1/tests/data/test350 | 57 + .../voclient/common/curl-7.20.1/tests/data/test351 | 56 + .../voclient/common/curl-7.20.1/tests/data/test352 | 57 + .../voclient/common/curl-7.20.1/tests/data/test353 | 56 + .../voclient/common/curl-7.20.1/tests/data/test354 | 50 + .../voclient/common/curl-7.20.1/tests/data/test36 | 66 + .../voclient/common/curl-7.20.1/tests/data/test37 | 47 + .../voclient/common/curl-7.20.1/tests/data/test38 | 61 + .../voclient/common/curl-7.20.1/tests/data/test39 | 91 + .../voclient/common/curl-7.20.1/tests/data/test4 | 51 + .../voclient/common/curl-7.20.1/tests/data/test40 | 74 + .../voclient/common/curl-7.20.1/tests/data/test400 | 61 + .../voclient/common/curl-7.20.1/tests/data/test401 | 56 + .../voclient/common/curl-7.20.1/tests/data/test402 | 35 + .../voclient/common/curl-7.20.1/tests/data/test403 | 64 + .../voclient/common/curl-7.20.1/tests/data/test404 | 31 + .../voclient/common/curl-7.20.1/tests/data/test405 | 34 + .../voclient/common/curl-7.20.1/tests/data/test406 | 66 + .../voclient/common/curl-7.20.1/tests/data/test407 | 59 + .../voclient/common/curl-7.20.1/tests/data/test408 | 61 + .../voclient/common/curl-7.20.1/tests/data/test409 | 56 + .../voclient/common/curl-7.20.1/tests/data/test41 | 32 + .../voclient/common/curl-7.20.1/tests/data/test42 | 74 + .../voclient/common/curl-7.20.1/tests/data/test43 | 79 + .../voclient/common/curl-7.20.1/tests/data/test44 | 72 + .../voclient/common/curl-7.20.1/tests/data/test45 | 76 + .../voclient/common/curl-7.20.1/tests/data/test46 | 89 + .../voclient/common/curl-7.20.1/tests/data/test47 | 49 + .../voclient/common/curl-7.20.1/tests/data/test48 | 47 + .../voclient/common/curl-7.20.1/tests/data/test49 | 74 + .../voclient/common/curl-7.20.1/tests/data/test5 | 50 + .../voclient/common/curl-7.20.1/tests/data/test50 | 74 + .../voclient/common/curl-7.20.1/tests/data/test500 | 58 + .../voclient/common/curl-7.20.1/tests/data/test501 | 40 + .../voclient/common/curl-7.20.1/tests/data/test502 | 47 + .../voclient/common/curl-7.20.1/tests/data/test503 | 76 + .../voclient/common/curl-7.20.1/tests/data/test504 | 33 + .../voclient/common/curl-7.20.1/tests/data/test505 | 60 + .../voclient/common/curl-7.20.1/tests/data/test506 | 181 + .../voclient/common/curl-7.20.1/tests/data/test507 | 37 + .../voclient/common/curl-7.20.1/tests/data/test508 | 51 + .../voclient/common/curl-7.20.1/tests/data/test51 | 74 + .../voclient/common/curl-7.20.1/tests/data/test510 | 57 + .../voclient/common/curl-7.20.1/tests/data/test511 | 44 + .../voclient/common/curl-7.20.1/tests/data/test512 | 46 + .../voclient/common/curl-7.20.1/tests/data/test513 | 41 + .../voclient/common/curl-7.20.1/tests/data/test514 | 50 + .../voclient/common/curl-7.20.1/tests/data/test515 | 48 + .../voclient/common/curl-7.20.1/tests/data/test516 | 47 + .../voclient/common/curl-7.20.1/tests/data/test517 | 116 + .../voclient/common/curl-7.20.1/tests/data/test518 | 60 + .../voclient/common/curl-7.20.1/tests/data/test519 | 71 + .../voclient/common/curl-7.20.1/tests/data/test52 | 74 + .../voclient/common/curl-7.20.1/tests/data/test520 | 47 + .../voclient/common/curl-7.20.1/tests/data/test521 | 60 + .../voclient/common/curl-7.20.1/tests/data/test522 | 60 + .../voclient/common/curl-7.20.1/tests/data/test523 | 64 + .../voclient/common/curl-7.20.1/tests/data/test524 | 46 + .../voclient/common/curl-7.20.1/tests/data/test525 | 59 + .../voclient/common/curl-7.20.1/tests/data/test526 | 63 + .../voclient/common/curl-7.20.1/tests/data/test527 | 63 + .../voclient/common/curl-7.20.1/tests/data/test528 | 65 + .../voclient/common/curl-7.20.1/tests/data/test529 | 59 + .../voclient/common/curl-7.20.1/tests/data/test53 | 54 + .../voclient/common/curl-7.20.1/tests/data/test530 | 83 + .../voclient/common/curl-7.20.1/tests/data/test531 | 59 + .../voclient/common/curl-7.20.1/tests/data/test532 | 63 + .../voclient/common/curl-7.20.1/tests/data/test533 | 55 + .../voclient/common/curl-7.20.1/tests/data/test534 | 53 + .../voclient/common/curl-7.20.1/tests/data/test535 | 69 + .../voclient/common/curl-7.20.1/tests/data/test536 | 65 + .../voclient/common/curl-7.20.1/tests/data/test537 | 57 + .../voclient/common/curl-7.20.1/tests/data/test538 | 46 + .../voclient/common/curl-7.20.1/tests/data/test539 | 63 + .../voclient/common/curl-7.20.1/tests/data/test54 | 45 + .../voclient/common/curl-7.20.1/tests/data/test540 | 96 + .../voclient/common/curl-7.20.1/tests/data/test541 | 51 + .../voclient/common/curl-7.20.1/tests/data/test542 | 57 + .../voclient/common/curl-7.20.1/tests/data/test543 | 35 + .../voclient/common/curl-7.20.1/tests/data/test544 | 49 + .../voclient/common/curl-7.20.1/tests/data/test545 | Bin 0 -> 748 bytes .../voclient/common/curl-7.20.1/tests/data/test546 | 70 + .../voclient/common/curl-7.20.1/tests/data/test547 | 129 + .../voclient/common/curl-7.20.1/tests/data/test548 | 129 + .../voclient/common/curl-7.20.1/tests/data/test549 | 65 + .../voclient/common/curl-7.20.1/tests/data/test55 | 66 + .../voclient/common/curl-7.20.1/tests/data/test550 | 65 + .../voclient/common/curl-7.20.1/tests/data/test551 | 103 + .../voclient/common/curl-7.20.1/tests/data/test552 | Bin 0 -> 143212 bytes .../voclient/common/curl-7.20.1/tests/data/test553 | 67 + .../voclient/common/curl-7.20.1/tests/data/test554 | 68 + .../voclient/common/curl-7.20.1/tests/data/test555 | 136 + .../voclient/common/curl-7.20.1/tests/data/test556 | 50 + .../voclient/common/curl-7.20.1/tests/data/test557 | 39 + .../voclient/common/curl-7.20.1/tests/data/test558 | 44 + .../voclient/common/curl-7.20.1/tests/data/test559 | 44 + .../voclient/common/curl-7.20.1/tests/data/test56 | 61 + .../voclient/common/curl-7.20.1/tests/data/test560 | 56 + .../voclient/common/curl-7.20.1/tests/data/test561 | 66 + .../voclient/common/curl-7.20.1/tests/data/test562 | 53 + .../voclient/common/curl-7.20.1/tests/data/test563 | 57 + .../voclient/common/curl-7.20.1/tests/data/test564 | 66 + .../voclient/common/curl-7.20.1/tests/data/test565 | 105 + .../voclient/common/curl-7.20.1/tests/data/test566 | 57 + .../voclient/common/curl-7.20.1/tests/data/test567 | 50 + .../voclient/common/curl-7.20.1/tests/data/test568 | 117 + .../voclient/common/curl-7.20.1/tests/data/test569 | 110 + .../voclient/common/curl-7.20.1/tests/data/test57 | 48 + .../voclient/common/curl-7.20.1/tests/data/test570 | 77 + .../voclient/common/curl-7.20.1/tests/data/test571 | 108 + .../voclient/common/curl-7.20.1/tests/data/test572 | 121 + .../voclient/common/curl-7.20.1/tests/data/test58 | 51 + .../voclient/common/curl-7.20.1/tests/data/test59 | 47 + .../voclient/common/curl-7.20.1/tests/data/test6 | 49 + .../voclient/common/curl-7.20.1/tests/data/test60 | 57 + .../voclient/common/curl-7.20.1/tests/data/test600 | 42 + .../voclient/common/curl-7.20.1/tests/data/test601 | 42 + .../voclient/common/curl-7.20.1/tests/data/test602 | 43 + .../voclient/common/curl-7.20.1/tests/data/test603 | 43 + .../voclient/common/curl-7.20.1/tests/data/test604 | 33 + .../voclient/common/curl-7.20.1/tests/data/test605 | 33 + .../voclient/common/curl-7.20.1/tests/data/test606 | 33 + .../voclient/common/curl-7.20.1/tests/data/test607 | 33 + .../voclient/common/curl-7.20.1/tests/data/test608 | 49 + .../voclient/common/curl-7.20.1/tests/data/test609 | 45 + .../voclient/common/curl-7.20.1/tests/data/test61 | 71 + .../voclient/common/curl-7.20.1/tests/data/test610 | 47 + .../voclient/common/curl-7.20.1/tests/data/test611 | 47 + .../voclient/common/curl-7.20.1/tests/data/test612 | 47 + .../voclient/common/curl-7.20.1/tests/data/test613 | 48 + .../voclient/common/curl-7.20.1/tests/data/test614 | 49 + .../voclient/common/curl-7.20.1/tests/data/test615 | 44 + .../voclient/common/curl-7.20.1/tests/data/test616 | 39 + .../voclient/common/curl-7.20.1/tests/data/test617 | 39 + .../voclient/common/curl-7.20.1/tests/data/test618 | 39 + .../voclient/common/curl-7.20.1/tests/data/test619 | 39 + .../voclient/common/curl-7.20.1/tests/data/test62 | 60 + .../voclient/common/curl-7.20.1/tests/data/test620 | 38 + .../voclient/common/curl-7.20.1/tests/data/test621 | 38 + .../voclient/common/curl-7.20.1/tests/data/test622 | 43 + .../voclient/common/curl-7.20.1/tests/data/test623 | 41 + .../voclient/common/curl-7.20.1/tests/data/test624 | 47 + .../voclient/common/curl-7.20.1/tests/data/test625 | 47 + .../voclient/common/curl-7.20.1/tests/data/test626 | 42 + .../voclient/common/curl-7.20.1/tests/data/test627 | 46 + .../voclient/common/curl-7.20.1/tests/data/test628 | 33 + .../voclient/common/curl-7.20.1/tests/data/test629 | 33 + .../voclient/common/curl-7.20.1/tests/data/test63 | 52 + .../voclient/common/curl-7.20.1/tests/data/test630 | 34 + .../voclient/common/curl-7.20.1/tests/data/test631 | 34 + .../voclient/common/curl-7.20.1/tests/data/test632 | 34 + .../voclient/common/curl-7.20.1/tests/data/test633 | 42 + .../voclient/common/curl-7.20.1/tests/data/test634 | 43 + .../voclient/common/curl-7.20.1/tests/data/test635 | 42 + .../voclient/common/curl-7.20.1/tests/data/test636 | 43 + .../voclient/common/curl-7.20.1/tests/data/test637 | 44 + .../voclient/common/curl-7.20.1/tests/data/test64 | 83 + .../voclient/common/curl-7.20.1/tests/data/test65 | 83 + .../voclient/common/curl-7.20.1/tests/data/test66 | 41 + .../voclient/common/curl-7.20.1/tests/data/test67 | 96 + .../voclient/common/curl-7.20.1/tests/data/test68 | 95 + .../voclient/common/curl-7.20.1/tests/data/test69 | 117 + .../voclient/common/curl-7.20.1/tests/data/test7 | 62 + .../voclient/common/curl-7.20.1/tests/data/test70 | 87 + .../voclient/common/curl-7.20.1/tests/data/test700 | 57 + .../voclient/common/curl-7.20.1/tests/data/test701 | 57 + .../voclient/common/curl-7.20.1/tests/data/test702 | 39 + .../voclient/common/curl-7.20.1/tests/data/test703 | 39 + .../voclient/common/curl-7.20.1/tests/data/test704 | 36 + .../voclient/common/curl-7.20.1/tests/data/test705 | 36 + .../voclient/common/curl-7.20.1/tests/data/test706 | 59 + .../voclient/common/curl-7.20.1/tests/data/test707 | 59 + .../voclient/common/curl-7.20.1/tests/data/test71 | 79 + .../voclient/common/curl-7.20.1/tests/data/test72 | 86 + .../voclient/common/curl-7.20.1/tests/data/test73 | 55 + .../voclient/common/curl-7.20.1/tests/data/test74 | 74 + .../voclient/common/curl-7.20.1/tests/data/test75 | 50 + .../voclient/common/curl-7.20.1/tests/data/test76 | 39 + .../voclient/common/curl-7.20.1/tests/data/test77 | 55 + .../voclient/common/curl-7.20.1/tests/data/test78 | 67 + .../voclient/common/curl-7.20.1/tests/data/test79 | 55 + .../voclient/common/curl-7.20.1/tests/data/test8 | 63 + .../voclient/common/curl-7.20.1/tests/data/test80 | 76 + .../voclient/common/curl-7.20.1/tests/data/test800 | 47 + .../voclient/common/curl-7.20.1/tests/data/test801 | 47 + .../voclient/common/curl-7.20.1/tests/data/test802 | 53 + .../voclient/common/curl-7.20.1/tests/data/test803 | 64 + .../voclient/common/curl-7.20.1/tests/data/test804 | 59 + .../voclient/common/curl-7.20.1/tests/data/test81 | 97 + .../voclient/common/curl-7.20.1/tests/data/test82 | 56 + .../voclient/common/curl-7.20.1/tests/data/test83 | 72 + .../voclient/common/curl-7.20.1/tests/data/test84 | 54 + .../voclient/common/curl-7.20.1/tests/data/test85 | 58 + .../voclient/common/curl-7.20.1/tests/data/test86 | 96 + .../voclient/common/curl-7.20.1/tests/data/test87 | 36 + .../voclient/common/curl-7.20.1/tests/data/test88 | 101 + .../voclient/common/curl-7.20.1/tests/data/test89 | 141 + .../voclient/common/curl-7.20.1/tests/data/test9 | 73 + .../voclient/common/curl-7.20.1/tests/data/test90 | 187 + .../voclient/common/curl-7.20.1/tests/data/test91 | 118 + .../voclient/common/curl-7.20.1/tests/data/test92 | 54 + .../voclient/common/curl-7.20.1/tests/data/test93 | 50 + .../voclient/common/curl-7.20.1/tests/data/test94 | 58 + .../voclient/common/curl-7.20.1/tests/data/test95 | 74 + .../voclient/common/curl-7.20.1/tests/data/test97 | 52 + .../voclient/common/curl-7.20.1/tests/data/test98 | 55 + .../voclient/common/curl-7.20.1/tests/data/test99 | 69 + vendor/voclient/common/curl-7.20.1/tests/ftp.pm | 254 + .../voclient/common/curl-7.20.1/tests/ftpserver.pl | 1464 + .../voclient/common/curl-7.20.1/tests/getpart.pm | 224 + .../common/curl-7.20.1/tests/httpserver.pl | 113 + .../common/curl-7.20.1/tests/libtest/Makefile.am | 61 + .../common/curl-7.20.1/tests/libtest/Makefile.in | 1569 + .../common/curl-7.20.1/tests/libtest/Makefile.inc | 147 + .../common/curl-7.20.1/tests/libtest/first.c | 95 + .../common/curl-7.20.1/tests/libtest/lib500.c | 53 + .../common/curl-7.20.1/tests/libtest/lib501.c | 43 + .../common/curl-7.20.1/tests/libtest/lib502.c | 94 + .../common/curl-7.20.1/tests/libtest/lib503.c | 152 + .../common/curl-7.20.1/tests/libtest/lib504.c | 161 + .../common/curl-7.20.1/tests/libtest/lib505.c | 152 + .../common/curl-7.20.1/tests/libtest/lib506.c | 268 + .../common/curl-7.20.1/tests/libtest/lib507.c | 141 + .../common/curl-7.20.1/tests/libtest/lib508.c | 95 + .../common/curl-7.20.1/tests/libtest/lib510.c | 118 + .../common/curl-7.20.1/tests/libtest/lib511.c | 43 + .../common/curl-7.20.1/tests/libtest/lib512.c | 65 + .../common/curl-7.20.1/tests/libtest/lib513.c | 70 + .../common/curl-7.20.1/tests/libtest/lib514.c | 66 + .../common/curl-7.20.1/tests/libtest/lib515.c | 47 + .../common/curl-7.20.1/tests/libtest/lib516.c | 46 + .../common/curl-7.20.1/tests/libtest/lib517.c | 114 + .../common/curl-7.20.1/tests/libtest/lib518.c | 509 + .../common/curl-7.20.1/tests/libtest/lib519.c | 50 + .../common/curl-7.20.1/tests/libtest/lib520.c | 42 + .../common/curl-7.20.1/tests/libtest/lib521.c | 44 + .../common/curl-7.20.1/tests/libtest/lib523.c | 45 + .../common/curl-7.20.1/tests/libtest/lib524.c | 43 + .../common/curl-7.20.1/tests/libtest/lib525.c | 207 + .../common/curl-7.20.1/tests/libtest/lib526.c | 236 + .../common/curl-7.20.1/tests/libtest/lib530.c | 211 + .../common/curl-7.20.1/tests/libtest/lib533.c | 166 + .../common/curl-7.20.1/tests/libtest/lib536.c | 132 + .../common/curl-7.20.1/tests/libtest/lib537.c | 512 + .../common/curl-7.20.1/tests/libtest/lib539.c | 80 + .../common/curl-7.20.1/tests/libtest/lib540.c | 178 + .../common/curl-7.20.1/tests/libtest/lib541.c | 119 + .../common/curl-7.20.1/tests/libtest/lib542.c | 73 + .../common/curl-7.20.1/tests/libtest/lib543.c | 42 + .../common/curl-7.20.1/tests/libtest/lib544.c | 66 + .../common/curl-7.20.1/tests/libtest/lib547.c | 116 + .../common/curl-7.20.1/tests/libtest/lib549.c | 52 + .../common/curl-7.20.1/tests/libtest/lib552.c | 205 + .../common/curl-7.20.1/tests/libtest/lib553.c | 100 + .../common/curl-7.20.1/tests/libtest/lib554.c | 150 + .../common/curl-7.20.1/tests/libtest/lib555.c | 157 + .../common/curl-7.20.1/tests/libtest/lib556.c | 91 + .../common/curl-7.20.1/tests/libtest/lib557.c | 1388 + .../common/curl-7.20.1/tests/libtest/lib558.c | 188 + .../common/curl-7.20.1/tests/libtest/lib560.c | 105 + .../common/curl-7.20.1/tests/libtest/lib562.c | 74 + .../common/curl-7.20.1/tests/libtest/lib564.c | 143 + .../common/curl-7.20.1/tests/libtest/lib566.c | 55 + .../common/curl-7.20.1/tests/libtest/lib567.c | 56 + .../common/curl-7.20.1/tests/libtest/lib568.c | 163 + .../common/curl-7.20.1/tests/libtest/lib569.c | 117 + .../common/curl-7.20.1/tests/libtest/lib570.c | 105 + .../common/curl-7.20.1/tests/libtest/lib571.c | 200 + .../common/curl-7.20.1/tests/libtest/lib572.c | 169 + .../common/curl-7.20.1/tests/libtest/test.h | 59 + .../common/curl-7.20.1/tests/libtest/test1013.pl | 49 + .../common/curl-7.20.1/tests/libtest/test1022.pl | 45 + .../common/curl-7.20.1/tests/libtest/test307.pl | 19 + .../common/curl-7.20.1/tests/libtest/test610.pl | 33 + .../common/curl-7.20.1/tests/libtest/test613.pl | 105 + .../common/curl-7.20.1/tests/libtest/test75.pl | 13 + .../common/curl-7.20.1/tests/libtest/testutil.c | 135 + .../common/curl-7.20.1/tests/libtest/testutil.h | 49 + .../common/curl-7.20.1/tests/memanalyze.pl | 356 + .../common/curl-7.20.1/tests/rtspserver.pl | 108 + .../voclient/common/curl-7.20.1/tests/runtests.1 | 107 + .../common/curl-7.20.1/tests/runtests.html | 87 + .../voclient/common/curl-7.20.1/tests/runtests.pdf | Bin 0 -> 7204 bytes .../voclient/common/curl-7.20.1/tests/runtests.pl | 4037 + .../common/curl-7.20.1/tests/secureserver.pl | 298 + .../common/curl-7.20.1/tests/server/Makefile.am | 57 + .../common/curl-7.20.1/tests/server/Makefile.in | 1682 + .../common/curl-7.20.1/tests/server/Makefile.inc | 61 + .../common/curl-7.20.1/tests/server/getpart.c | 422 + .../common/curl-7.20.1/tests/server/getpart.h | 33 + .../common/curl-7.20.1/tests/server/resolve.c | 164 + .../common/curl-7.20.1/tests/server/rtspd.c | 1471 + .../common/curl-7.20.1/tests/server/sockfilt.c | 1053 + .../voclient/common/curl-7.20.1/tests/server/sws.c | 1396 + .../common/curl-7.20.1/tests/server/testpart.c | 54 + .../common/curl-7.20.1/tests/server/tftp.h | 57 + .../common/curl-7.20.1/tests/server/tftpd.c | 1263 + .../common/curl-7.20.1/tests/server/util.c | 283 + .../common/curl-7.20.1/tests/server/util.h | 64 + .../common/curl-7.20.1/tests/serverhelp.pm | 237 + .../voclient/common/curl-7.20.1/tests/sshhelp.pm | 388 + .../voclient/common/curl-7.20.1/tests/sshserver.pl | 1042 + .../voclient/common/curl-7.20.1/tests/stunnel.pem | 142 + .../voclient/common/curl-7.20.1/tests/testcurl.1 | 124 + .../common/curl-7.20.1/tests/testcurl.html | 113 + .../voclient/common/curl-7.20.1/tests/testcurl.pdf | Bin 0 -> 7203 bytes .../voclient/common/curl-7.20.1/tests/testcurl.pl | 732 + .../common/curl-7.20.1/tests/tftpserver.pl | 109 + .../voclient/common/curl-7.20.1/tests/valgrind.pm | 110 + vendor/voclient/common/curl-7.20.1/vc6curl.dsw | 44 + 1236 files changed, 457016 insertions(+) create mode 100644 vendor/voclient/common/curl-7.20.1/Android.mk create mode 100644 vendor/voclient/common/curl-7.20.1/CHANGES create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/CMakeConfigurableFile.in create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/CheckTypeSize.c.in create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/CheckTypeSize.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/CurlCheckCSourceCompiles.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/CurlCheckCSourceRuns.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/CurlTests.c create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/FindOpenSSL.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/FindZLIB.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/OtherTests.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/Platforms/WindowsCache.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/CMake/Utilities.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/CMakeLists.txt create mode 100644 vendor/voclient/common/curl-7.20.1/COPYING create mode 100755 vendor/voclient/common/curl-7.20.1/MacOSX-Framework create mode 100644 vendor/voclient/common/curl-7.20.1/Makefile create mode 100644 vendor/voclient/common/curl-7.20.1/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/README create mode 100644 vendor/voclient/common/curl-7.20.1/RELEASE-NOTES create mode 100644 vendor/voclient/common/curl-7.20.1/acinclude.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/aclocal.m4 create mode 100755 vendor/voclient/common/curl-7.20.1/buildconf create mode 100755 vendor/voclient/common/curl-7.20.1/compile create mode 100755 vendor/voclient/common/curl-7.20.1/config.guess create mode 100644 vendor/voclient/common/curl-7.20.1/config.log create mode 100755 vendor/voclient/common/curl-7.20.1/config.status create mode 100755 vendor/voclient/common/curl-7.20.1/config.sub create mode 100755 vendor/voclient/common/curl-7.20.1/configure create mode 100644 vendor/voclient/common/curl-7.20.1/configure.ac create mode 100644 vendor/voclient/common/curl-7.20.1/curl-config create mode 100644 vendor/voclient/common/curl-7.20.1/curl-config.in create mode 100644 vendor/voclient/common/curl-7.20.1/curl-style.el create mode 100755 vendor/voclient/common/curl-7.20.1/depcomp create mode 100644 vendor/voclient/common/curl-7.20.1/docs/BINDINGS create mode 100644 vendor/voclient/common/curl-7.20.1/docs/BUGS create mode 100644 vendor/voclient/common/curl-7.20.1/docs/CONTRIBUTE create mode 100644 vendor/voclient/common/curl-7.20.1/docs/DISTRO-DILEMMA create mode 100644 vendor/voclient/common/curl-7.20.1/docs/FAQ create mode 100644 vendor/voclient/common/curl-7.20.1/docs/FEATURES create mode 100644 vendor/voclient/common/curl-7.20.1/docs/HISTORY create mode 100644 vendor/voclient/common/curl-7.20.1/docs/INSTALL create mode 100644 vendor/voclient/common/curl-7.20.1/docs/INSTALL.devcpp create mode 100644 vendor/voclient/common/curl-7.20.1/docs/INTERNALS create mode 100644 vendor/voclient/common/curl-7.20.1/docs/KNOWN_BUGS create mode 100644 vendor/voclient/common/curl-7.20.1/docs/LICENSE-MIXING create mode 100644 vendor/voclient/common/curl-7.20.1/docs/MANUAL create mode 100644 vendor/voclient/common/curl-7.20.1/docs/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/docs/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/docs/README.netware create mode 100644 vendor/voclient/common/curl-7.20.1/docs/README.win32 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/RESOURCES create mode 100644 vendor/voclient/common/curl-7.20.1/docs/SSLCERTS create mode 100644 vendor/voclient/common/curl-7.20.1/docs/THANKS create mode 100644 vendor/voclient/common/curl-7.20.1/docs/TODO create mode 100644 vendor/voclient/common/curl-7.20.1/docs/TheArtOfHttpScripting create mode 100644 vendor/voclient/common/curl-7.20.1/docs/VERSIONS create mode 100644 vendor/voclient/common/curl-7.20.1/docs/curl-config.1 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/curl.1 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/10-at-a-time.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/Makefile.example create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/Makefile.inc create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/Makefile.m32 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/README create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/anyauthput.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/cacertinmem.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/certinfo.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/chkspeed.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/cookie_interface.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/curlgtk.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/curlx.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/debug.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/evhiperfifo.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/fileupload.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/fopen.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/ftpget.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/ftpgetinfo.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/ftpgetresp.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/ftpupload.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/ftpuploadresume.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/getinfo.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/getinmemory.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/ghiper.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/hiperfifo.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/htmltidy.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/htmltitle.cc create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/http-post.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/httpcustomheader.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/httpput.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/https.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/makefile.dj create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/multi-app.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/multi-debugcallback.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/multi-double.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/multi-post.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/multi-single.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/multithread.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/opensslthreadlock.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/persistant.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/post-callback.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/postit2.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/sampleconv.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/sendrecv.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/sepheaders.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/simple.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/simplepost.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/simplessl.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/synctime.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/examples/threaded-ssl.c create mode 100644 vendor/voclient/common/curl-7.20.1/docs/index.html create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/ABI create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_cleanup.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_duphandle.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_escape.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_getinfo.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_init.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_pause.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_perform.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_recv.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_reset.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_send.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_setopt.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_strerror.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_easy_unescape.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_escape.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_formadd.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_formfree.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_formget.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_free.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_getdate.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_getenv.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_global_cleanup.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_global_init.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_global_init_mem.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_mprintf.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_add_handle.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_assign.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_cleanup.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_fdset.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_info_read.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_init.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_perform.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_remove_handle.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_setopt.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_socket.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_socket_action.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_strerror.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_multi_timeout.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_share_cleanup.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_share_init.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_share_setopt.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_share_strerror.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_slist_append.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_slist_free_all.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_strequal.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_unescape.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_version.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/curl_version_info.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/index.html create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/libcurl-easy.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/libcurl-errors.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/libcurl-multi.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/libcurl-share.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/libcurl-tutorial.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/libcurl.3 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/libcurl.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/docs/libcurl/symbols-in-versions create mode 100644 vendor/voclient/common/curl-7.20.1/include/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/include/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/include/README create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/curl.h create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/curlbuild.h.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/curlbuild.h.in create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/curlrules.h create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/curlver.h create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/easy.h create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/mprintf.h create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/multi.h create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/stdcheaders.h create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/typecheck-gcc.h create mode 100644 vendor/voclient/common/curl-7.20.1/include/curl/types.h create mode 100755 vendor/voclient/common/curl-7.20.1/install-sh create mode 100644 vendor/voclient/common/curl-7.20.1/lib/CMakeLists.txt create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.Watcom create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.b32 create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.inc create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.m32 create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.netware create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.riscos create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.vc6 create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.vc8 create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.vc9 create mode 100644 vendor/voclient/common/curl-7.20.1/lib/Makefile.vxworks create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.ares create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.curl_off_t create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.curlx create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.encoding create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.hostip create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.httpauth create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.memoryleak create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.multi_socket create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.pingpong create mode 100644 vendor/voclient/common/curl-7.20.1/lib/README.pipelining create mode 100644 vendor/voclient/common/curl-7.20.1/lib/amigaos.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/amigaos.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/arpa_telnet.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/base64.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-amigaos.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-mac.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-os400.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-riscos.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-symbian.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-tpf.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-vxworks.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-win32.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config-win32ce.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/config.dos create mode 100644 vendor/voclient/common/curl-7.20.1/lib/connect.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/connect.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/content_encoding.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/content_encoding.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/cookie.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/cookie.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_addrinfo.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_addrinfo.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_base64.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_config.h.cmake create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_config.h.in create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_ldap.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_md5.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_memory.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_memrchr.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_memrchr.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_rand.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_rand.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_sspi.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_sspi.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_threads.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curl_threads.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/curlx.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/dict.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/dict.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/easy.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/easyif.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/escape.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/escape.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/file.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/file.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/firefox-db2pem.sh create mode 100644 vendor/voclient/common/curl-7.20.1/lib/formdata.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/formdata.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/ftp.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/ftp.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/getenv.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/getinfo.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/getinfo.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/gtls.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/gtls.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hash.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hash.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hostares.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hostasyn.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hostip.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hostip.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hostip4.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hostip6.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hostsyn.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/hostthre.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http_chunks.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http_chunks.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http_digest.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http_digest.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http_negotiate.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http_negotiate.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http_ntlm.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/http_ntlm.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/if2ip.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/if2ip.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/imap.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/imap.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/inet_ntop.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/inet_ntop.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/inet_pton.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/inet_pton.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/krb4.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/krb4.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/krb5.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/ldap.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/libcurl.imp create mode 100644 vendor/voclient/common/curl-7.20.1/lib/libcurl.plist create mode 100644 vendor/voclient/common/curl-7.20.1/lib/libcurl.rc create mode 100644 vendor/voclient/common/curl-7.20.1/lib/llist.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/llist.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/makefile.amiga create mode 100644 vendor/voclient/common/curl-7.20.1/lib/makefile.dj create mode 100644 vendor/voclient/common/curl-7.20.1/lib/md5.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/memdebug.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/memdebug.h create mode 100755 vendor/voclient/common/curl-7.20.1/lib/mk-ca-bundle.pl create mode 100644 vendor/voclient/common/curl-7.20.1/lib/mprintf.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/msvcproj.foot create mode 100644 vendor/voclient/common/curl-7.20.1/lib/msvcproj.head create mode 100644 vendor/voclient/common/curl-7.20.1/lib/multi.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/multiif.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/netrc.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/netrc.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/nonblock.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/nonblock.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/nss.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/nssg.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/nwlib.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/nwos.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/parsedate.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/parsedate.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/pingpong.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/pingpong.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/pop3.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/pop3.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/progress.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/progress.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/qssl.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/qssl.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/rawstr.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/rawstr.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/rtsp.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/rtsp.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/security.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/select.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/select.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/sendf.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/sendf.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/setup-os400.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/setup.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/setup_once.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/share.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/share.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/slist.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/slist.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/smtp.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/smtp.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/sockaddr.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/socks.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/socks.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/socks_gssapi.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/socks_sspi.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/speedcheck.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/speedcheck.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/splay.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/splay.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/ssh.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/ssh.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/sslgen.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/sslgen.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/ssluse.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/ssluse.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strdup.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strdup.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strequal.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strequal.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strerror.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strerror.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strtok.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strtok.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strtoofft.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/strtoofft.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/telnet.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/telnet.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/tftp.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/tftp.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/timeval.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/timeval.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/transfer.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/transfer.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/url.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/url.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/urldata.h create mode 100644 vendor/voclient/common/curl-7.20.1/lib/vc6libcurl.dsw create mode 100644 vendor/voclient/common/curl-7.20.1/lib/version.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/warnless.c create mode 100644 vendor/voclient/common/curl-7.20.1/lib/warnless.h create mode 100644 vendor/voclient/common/curl-7.20.1/libcurl.pc create mode 100644 vendor/voclient/common/curl-7.20.1/libcurl.pc.in create mode 100755 vendor/voclient/common/curl-7.20.1/libtool create mode 100755 vendor/voclient/common/curl-7.20.1/ltmain.sh create mode 100644 vendor/voclient/common/curl-7.20.1/m4/curl-compilers.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/curl-confopts.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/curl-functions.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/curl-override.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/curl-reentrant.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/curl-system.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/libtool.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/ltoptions.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/ltsugar.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/ltversion.m4 create mode 100644 vendor/voclient/common/curl-7.20.1/m4/lt~obsolete.m4 create mode 100755 vendor/voclient/common/curl-7.20.1/maketgz create mode 100755 vendor/voclient/common/curl-7.20.1/missing create mode 100644 vendor/voclient/common/curl-7.20.1/mkinstalldirs create mode 100644 vendor/voclient/common/curl-7.20.1/packages/AIX/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/AIX/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/AIX/RPM/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/AIX/RPM/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/AIX/RPM/README create mode 100644 vendor/voclient/common/curl-7.20.1/packages/AIX/RPM/curl.spec.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/DOS/README create mode 100644 vendor/voclient/common/curl-7.20.1/packages/DOS/common.dj create mode 100644 vendor/voclient/common/curl-7.20.1/packages/EPM/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/EPM/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/EPM/README create mode 100644 vendor/voclient/common/curl-7.20.1/packages/EPM/curl.list.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Linux/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Linux/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Linux/RPM/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Linux/RPM/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Linux/RPM/README create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Linux/RPM/curl-ssl.spec.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Linux/RPM/curl.spec.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Linux/RPM/make_curl_rpm create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/NetWare/get_ver.awk create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/README.OS400 create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/ccsidcurl.c create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/ccsidcurl.h create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/curl.inc.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/initscript.sh create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/make-include.sh create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/make-lib.sh create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/make-src.sh create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/make-tests.sh create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/makefile.sh create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/os400sys.c create mode 100644 vendor/voclient/common/curl-7.20.1/packages/OS400/os400sys.h create mode 100644 vendor/voclient/common/curl-7.20.1/packages/README create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Solaris/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Solaris/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/bwins/libcurlu.def create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/eabi/libcurlu.def create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/group/bld.inf create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/group/curl.iby create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/group/curl.mmp create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/group/curl.pkg create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/group/libcurl.iby create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/group/libcurl.mmp create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/group/libcurl.pkg create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Symbian/readme.txt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/TPF/curl.mak create mode 100644 vendor/voclient/common/curl-7.20.1/packages/TPF/maketpf.env_curl create mode 100644 vendor/voclient/common/curl-7.20.1/packages/TPF/maketpf.env_curllib create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Win32/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Win32/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Win32/README create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Win32/cygwin/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Win32/cygwin/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/Win32/cygwin/README create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/build_vms.com create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/config-vms.h create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/curlmsg.h create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/curlmsg.msg create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/curlmsg.sdl create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/curlmsg_vms.h create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/hpssl_alpha.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/hpssl_ia64.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/hpssl_vax.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/ldap.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/openssl_alpha.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/openssl_ia64.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/openssl_ssl_alpha.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/openssl_ssl_ia64.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/openssl_ssl_vax.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/openssl_vax.opt create mode 100644 vendor/voclient/common/curl-7.20.1/packages/vms/readme create mode 100644 vendor/voclient/common/curl-7.20.1/sample.emacs create mode 100644 vendor/voclient/common/curl-7.20.1/src/CMakeLists.txt create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.Watcom create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.b32 create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.inc create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.m32 create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.netware create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.riscos create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.vc6 create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.vc8 create mode 100644 vendor/voclient/common/curl-7.20.1/src/Makefile.vc9 create mode 100644 vendor/voclient/common/curl-7.20.1/src/config-amigaos.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/config-mac.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/config-riscos.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/config-win32.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/curl.rc create mode 100644 vendor/voclient/common/curl-7.20.1/src/curl_config.h.in create mode 100644 vendor/voclient/common/curl-7.20.1/src/curlutil.c create mode 100644 vendor/voclient/common/curl-7.20.1/src/curlutil.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/getpass.c create mode 100644 vendor/voclient/common/curl-7.20.1/src/getpass.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/homedir.c create mode 100644 vendor/voclient/common/curl-7.20.1/src/homedir.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/hugehelp.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/macos/MACINSTALL.TXT create mode 100644 vendor/voclient/common/curl-7.20.1/src/macos/curl.mcp.xml.sit.hqx create mode 100644 vendor/voclient/common/curl-7.20.1/src/macos/src/curl_GUSIConfig.cpp create mode 100644 vendor/voclient/common/curl-7.20.1/src/macos/src/macos_main.cpp create mode 100644 vendor/voclient/common/curl-7.20.1/src/main.c create mode 100644 vendor/voclient/common/curl-7.20.1/src/makefile.amiga create mode 100644 vendor/voclient/common/curl-7.20.1/src/makefile.dj create mode 100644 vendor/voclient/common/curl-7.20.1/src/mkhelp.pl create mode 100644 vendor/voclient/common/curl-7.20.1/src/os-specific.c create mode 100644 vendor/voclient/common/curl-7.20.1/src/os-specific.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/setup.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/urlglob.c create mode 100644 vendor/voclient/common/curl-7.20.1/src/urlglob.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/vc6curlsrc.dsp create mode 100644 vendor/voclient/common/curl-7.20.1/src/vc6curlsrc.dsw create mode 100644 vendor/voclient/common/curl-7.20.1/src/version.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/writeenv.c create mode 100644 vendor/voclient/common/curl-7.20.1/src/writeenv.h create mode 100644 vendor/voclient/common/curl-7.20.1/src/writeout.c create mode 100644 vendor/voclient/common/curl-7.20.1/src/writeout.h create mode 100644 vendor/voclient/common/curl-7.20.1/tests/CMakeLists.txt create mode 100644 vendor/voclient/common/curl-7.20.1/tests/FILEFORMAT create mode 100644 vendor/voclient/common/curl-7.20.1/tests/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/tests/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/tests/README create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/EdelCurlRoot-ca.cacert create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/EdelCurlRoot-ca.crt create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/EdelCurlRoot-ca.csr create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/EdelCurlRoot-ca.der create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/EdelCurlRoot-ca.key create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/EdelCurlRoot-ca.prm create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost-sv.crt create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost-sv.csr create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost-sv.der create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost-sv.dhp create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost-sv.key create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost-sv.p12 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost-sv.pem create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost-sv.prm create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost.nn-sv.crt create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost.nn-sv.csr create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost.nn-sv.der create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost.nn-sv.dhp create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost.nn-sv.key create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost.nn-sv.pem create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost.nn-sv.prm create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost0h-sv.crt create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost0h-sv.csr create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost0h-sv.der create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost0h-sv.dhp create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost0h-sv.key create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost0h-sv.p12 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost0h-sv.pem create mode 100644 vendor/voclient/common/curl-7.20.1/tests/certs/Server-localhost0h-sv.prm create mode 100755 vendor/voclient/common/curl-7.20.1/tests/certs/scripts/genroot.sh create mode 100755 vendor/voclient/common/curl-7.20.1/tests/certs/scripts/genserv.sh create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/DISABLED create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test10 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test100 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1000 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1001 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1002 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1003 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1004 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1005 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1006 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1007 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1008 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1009 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test101 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1010 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1011 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1012 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1013 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1014 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1015 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1016 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1017 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1018 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1019 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test102 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1020 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1021 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1022 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1023 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1024 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1025 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1026 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1027 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1028 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1029 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test103 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1030 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1031 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1032 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1033 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1034 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1035 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1036 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1037 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1038 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1039 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test104 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1040 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1041 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1042 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1043 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1044 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1045 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1046 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1047 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1048 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1049 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test105 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1050 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1051 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1052 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1053 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1054 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1055 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1056 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1057 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1058 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1059 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test106 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1060 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1061 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1062 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1063 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1064 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1065 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1066 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1067 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1068 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1069 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test107 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1070 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1071 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1072 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1073 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1074 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1075 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1076 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1077 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1078 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1079 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test108 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1080 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1081 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1082 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1083 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1084 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1085 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1086 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1087 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1088 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1089 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test109 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1090 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1091 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1092 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1093 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1094 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1095 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1096 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1097 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1098 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1099 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test11 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test110 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1100 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1101 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1102 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1103 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1104 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1105 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1106 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1107 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1108 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1109 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test111 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1110 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1111 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test1112 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test112 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test113 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test114 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test115 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test116 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test117 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test118 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test119 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test12 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test120 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test121 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test122 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test123 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test124 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test125 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test126 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test127 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test128 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test129 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test13 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test130 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test131 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test132 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test133 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test134 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test135 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test136 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test137 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test138 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test139 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test14 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test140 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test141 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test142 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test143 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test144 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test145 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test146 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test147 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test148 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test149 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test15 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test150 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test151 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test152 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test153 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test154 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test155 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test156 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test157 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test158 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test159 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test16 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test160 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test161 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test162 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test163 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test164 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test165 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test166 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test167 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test168 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test169 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test17 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test170 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test171 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test172 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test173 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test174 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test175 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test176 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test177 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test178 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test179 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test18 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test180 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test181 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test182 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test183 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test184 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test185 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test186 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test187 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test188 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test189 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test19 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test190 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test191 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test192 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test193 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test194 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test195 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test196 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test197 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test198 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test199 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test2 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test20 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test200 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test2000 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test2001 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test2002 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test2003 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test2004 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test201 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test202 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test203 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test204 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test205 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test206 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test207 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test208 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test209 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test21 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test210 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test211 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test212 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test213 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test214 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test215 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test216 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test217 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test218 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test22 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test220 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test221 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test222 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test223 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test224 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test225 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test226 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test227 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test228 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test229 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test23 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test231 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test233 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test234 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test235 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test236 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test237 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test238 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test239 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test24 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test240 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test241 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test242 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test243 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test245 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test246 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test247 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test248 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test249 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test25 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test250 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test251 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test252 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test253 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test254 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test255 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test256 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test257 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test258 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test259 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test26 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test260 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test261 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test262 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test263 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test264 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test265 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test266 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test267 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test268 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test269 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test27 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test270 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test271 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test272 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test273 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test274 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test275 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test276 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test277 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test278 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test279 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test28 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test280 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test281 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test282 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test283 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test284 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test285 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test286 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test287 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test288 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test289 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test29 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test290 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test291 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test292 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test293 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test294 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test295 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test296 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test297 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test298 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test299 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test3 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test30 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test300 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test301 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test302 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test303 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test304 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test305 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test306 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test307 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test308 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test309 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test31 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test310 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test311 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test312 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test32 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test33 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test34 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test35 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test350 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test351 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test352 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test353 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test354 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test36 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test37 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test38 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test39 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test4 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test40 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test400 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test401 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test402 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test403 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test404 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test405 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test406 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test407 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test408 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test409 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test41 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test42 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test43 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test44 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test45 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test46 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test47 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test48 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test49 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test5 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test50 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test500 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test501 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test502 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test503 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test504 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test505 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test506 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test507 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test508 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test51 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test510 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test511 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test512 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test513 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test514 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test515 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test516 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test517 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test518 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test519 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test52 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test520 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test521 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test522 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test523 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test524 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test525 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test526 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test527 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test528 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test529 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test53 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test530 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test531 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test532 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test533 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test534 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test535 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test536 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test537 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test538 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test539 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test54 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test540 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test541 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test542 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test543 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test544 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test545 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test546 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test547 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test548 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test549 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test55 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test550 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test551 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test552 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test553 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test554 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test555 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test556 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test557 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test558 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test559 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test56 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test560 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test561 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test562 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test563 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test564 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test565 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test566 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test567 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test568 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test569 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test57 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test570 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test571 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test572 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test58 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test59 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test6 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test60 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test600 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test601 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test602 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test603 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test604 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test605 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test606 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test607 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test608 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test609 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test61 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test610 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test611 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test612 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test613 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test614 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test615 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test616 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test617 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test618 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test619 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test62 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test620 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test621 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test622 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test623 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test624 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test625 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test626 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test627 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test628 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test629 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test63 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test630 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test631 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test632 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test633 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test634 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test635 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test636 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test637 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test64 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test65 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test66 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test67 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test68 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test69 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test7 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test70 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test700 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test701 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test702 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test703 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test704 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test705 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test706 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test707 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test71 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test72 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test73 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test74 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test75 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test76 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test77 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test78 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test79 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test8 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test80 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test800 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test801 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test802 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test803 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test804 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test81 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test82 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test83 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test84 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test85 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test86 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test87 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test88 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test89 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test9 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test90 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test91 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test92 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test93 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test94 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test95 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test97 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test98 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/data/test99 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/ftp.pm create mode 100755 vendor/voclient/common/curl-7.20.1/tests/ftpserver.pl create mode 100644 vendor/voclient/common/curl-7.20.1/tests/getpart.pm create mode 100755 vendor/voclient/common/curl-7.20.1/tests/httpserver.pl create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/Makefile.inc create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/first.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib500.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib501.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib502.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib503.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib504.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib505.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib506.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib507.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib508.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib510.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib511.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib512.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib513.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib514.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib515.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib516.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib517.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib518.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib519.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib520.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib521.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib523.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib524.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib525.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib526.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib530.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib533.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib536.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib537.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib539.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib540.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib541.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib542.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib543.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib544.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib547.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib549.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib552.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib553.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib554.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib555.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib556.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib557.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib558.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib560.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib562.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib564.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib566.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib567.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib568.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib569.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib570.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib571.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/lib572.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/test.h create mode 100755 vendor/voclient/common/curl-7.20.1/tests/libtest/test1013.pl create mode 100755 vendor/voclient/common/curl-7.20.1/tests/libtest/test1022.pl create mode 100755 vendor/voclient/common/curl-7.20.1/tests/libtest/test307.pl create mode 100755 vendor/voclient/common/curl-7.20.1/tests/libtest/test610.pl create mode 100755 vendor/voclient/common/curl-7.20.1/tests/libtest/test613.pl create mode 100755 vendor/voclient/common/curl-7.20.1/tests/libtest/test75.pl create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/testutil.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/libtest/testutil.h create mode 100755 vendor/voclient/common/curl-7.20.1/tests/memanalyze.pl create mode 100755 vendor/voclient/common/curl-7.20.1/tests/rtspserver.pl create mode 100644 vendor/voclient/common/curl-7.20.1/tests/runtests.1 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/runtests.html create mode 100644 vendor/voclient/common/curl-7.20.1/tests/runtests.pdf create mode 100755 vendor/voclient/common/curl-7.20.1/tests/runtests.pl create mode 100755 vendor/voclient/common/curl-7.20.1/tests/secureserver.pl create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/Makefile.am create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/Makefile.in create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/Makefile.inc create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/getpart.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/getpart.h create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/resolve.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/rtspd.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/sockfilt.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/sws.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/testpart.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/tftp.h create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/tftpd.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/util.c create mode 100644 vendor/voclient/common/curl-7.20.1/tests/server/util.h create mode 100644 vendor/voclient/common/curl-7.20.1/tests/serverhelp.pm create mode 100644 vendor/voclient/common/curl-7.20.1/tests/sshhelp.pm create mode 100755 vendor/voclient/common/curl-7.20.1/tests/sshserver.pl create mode 100644 vendor/voclient/common/curl-7.20.1/tests/stunnel.pem create mode 100644 vendor/voclient/common/curl-7.20.1/tests/testcurl.1 create mode 100644 vendor/voclient/common/curl-7.20.1/tests/testcurl.html create mode 100644 vendor/voclient/common/curl-7.20.1/tests/testcurl.pdf create mode 100755 vendor/voclient/common/curl-7.20.1/tests/testcurl.pl create mode 100755 vendor/voclient/common/curl-7.20.1/tests/tftpserver.pl create mode 100644 vendor/voclient/common/curl-7.20.1/tests/valgrind.pm create mode 100644 vendor/voclient/common/curl-7.20.1/vc6curl.dsw (limited to 'vendor/voclient/common/curl-7.20.1') diff --git a/vendor/voclient/common/curl-7.20.1/Android.mk b/vendor/voclient/common/curl-7.20.1/Android.mk new file mode 100644 index 00000000..b8f3a0ea --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/Android.mk @@ -0,0 +1,87 @@ +# Google Android makefile for curl and libcurl +# +# Place the curl source (including this makefile) into external/curl/ in the +# Android source tree. Then build them with 'make curl' or just 'make libcurl' +# from the Android root. Tested with Android 1.5 +# +# Note: you must first create a curl_config.h file by running configure in the +# Android environment. The only way I've found to do this is tricky. Perform a +# normal Android build with libcurl in the source tree, providing the target +# "showcommands" to make. The build will eventually fail (because curl_config.h +# doesn't exist yet), but the compiler commands used to build curl will be +# shown. Now, from the external/curl/ directory, run curl's normal configure +# command with flags that match what Android itself uses. This will mean +# putting the compiler directory into the PATH, putting the -I, -isystem and +# -D options into CPPFLAGS, putting the -m, -f, -O and -nostdlib options into +# CFLAGS, and putting the -Wl, -L and -l options into LIBS, along with the path +# to the files libgcc.a, crtbegin_dynamic.o, and ccrtend_android.o. Remember +# that the paths must be absolute since you will not be running configure from +# the same directory as the Android make. The normal cross-compiler options +# must also be set. +# +# The end result will be a configure command that looks something like this +# (the environment variable A is set to the Android root path): +# +# A=`realpath ../..` && \ +# PATH="$A/prebuilt/linux-x86/toolchain/arm-eabi-X/bin:$PATH" \ +# ./configure --host=arm-linux CC=arm-eabi-gcc \ +# CPPFLAGS="-I $A/system/core/include ..." \ +# CFLAGS="-fno-exceptions -Wno-multichar ..." \ +# LIB="$A/prebuilt/linux-x86/toolchain/arm-eabi-X/lib/gcc/arm-eabi/X\ +# /interwork/libgcc.a ..." \ +# +# Dan Fandrich +# September 2009 + +LOCAL_PATH:= $(call my-dir) + +common_CFLAGS := -Wpointer-arith -Wwrite-strings -Wunused -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -DHAVE_CONFIG_H + +######################### +# Build the libcurl library + +include $(CLEAR_VARS) +include $(LOCAL_PATH)/lib/Makefile.inc +CURL_HEADERS := \ + curlbuild.h \ + curl.h \ + curlrules.h \ + curlver.h \ + easy.h \ + mprintf.h \ + multi.h \ + stdcheaders.h \ + typecheck-gcc.h \ + types.h + +LOCAL_SRC_FILES := $(addprefix lib/,$(CSOURCES)) +LOCAL_C_INCLUDES += $(LOCAL_PATH)/include/ +LOCAL_CFLAGS += $(common_CFLAGS) + +LOCAL_COPY_HEADERS_TO := libcurl/curl +LOCAL_COPY_HEADERS := $(addprefix include/curl/,$(CURL_HEADERS)) + +LOCAL_MODULE:= libcurl + +include $(BUILD_STATIC_LIBRARY) + + +######################### +# Build the curl binary + +include $(CLEAR_VARS) +include $(LOCAL_PATH)/src/Makefile.inc +LOCAL_SRC_FILES := $(addprefix src/,$(CURL_SOURCES)) + +LOCAL_MODULE := curl +LOCAL_STATIC_LIBRARIES := libcurl +LOCAL_SYSTEM_SHARED_LIBRARIES := libc + +LOCAL_C_INCLUDES += $(LOCAL_PATH)/include $(LOCAL_PATH)/lib + +# This will also need to include $(CURLX_ONES) in order to correctly build +# a dynamic library +LOCAL_CFLAGS += $(common_CFLAGS) + +include $(BUILD_EXECUTABLE) + diff --git a/vendor/voclient/common/curl-7.20.1/CHANGES b/vendor/voclient/common/curl-7.20.1/CHANGES new file mode 100644 index 00000000..b8b142b0 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CHANGES @@ -0,0 +1,2121 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + + Changelog + +Version 7.20.1 (14 April 2010) + +Daniel Stenberg (9 Apr 2010) +- Prefixing the FTP quote commands with an asterisk really only worked for the + postquote actions. This is now fixed and test case 227 has been extended to + verify. + +Kamil Dudka (4 Apr 2010) +- Eliminated a race condition in Curl_resolv_timeout(). + +- Refactorized interface of Curl_ssl_recv()/Curl_ssl_send(). + +- libcurl-NSS now provides more accurate messages and error codes in case of + client certificate problem. Either during connection, or transfer phase. + +Daniel Stenberg (1 Apr 2010) +- Matt Wixson found and fixed a bug in the SCP/SFTP area where the code + treated a 0 return code from libssh2 to be the same as EAGAIN while in + reality it isn't. The problem caused a hang in SFTP transfers from a + MessageWay server. + +Daniel Stenberg (28 Mar 2010) +- Ben Greear: If you pass a URL to pop3 that does not contain a message ID as + part of the URL, it would previously ask for 'INBOX' which just causes the + pop3 server to return an error. + + Now libcurl treats en empty message ID as a request for LIST (list of pop3 + message IDs). User's code could then parse this and download individual + messages as desired. + +Daniel Stenberg (27 Mar 2010) +- Ben Greear brought a patch that from now on allows all protocols to specify + name and user within the URL, in the same manner HTTP and FTP have been + allowed to in the past - although far from all of the libcurl supported + protocls actually have that feature in their URL definition spec. + +Daniel Stenberg (26 Mar 2010) +- Ben Greear brought code that makes the rate limiting code for the easy + interface a bit smoother as it introduces sub-second sleeps during it and it + also takes the buffer sizes into account. + +Daniel Stenberg (24 Mar 2010) +- Bob Richmond: There's an annoying situation where libcurl will read new HTTP + response data from a socket, then check if it's a timeout if one is set. If + the last packet received constitutes the end of the response body, libcurl + still treats it as a timeout condition and reports a message like: + + "Operation timed out after 3000 milliseconds with 876 out of 876 bytes + received" + + It should only a timeout if the timer lapsed and we DIDN'T receive the end + of the response body yet. + +- Christopher Conroy fixed a problem with RTSP and GET_PARAMETER reported + to us by Massimo Callegari. There's a new test case 572 that verifies this + now. + +- The 'ares' subtree has been removed from the source repository. It was + always a separate project that sort of piggybacked on the curl project since + the dawn of times and now the time has come for it to go stand on its own + legs and continue living its own life. All details on c-ares and its new + source code repository is found at http://c-ares.haxx.se/ + +Daniel Stenberg (23 Mar 2010) +- Kenny To filed the bug report #2963679 with patch to fix a problem he + experienced with doing multi interface HTTP POST over a proxy using + PROXYTUNNEL. He found a case where it would connect fine but bits.tcpconnect + was not set correct so libcurl didn't work properly. + + (http://curl.haxx.se/bug/view.cgi?id=2963679) + +- Akos Pasztory filed debian bug report #572276 + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276 mentioning a problem + with a resource that returns chunked-encoded _and_ with a Content-Length + and libcurl failed to properly ignore the latter information. + +- Hauke Duden provided an example program that made the multi interface crash. + His example simply used the multi interface and did first one FTP transfer + and after completion it used a second easy handle and did another FTP + transfer on the same FTP server. + + This triggered a bug in the "delayed easy handle kill" system that curl + uses: when an FTP connection is left alive it must keep an easy handle + around internally - only for the purpose of having an easy handle when it + later disconnects it. The code assumed that when the easy handle was removed + and an internal reference was made, that version could be killed later on + when a new easy handle came using the same connection. This was wrong as + Hauke's example showed that the removed handle wasn't killed for real until + later. This caused a double close attempt => segfault. + +Daniel Stenberg (22 Mar 2010) +- Thomas Lopatic fixed the alarm()-based DNS timeout: + + Looking at the code of Curl_resolv_timeout() in hostip.c, I think that in + case of a timeout, the signal handler for SIGALRM never gets removed. I + think that in my case it gets executed at some point later on when execution + has long left Curl_resolv_timeout() or even the cURL library. + + The code that is jumped to with siglongjmp() simply sets the error message + to "name lookup timed out" and then returns with CURLRESOLV_ERROR. I guess + that instead of simply returning without cleaning up, the code should have a + goto that jumps to the spot right after the call to Curl_resolv(). + +Kamil Dudka (22 Mar 2010) +- Douglas Steinwand contributed a patch fixing insufficient initialization in + Curl_clone_ssl_config() + +Daniel Stenberg (21 Mar 2010) +- Ben Greear improved TFTP: the error code returning and the treatment + of TSIZE == 0 when uploading. + +- We've switched from CVS to git. See http://curl.haxx.se/source.html + +Kamil Dudka (19 Mar 2010) +- Improved Curl_read() to not ignore the error returned from Curl_ssl_recv(). + +Daniel Stenberg (15 Mar 2010) +- Constantine Sapuntzakis brought a patch: + + The problem mentioned on Dec 10 2009 + (http://curl.haxx.se/bug/view.cgi?id=2905220) was only partially fixed. + Partially because an easy handle can be associated with many connections in + the cache (e.g. if there is a redirect during the lifetime of the easy + handle). The previous patch only cleaned up the first one. The new fix now + removes the easy handle from all connections, not just the first one. + +Daniel Stenberg (6 Mar 2010) +- Ben Greear brought a patch that fixed the rate limiting logic for TFTP when + the easy interface was used. + +Daniel Stenberg (5 Mar 2010) +- Daniel Johnson provided fixes for building curl with the clang compiler. + +Yang Tse (5 Mar 2010) +- Constantine Sapuntzakis detected and fixed a double free in builds done + with threaded resolver enabled (Windows default configuration) that would + get triggered when a curl handle is closed while doing DNS resolution. + +Daniel Stenberg (2 Mar 2010) +- [Daniel Johnson] I've been trying to build libcurl with clang on Darwin and + ran into some issues with the GSSAPI tests in configure.ac. The tests first + try to determine the include dirs and libs and set CPPFLAGS and LIBS + accordingly. It then checks for the headers and finally sets LIBS a second + time, causing the libs to be included twice. The first setting of LIBS seems + redundant and should be left out, since the first part is otherwise just + about finding headers. + + My second issue is that 'krb5-config --libs gssapi' on Darwin is less than + useless and returns junk that, while it happens to work with gcc, causes + clang to choke. For example, --libs returns $CFLAGS along with the libs, + which is really retarded. Simply setting 'LIBS="$LIBS -lgssapi_krb5 + -lresolv"' on Darwin is sufficient. + +- Based on patch provided by Jacob Moshenko, the transfer logic now properly + makes sure that when using sub-second timeouts, there's no final bad 1000ms + wait. Previously, a sub-second timeout would often make the elapsed time end + up the time rounded up to the nearest second (e.g. 1s for 200ms timeout) + +- Andrei Benea filed bug report #2956698 and pointed out that the + CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function + call. He provided the patch to fix it too. + + http://curl.haxx.se/bug/view.cgi?id=2956698 + +- Markus Duft pointed out in bug #2961796 that even though Interix has a + poll() function it doesn't quite work the way we want it so we must disable + it, and he also provided a patch for it. + + http://curl.haxx.se/bug/view.cgi?id=2961796 + +- Made the pingpong timeout code properly deal with the response timeout AND + the global timeout if set. Also, as was reported in the bug report #2956437 + by Ryan Chan, the time stamp to use as basis for the per command timeout was + not set properly in the DONE phase for FTP (and not for SMTP) so I fixed + that just now. This was a regression compared to 7.19.7 due to the + conversion of FTP code over to the generic pingpong concepts. + + http://curl.haxx.se/bug/view.cgi?id=2956437 + +Daniel Stenberg (1 Mar 2010) +- Ben Greear provided an update for TFTP that fixes upload. + +- Wesley Miaw reported bug #2958179 which identified a case of looping during + OpenSSL based SSL handshaking even though the multi interface was used and + there was no good reason for it. + + http://curl.haxx.se/bug/view.cgi?id=2958179 + +Daniel Stenberg (26 Feb 2010) +- Pat Ray in bug #2958474 pointed out an off-by-one case when receiving a + chunked-encoding trailer. + + http://curl.haxx.se/bug/view.cgi?id=2958474 + +Daniel Fandrich (25 Feb 2010) +- Fixed a couple of out of memory leaks and a segfault in the SMTP & IMAP code. + +Yang Tse (25 Feb 2010) +- I fixed bug report #2958074 indicating + (http://curl.haxx.se/bug/view.cgi?id=2958074) that curl on Windows with + option --trace-time did not use local time when timestamping trace lines. + This could also happen on other systems depending on time souurce. + +Patrick Monnerat (22 Feb 2010) +- Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account. +- SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required). +- Use of true local host name (i.e.: via gethostname()) when available, as + default argument to SMTP HELO/EHLO. +- Test case 804 for HELO fallback. + +Daniel Stenberg (20 Feb 2010) +- Fixed the SMTP compliance by making sure RCPT TO addresses are specified + properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now + get angle bracket wrapping automatically by libcurl unless the recipient + starts with an angle bracket as then the app is assumed to deal with that + properly on its own. + +- I made the SMTP code expect a 250 response back from the server after the + full DATA has been sent, and I modified the test SMTP server to also send + that response. As usual, the DONE operation that is made after a completed + transfer is still not doable in a non-blocking way so this waiting for 250 + is unfortunately made blockingly. + +Yang Tse (14 Feb 2010) +- Overhauled test suite getpart() function. Fixing potential out of bounds + stack and memory overwrites triggered with huge test case definitions. + +Daniel Stenberg (13 Feb 2010) +- Martin Hager reported and fixed a problem with a missing quote in libcurl.m4 + + (http://curl.haxx.se/bug/view.cgi?id=2951319) + +- Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake. + + (http://curl.haxx.se/bug/view.cgi?id=2951269) + +Daniel Stenberg (12 Feb 2010) +- Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses + in the same RCPT TO line, when they should be sent in separate single + commands. I updated test case 802 to verify this. + +- I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl + tool which made it try to output it as string for the --libcurl feature + which could lead to crashes. + +Yang Tse (11 Feb 2010) +- Steven M. Schweda fixed VMS builder bad behavior when used in a batch job, + removed obsolete batch_compile.com and defines.com and updated VMS readme. + +Version 7.20.0 (9 February 2010) + +Daniel Stenberg (9 Feb 2010) +- When downloading compressed content over HTTP and the app asked libcurl to + automatically uncompress it with the CURLOPT_ENCODING option, libcurl could + wrongly provide the callback with more data than the maximum documented + amount. An application could thus get tricked into badness if the maximum + limit was trusted to be enforced by libcurl itself (as it is documented). + + This is further detailed and explained in the libcurl security advisory + 20100209 at + + http://curl.haxx.se/docs/adv_20100209.html + +Daniel Fandrich (3 Feb 2010) +- Changed the Watcom makefiles to make them easier to keep in sync with + Makefile.inc since that can't be included directly. + +Yang Tse (2 Feb 2010) +- Symbol CURL_FORMAT_OFF_T now obsoleted, will be removed in a future release, + symbol will not be available when building with CURL_NO_OLDIES defined. Use + of CURL_FORMAT_CURL_OFF_T is preferred since 7.19.0 + +Daniel Stenberg (1 Feb 2010) +- Using the multi_socket API, it turns out at times it seemed to "forget" + connections (which caused a hang). It turned out to be an existing (7.19.7) + bug in libcurl (that's been around for a long time) and it happened like + this: + + The app calls curl_multi_add_handle() to add a new easy handle, libcurl will + then set it to timeout in 1 millisecond so libcurl will tell the app about + it. + + The app's timeout fires off that there's a timeout, the app calls libcurl as + we so often document it: + + do { + res = curl_multi_socket_action(... TIMEOUT ...); + } while(CURLM_CALL_MULTI_PERFORM == res); + + And this is the problem number one: + + When curl_multi_socket_action() is called with no specific handle, but only + a timeout-action, it will *only* perform actions within libcurl that are + marked to run at this time. In this case, the request would go from INIT to + CONNECT and return CURLM_CALL_MULTI_PERFORM. When the app then calls libcurl + again, there's no timer set for this handle so it remains in the CONNECT + state. The CONNECT state is a transitional state in libcurl so it reports no + sockets there, and thus libcurl never tells the app anything more about that + easy handle/connection. + + libcurl _does_ set a 1ms timeout for the handle at the end of + multi_runsingle() if it returns CURLM_CALL_MULTI_PERFORM, but since the loop + is instant the new job is not ready to run at that point (and there's no + code that makes libcurl call the app to update the timout for this new + timeout). It will simply rely on that some other timeout will trigger later + on or that something else will update the timeout callback. This makes the + bug fairly hard to repeat. + + The fix made to adress this issue: + + We introduce a loop in lib/multi.c around all calls to multi_runsingle() and + simply check for CURLM_CALL_MULTI_PERFORM internally. This has the added + benefit that this goes in line with my long-term wishes to get rid of the + CURLM_CALL_MULTI_PERFORM all together from the public API. + + The downside of this fix, is that the counter we return in 'running_handles' + in several of our public functions then gets a slightly new and possibly + confusing behavior during times: + + If an app adds a handle that fails to connect (very quickly) it may just + as well never appear as a 'running_handle' with this fix. Previously it + would first bump the counter only to get it decreased again at next call. + Even I have used that change in handle counter to signal "end of a + transfer". The only *good* way to find the end of a individual transfer + is calling curl_multi_info_read() to see if it returns one. + + Of course, if the app previously did the looping before it checked the + counter, it really shouldn't be any new effect. + +Yang Tse (26 Jan 2010) +- Constantine Sapuntzakis' and Joshua Kwan's work done in the last four months + relative to the asynchronous DNS lookups, along with with some integration + adjustments I have done are finally committed to CVS. + + Currently these enhancements will benefit builds done using c-ares on any + platform as well as Windows builds using the default threaded resolver. + + This release does not make generally available POSIX threaded DNS lookups + yet. There is no configure option to enable this feature yet. It is possible + to experimantally try this feature running configure with compiler flags that + make simultaneous definition of preprocessor symbols USE_THREADS_POSIX and + HAVE_PTHREAD_H, as well as whatever reentrancy compiler flags and linker ones + are required to link and properly use pthread_* functions on each platform. + +Daniel Stenberg (26 Jan 2010) +- Mike Crowe made libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the + proxy that cannot be resolved when using c-ares. This matches the behaviour + when not using c-ares. + +Björn Stenberg (23 Jan 2010) +- Added a new flag: -J/--remote-header-name. This option tells the + -O/--remote-name option to use the server-specified Content-Disposition + filename instead of extracting a filename from the URL. + +Daniel Stenberg (21 Jan 2010) +- Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new + libcurl options for controlling what to get and how to receive posssibly + interleaved RTP data. + +Daniel Stenberg (20 Jan 2010) +- As was pointed out on the http-state mailing list, the order of cookies in a + HTTP Cookie: header _needs_ to be sorted on the path length in the cases + where two cookies using the same name are set more than once using + (overlapping) paths. Realizing this, identically named cookies must be + sorted correctly. But detecting only identically named cookies and take care + of them individually is harder than just to blindly and unconditionally sort + all cookies based on their path lengths. All major browsers also already do + this, so this makes our behavior one step closer to them in the cookie area. + + Test case 8 was the only one that broke due to this change and I updated it + accordingly. + +Daniel Stenberg (19 Jan 2010) +- David McCreedy brought a fix and a new test case (129) to make libcurl work + again when downloading files over FTP using ASCII and it turns out that the + final size of the file is not the same as the initial size the server + reported. This is very common since servers don't take the newline + conversions into account. + +Kamil Dudka (14 Jan 2010) +- Suppressed side effect of OpenSSL configure checks, which prevented NSS from + being properly detected under certain circumstances. It had been caused by + strange behavior of pkg-config when handling PKG_CONFIG_LIBDIR. pkg-config + distinguishes among empty and non-existent environment variable in that case. + +Daniel Stenberg (12 Jan 2010) +- Gil Weber reported a peculiar flaw with the multi interface when doing SFTP + transfers: curl_multi_fdset() would return -1 and not set and file + descriptors several times during a transfer of a single file. It turned out + to be due to two different flaws now fixed. Gil's excellent recipe helped me + nail this. + +Daniel Stenberg (11 Jan 2010) +- Made sure that the progress callback is repeatedly called at a regular + interval even during very slow connects. + +- The tests/runtests.pl script now checks to see if the test case that runs is + present in the tests/data/Makefile.am and outputs a notice message on the + screen if not. Each test file has to be included in that Makefile.am to get + included in release archives and forgetting to add files there is a common + mistake. This is an attempt to make it harder to forget. + +Daniel Stenberg (9 Jan 2010) +- Johan van Selst found and fixed a OpenSSL session ref count leak: + + ossl_connect_step3() increments an SSL session handle reference counter on + each call. When sessions are re-used this reference counter may be + incremented many times, but it will be decremented only once when done (by + Curl_ossl_session_free()); and the internal OpenSSL data will not be freed + if this reference count remains positive. When a session is re-used the + reference counter should be corrected by explicitly calling + SSL_SESSION_free() after each consecutive SSL_get1_session() to avoid + introducing a memory leak. + + (http://curl.haxx.se/bug/view.cgi?id=2926284) + +Daniel Stenberg (7 Jan 2010) +- Make sure the progress callback is called repeatedly even during very slow + name resolves when c-ares is used for resolving. + +Claes Jakobsson (6 Jan 2010) +- Julien Chaffraix fixed so that the fragment part in an URL is not sent + to the server anymore. + +Kamil Dudka (3 Jan 2010) +- Julien Chaffraix eliminated a duplicated initialization in singlesocket(). + +Daniel Stenberg (2 Jan 2010) +- Make curl support --ssl and --ssl-reqd instead of the previous FTP-specific + versions --ftp-ssl and --ftp-ssl-reqd as these options are now used to + control SSL/TLS for IMAP, POP3 and SMTP as well in addition to FTP. The old + option names are still working but the new ones are the ones listed and + documented. + +Daniel Stenberg (1 Jan 2010) +- Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. This + command is a special "hack" used by the drftpd server, but even though it is + a custom extension I've deemed it fine to add to libcurl since this server + seems to survive and people keep using it and want libcurl to support + it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also + usable from the curl tool with --ftp-pret. Using this option on a server + that doesn't support this command will make libcurl fail. + + I added test cases 1107 and 1108 to verify the functionality. + + The PRET command is documented at + http://www.drftpd.org/index.php/Distributed_PASV + +Yang Tse (30 Dec 2009) +- Steven M. Schweda improved VMS build system, and Craig A. Berry helped + with the patch and testing. + +Daniel Stenberg (26 Dec 2009) +- Renato Botelho and Peter Pentchev brought a patch that makes the libcurl + headers work correctly even on FreeBSD systems before v8. + + (http://curl.haxx.se/bug/view.cgi?id=2916915) + +Daniel Stenberg (17 Dec 2009) +- David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when + available. + +- Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I + was a bit too quick and broke test case 1101 with that change. The order of + some of the setups is sensitive. I now changed it slightly again to make + sure we do them in this order: + + 1 - parse URL and figure out what protocol is used in the URL + 2 - prepend protocol:// to URL if missing + 3 - parse name+password off URL, which needs to know what protocol is used + (since only some allows for name+password in the URL) + 4 - figure out if a proxy should be used set by an option + 5 - if no proxy option, check proxy environment variables + 6 - run the protocol-specific setup function, which needs to have the proxy + already set + +Daniel Stenberg (15 Dec 2009) +- Jon Nelson found a regression that turned out to be a flaw in how libcurl + detects and uses proxies based on the environment variables. If the proxy + was given as an explicit option it worked, but due to the setup order + mistake proxies would not be used fine for a few protocols when picked up + from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added + test case 1106 that verifies this functionality. + + (http://curl.haxx.se/bug/view.cgi?id=2913886) + +Daniel Stenberg (12 Dec 2009) +- IMAP, POP3 and SMTP support and their TLS versions (including IMAPS, POP3S + and SMTPS) are now supported. The current state may not yet be solid, but + the foundation is in place and the test suite has some initial support for + these protocols. Work will now persue to make them nice libcurl citizens + until release. + + The work with supporting these new protocols was sponsored by + networking4all.com - thanks! + +Daniel Stenberg (10 Dec 2009) +- Siegfried Gyuricsko found out that the curl manual said --retry would retry + on FTP errors in the transient 5xx range. Transient FTP errors are in the + 4xx range. The code itself only tried on 5xx errors that occured _at login_. + Now the retry code retries on all FTP transfer failures that ended with a + 4xx response. + + (http://curl.haxx.se/bug/view.cgi?id=2911279) + +- Constantine Sapuntzakis figured out a case which would lead to libcurl + accessing alredy freed memory and thus crash when using HTTPS (with + OpenSSL), multi interface and the CURLOPT_DEBUGFUNCTION and a certain order + of cleaning things up. I fixed it. + + (http://curl.haxx.se/bug/view.cgi?id=2905220) + +Daniel Stenberg (7 Dec 2009) +- Martin Storsjo made libcurl use the Expect: 100-continue header for posts + with unknown size. Previously it was only used for posts with a known size + larger than 1024 bytes. + +Daniel Stenberg (1 Dec 2009) +- If the Expect: 100-continue header has been set by the application through + curl_easy_setopt with CURLOPT_HTTPHEADER, the library should set + data->state.expect100header accordingly - the current code (in 7.19.7 at + least) doesn't handle this properly. Martin Storsjo provided the fix! + +Yang Tse (28 Nov 2009) +- Added Diffie-Hellman parameters to several test harness certificate files in + PEM format. Required by several stunnel versions used by our test harness. + +Daniel Stenberg (28 Nov 2009) +- Markus Koetter provided a polished and updated version of Chad Monroe's TFTP + rework patch that now integrates TFTP properly into libcurl so that it can + be used non-blocking with the multi interface and more. BLKSIZE also works. + + The --tftp-blksize option was added to allow setting the TFTP BLKSIZE from + the command line. + +Daniel Stenberg (26 Nov 2009) +- Extended and fixed the change I did on Dec 11 for the the progress + meter/callback during FTP command/response sequences. It turned out it was + really lame before and now the progress meter SHOULD get called at least + once per second. + +Daniel Stenberg (23 Nov 2009) +- Bjorn Augustsson reported a bug which made curl not report any problems even + though it failed to write a very small download to disk (done in a single + fwrite call). It turned out to be because fwrite() returned success, but + there was insufficient error-checking for the fclose() call which tricked + curl to believe things were fine. + +Yang Tse (23 Nov 2009) +- David Byron modified Makefile.dist vc8 and vc9 targets in order to allow + finer granularity control when generating src and lib makefiles. + +Yang Tse (22 Nov 2009) +- I modified configure to force removal of the curlbuild.h file included in + distribution tarballs for use by non-configure systems. As intended, this + would get overwriten when doing in-tree builds. But VPATH builds would end + having two curlbuild.h files, one in the source tree and another in the + build tree. With the modification I introduced 5 Nov 2009 this could become + an issue when running libcurl's test suite. + +Daniel Stenberg (20 Nov 2009) +- Constantine Sapuntzakis identified a write after close, as the sockets were + closed by libcurl before the SSL lib were shutdown and they may write to its + socket. Detected to at least happen with OpenSSL builds. + +- Jad Chamcham pointed out a bug with connection re-use. If a connection had + CURLOPT_HTTPPROXYTUNNEL enabled over a proxy, a subsequent request using the + same proxy with the tunnel option disabled would still wrongly re-use that + previous connection and the outcome would only be badness. + +Yang Tse (18 Nov 2009) +- I modified the memory tracking system to make it intolerant with zero sized + malloc(), calloc() and realloc() function calls. + +Daniel Stenberg (17 Nov 2009) +- Constantine Sapuntzakis provided another fix for the DNS cache that could + end up with entries that wouldn't time-out: + + 1. Set up a first web server that redirects (307) to a http://server:port + that's down + 2. Have curl connect to the first web server using curl multi + + After the curl_easy_cleanup call, there will be curl dns entries hanging + around with in_use != 0. + + (http://curl.haxx.se/bug/view.cgi?id=2891591) + +- Marc Kleine-Budde fixed: curl saved the LDFLAGS set during configure into + its pkg-config file. So -Wl stuff ended up in the .pc file, which is really + bad, and breaks if there are multiple -Wl in our LDFLAGS (which are in + PTXdist). bug #2893592 (http://curl.haxx.se/bug/view.cgi?id=2893592) + +Kamil Dudka (15 Nov 2009) +- David Byron improved the configure script to use pkg-config to find OpenSSL + (and in particular the list of required libraries) even if a path is given + as argument to --with-ssl + +Yang Tse (15 Nov 2009) +- I removed enable-thread / disable-thread configure option. These were only + placebo options. The library is always built as thread safe as possible on + every system. + +Claes Jakobsson (14 Nov 2009) +- curl-config now accepts '--configure' to see what arguments was + passed to the configure script when building curl. + +Daniel Stenberg (14 Nov 2009) +- Claes Jakobsson restored the configure functionality to detect NSS when + --with-nss is set but not "yes". + + I think we can still improve that to check for pkg-config in that path etc, + but at least this patch brings back the same functionality we had before. + +- Camille Moncelier added support for the file type SSL_FILETYPE_ENGINE for + the client certificate. It also disable the key name test as some engines + can select a private key/cert automatically (When there is only one key + and/or certificate on the hardware device used by the engine) + +Yang Tse (14 Nov 2009) +- Constantine Sapuntzakis provided the fix that ensures that an SSL connection + won't be reused unless protection level for peer and host verification match. + + I refactored how preprocessor symbol _THREAD_SAFE definition is done. + +Kamil Dudka (12 Nov 2009) +- Kevin Baughman provided a fix preventing libcurl-NSS from crash on doubly + closed NSPR descriptor. The issue was hard to find, reported several times + before and always closed unresolved. More info at the RH bug: + https://bugzilla.redhat.com/534176 + +- libcurl-NSS now tries to reconnect with TLS disabled in case it detects + a broken TLS server. However it does not happen if SSL version is selected + manually. The approach was originally taken from PSM. Kaspar Brand helped me + to complete the patch. Original bug reports: + https://bugzilla.redhat.com/525496 + https://bugzilla.redhat.com/527771 + +Yang Tse (12 Nov 2009) +- I modified configure script to make the getaddrinfo function check also + verify if the function is thread safe. + +Yang Tse (11 Nov 2009) +- Marco Maggi reported that compilation failed when configured --with-gssapi + and GNU GSS installed due to a missing mutual exclusion of header files in + the Kerberos 5 code path. He also verified that my patch worked for him. + +Daniel Stenberg (11 Nov 2009) +- Constantine Sapuntzakis posted bug #2891595 + (http://curl.haxx.se/bug/view.cgi?id=2891595) which identified how an entry + in the DNS cache would linger too long if the request that added it was in + use that long. He also provided the patch that now makes libcurl capable of + still doing a request while the DNS hash entry may get timed out. + +- Christian Schmitz noticed that the progress meter/callback was not properly + used during the FTP connection phase (after the actual TCP connect), while + it of course should be. I also made the speed check get called correctly so + that really slow servers will trigger that properly too. + +Kamil Dudka (5 Nov 2009) +- Dropped misleading timeouts in libcurl-NSS and made sure the SSL socket works + in non-blocking mode. + +Yang Tse (5 Nov 2009) +- I removed leading 'curl' path on the 'curlbuild.h' include statement in + curl.h, adjusting auto-makefiles include path, to enhance portability to + OS's without an orthogonal directory tree structure such as OS/400. + +Daniel Stenberg (4 Nov 2009) +- I fixed several problems with the transfer progress meter. It showed the + wrong percentage for small files, most notable for <1000 bytes and could + easily end up showing more than 100% at the end. It also didn't show any + percentage, transfer size or estimated transfer times when transferring + less than 100 bytes. + +Version 7.19.7 (4 November 2009) + +Daniel Stenberg (2 Nov 2009) +- As reported independent by both Stan van de Burgt and Didier Brisebourg, + CURLINFO_SIZE_DOWNLOAD (the -w variable size_download) didn't work when + getting data from ldap! + +Daniel Stenberg (31 Oct 2009) +- Gabriel Kuri reported a problem with CURLINFO_CONTENT_LENGTH_DOWNLOAD if the + download was 0 bytes, as libcurl would then return the size as unknown (-1) + and not 0. I wrote a fix and test case 566 to verify it. + +Daniel Stenberg (30 Oct 2009) +- Liza Alenchery mentioned a problem with re-used SCP connection when a bad + auth is used, as it caused a crash. I failed to repeat the issue, but still + made a change that now forces the TCP connection used for a freed SCP + session to get closed and not be re-used. + +- "Tom" posted a bug report that mentioned how libcurl did wrong when doing a + POST using a read callback, with Digest authentication and + "Transfer-Encoding: chunked" enforced. I would then cause the first request + to be wrongly sent and then basically hang until the server closed the + connection. I fixed the problem and added test case 565 to verify it. + +Daniel Stenberg (25 Oct 2009) +- Dima Barsky made the curl cookie parser accept cookies even with blank or + unparsable expiry dates and then treat them as session cookies - previously + libcurl would reject cookies with a date format it couldn't parse. Research + shows that the major browser treat such cookies as session cookies. I + modified test 8 and 31 to verify this. + +Daniel Stenberg (21 Oct 2009) +- Attempt to use pkg-config for finding out libssh2 installation details + during configure. + +- A patch in bug report #2883177 (http://curl.haxx.se/bug/view.cgi?id=2883177) + by Johan van Selst introduced the --crlfile option to curl, which makes curl + tell libcurl about a file with CRL (certificate revocation list) data to + read. + +Daniel Stenberg (18 Oct 2009) +- Ray Dassen provided a patch in Debian's bug tracker (bug number #551461) + that now makes curl_getdate(3) actually handles RFC 822 formatted dates that + use the "single letter military timezones". + http://www.rfc-ref.org/RFC-TEXTS/822/chapter5.html has the details. + +- Fixed memory leak in the SCP/SFTP code as it never freed the knownhosts + data! + +- John Dennis filed bug report #2873666 + (http://curl.haxx.se/bug/view.cgi?id=2873666) which identified a problem + which made libcurl loop infinitely when given incorrect credentials when + using HTTP GSS negotiate authentication. He also provided a small and simple + patch for it. + +- Kevin Baughman found a double close() problem with libcurl-NSS, as when + libcurl called NSS to close the SSL "session" it also closed the actual + socket. + +Yang Tse (17 Oct 2009) +- Bug report #2866724 indicated + (http://curl.haxx.se/bug/view.cgi?id=2866724) that curl on Windows failed + when writing files whose file names originally contained characters which + are not valid for file names on Windows. Dan Fandrich provided an initial + patch and another revised one to fix this issue. + +Daniel Stenberg (1 Oct 2009) +- Tom Mueller correctly reported in bug report #2870221 + (http://curl.haxx.se/bug/view.cgi?id=2870221) that libcurl returned an + incorrect return code from the internal trynextip() function which caused + him grief. This is a regression that was introduced in 7.19.1 and I find it + strange it hasn't hit us harder, but I won't persue into figuring out + exactly why. + +- Constantine Sapuntzakis: The current implementation will always set + SO_SNDBUF to CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger. The + patch doesn't do a setsockopt if SO_SNDBUF is already greater than + CURL_WRITE_SIZE. This should help folks who have set up their computer with + large send buffers. + +Daniel Stenberg (27 Sep 2009) +- I introduced a maximum limit for received HTTP headers. It is controlled by + the define CURL_MAX_HTTP_HEADER which is even exposed in the public header + file to allow for users to fairly easy rebuild libcurl with a modified + limit. The rationale for a fixed limit is that libcurl is realloc()ing a + buffer to be able to put a full header into it, so that it can call the + header callback with the entire header, but that also risk getting it into + trouble if a server by mistake or willingly sends a header that is more or + less without an end. The limit is set to 100K. + +Daniel Stenberg (26 Sep 2009) +- John P. McCaskey posted a bug report that showed how libcurl did wrong when + saving received cookies with no given path, if the path in the request had a + query part. That is means a question mark (?) and characters on the right + side of that. I wrote test case 1105 and fixed this problem. + +Kamil Dudka (26 Sep 2009) +- Implemented a protocol independent way to specify blocking direction, used by + transfer.c for blocking. It is currently used only by SCP and SFTP protocols. + This enhancement resolves an issue with 100% CPU usage during SFTP upload, + reported by Vourhey. + +Daniel Stenberg (25 Sep 2009) +- Chris Mumford filed bug report #2861587 + (http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used + the OpenSSL function X509_load_crl_file() wrongly and failed if it would + load a CRL file with more than one certificate within. This is now fixed. + +Daniel Stenberg (16 Sep 2009) +- Sven Anders reported that we introduced a cert verfication flaw for OpenSSL- + powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name + field in the certficate it had to match and so even if non-DNS and non-IP + entry was present it caused the verification to fail. + +Daniel Fandrich (15 Sep 2009) +- Moved the libssh2 checks after the SSL library checks. This helps when + statically linking since libssh2 needs the SSL library link flags to be + set up already to satisfy its dependencies. This wouldn't be necessary if + the libssh2 configure check was changed to use pkg-config since the + --static flag would add the dependencies automatically. + +Yang Tse (14 Sep 2009) +- Revert Joshua Kwan's patch committed 11 Sep 2009. + + Some systems poll function sets POLLHUP in revents without setting + POLLIN, and sets POLLERR without setting POLLIN and POLLOUT. In some + libcurl code execution paths this could trigger busy wait loops with + high CPU usage until a timeout condition aborted the loop. + + The reverted patch addressed the above issue for a very specific case, + when awaiting c-ares to resolve. A libcurl-wide fix for Curl_poll now + superceeds this one. + +Guenter Knauf (11 Sep 2009) +- Joshua Kwan provided a patch to pass POLLERR / POLLHUP back to c-ares. + This fixes a loop problem with high CPU usage. + +Daniel Stenberg (10 Sep 2009) +- Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epoch + start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0 + which internally then is treated as a session cookie. That particular date + is now made to get the value of 1. + +Daniel Stenberg (2 Sep 2009) +- Daniel Johnson found a flaw in the code converting sftp-errors to libcurl + errors. + +Daniel Stenberg (1 Sep 2009) +- Peter Sylvester made a debug feature for Curl_resolv() that now will force + libcurl to resolve 'localhost' whatever name you use in the URL *if* you set + the --interface option to (exactly) "LocalHost". This will enable us to + write tests for custom hosts names but still use a local host server. + +- configure now tries to use pkg-config for a number of sub-dependencies even + when cross-compiling. The key to success is then you properly setup + PKG_CONFIG_PATH before invoking configure. + + I also improved how NSS is detected by trying nss-config if pkg-config isn't + present, and as a last resort just use the lib name and force the user to + setup the LIBS/LDFLAGS/CFLAGS etc properly. The previous last resort would + add a range of various libs that would almost never be quite correct. + +Daniel Stenberg (31 Aug 2009) +- When using the multi interface with FTP and you asked for NOBODY, you did no + QUOTE commands and the request used the same path as the connection had + already changed to, it would decide that no commands would be necessary for + the "DO" action and that was not handled properly but libcurl would instead + hang. + +Kamil Dudka (28 Aug 2009) +- Improved error message for not matching certificate subject name in + libcurl-NSS. Originally reported at: + https://bugzilla.redhat.com/show_bug.cgi?id=516056#c9 + +Patrick Monnerat (24 Aug 2009) +- Introduced a SYST-based test to properly set-up name format when dealing + with the OS/400 FTP server. + +- Fixed an ftp_readresp() bug preventing detection of failing control socket + and causing FTP client to loop forever. + +Daniel Stenberg (24 Aug 2009) +- Marc de Bruin pointed out that configure --with-gnutls=PATH didn't work + properly and provided a fix. http://curl.haxx.se/bug/view.cgi?id=2843008 + +- Eric Wong introduced support for the new option -T. (dot) that makes curl + read stdin in a non-blocking fashion. This also brings back -T- (minus) to + the previous blocking behavior since it could break stuff for people at + times. + +Michal Marek (21 Aug 2009) +- With CURLOPT_PROXY_TRANSFER_MODE, avoid sending invalid URLs like + ftp://example.com;type=i if the user specified ftp://example.com without the + slash. + +Daniel Stenberg (21 Aug 2009) +- Andre Guibert de Bruet pointed out a missing return code check for a + strdup() that could lead to segfault if it returned NULL. I extended his + suggest patch to now have Curl_retry_request() return a regular return code + and better check that. + +- Lots of good work by Krister Johansen, mostly related to pipelining: + + Fix SIGSEGV on free'd easy_conn when pipe unexpectedly breaks + Fix data corruption issue with re-connected transfers + Fix use after free if we're completed but easy_conn not NULL + +Kamil Dudka (13 Aug 2009) +- Changed NSS code to not ignore the value of ssl.verifyhost and produce more + verbose error messages. Originally reported at: + https://bugzilla.redhat.com/show_bug.cgi?id=516056 + +Daniel Stenberg (12 Aug 2009) +- Karl Moerder fixed the Makefile.vc* makefiles to include the new file + nonblock.c so that they work fine again + +- I expanded test 517 with a bunch of more dates that originate from the + Chrome browser test suite. It turns out most of them get parsed the same + way. + +Version 7.19.6 (12 August 2009) + +Daniel Stenberg (12 Aug 2009) +- Carsten Lange reported a bug and provided a patch for TFTP upload and the + sending of the TSIZE option. I don't like fixing bugs just hours before + a release, but since it was broken and the patch fixes this for him I decided + to get it in anyway. + +Daniel Stenberg (11 Aug 2009) +- Peter Sylvester made the HTTPS test server use specific certificates for + each test, so that the test suite can now be used to actually test the + verification of cert names etc. This made an error show up in the OpenSSL- + specific code where it would attempt to match the CN field even if a + subjectAltName exists that doesn't match. This is now fixed and verified + in test 311. + +- Benbuck Nason posted the bug report #2835196 + (http://curl.haxx.se/bug/view.cgi?id=2835196), fixing a few compiler + warnings when mixing ints and bools. + +Daniel Fandrich (10 Aug 2009) +- Fixed a memory leak in the FTP code and an off-by-one heap buffer overflow. + +Daniel Fandrich (9 Aug 2009) +- Fixed some memory leaks in the command-line tool that caused most of the + torture tests to fail. + +Daniel Stenberg (2 Aug 2009) +- Curt Bogmine reported a problem with SNI enabled on a particular server. We + should introduce an option to disable SNI, but as we're in feature freeze + now I've addressed the obvious bug here (pointed out by Peter Sylvester): we + shouldn't try to enable SNI when SSLv2 or SSLv3 is explicitly selected. + Code for OpenSSL and GnuTLS was fixed. NSS doesn't seem to have a particular + option for SNI, or are we simply not using it? + +Daniel Stenberg (1 Aug 2009) +- Scott Cantor posted the bug report #2829955 + (http://curl.haxx.se/bug/view.cgi?id=2829955) mentioning the recent SSL cert + verification flaw found and exploited by Moxie Marlinspike. The presentation + he did at Black Hat is available here: + https://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike + + Apparently at least one CA allowed a subjectAltName or CN that contain a + zero byte, and thus clients that assumed they would never have zero bytes + were exploited to OK a certificate that didn't actually match the site. Like + if the name in the cert was "example.com\0theatualsite.com", libcurl would + happily verify that cert for example.com. + + libcurl now better uses the length of the extracted name, not using the zero + termination for getting the string length. + + This fixing only made and needed in OpenSSL interfacing code. + +- Tanguy Fautre pointed out that OpenSSL's function RAND_screen() (present + only in some OpenSSL installs - like on Windows) isn't thread-safe and we + agreed that moving it to the global_init() function is a decent way to deal + with this situation. + +- Alexander Beedie provided the patch for a noproxy problem: If I have set + CURLOPT_NOPROXY to "*", or to a host that should not use a proxy, I actually + could still end up using a proxy if a proxy environment variable was set. + +Daniel Stenberg (27 Jul 2009) +- All the quote options (CURLOPT_QUOTE, CURLOPT_POSTQUOTE and + CURLOPT_PREQUOTE) now accept a preceeding asterisk before the command to + send when using FTP, as a sign that libcurl shall simply ignore the response + from the server instead of treating it as an error. Not treating a 400+ FTP + response code as an error means that failed commands will not abort the + chain of commands, nor will they cause the connection to get disconnected. + +Daniel Stenberg (26 Jul 2009) +- Johan van Selst posted bug report #2825989 + (http://curl.haxx.se/bug/view.cgi?id=2825989) pointing out that + OpenSSL-powered libcurl didn't support the SHA-2 digest algorithm, and + provided the solution too: to use OpenSSL_add_all_algorithms() in addition + to the older SSLeay_* alternative. OpenSSL_add_all_algorithms was added in + OpenSSL 0.9.5 + +Daniel Stenberg (23 Jul 2009) +- Added CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION, CURLOPT_SSH_KEYDATA. + They introduce known_host support for SSH keys to libcurl. See docs for + details. Note that this feature depends on a new enough libssh2 version, to + be supported in libssh2 1.2 and later (or current git repo at this time). + +Michal Marek (22 Jul 2009) +- David Binderman found a memory and fd leak in lib/gtls.c:load_file() + (https://bugzilla.novell.com/523919). When looking at the code, I found that + also the ptr pointer can leak. + +Kamil Dudka (20 Jul 2009) +- Claes Jakobsson improved the support for client certificates handling in + NSS-powered libcurl. Now the client certificates can be selected + automatically by a NSS built-in hook. Additionally pre-login to all PKCS11 + slots is no more performed. It used to cause problems with HW tokens. + +- Fixed reference counting for NSS client certificates. Now the PEM reader + module should be always properly unloaded on Curl_nss_cleanup(). If the + unload fails though, libcurl will try to reuse the already loaded instance. + +Daniel Fandrich (15 Jul 2009) +- Added nonblock.c to the non-automake makefiles (note that the dependencies + in the Watcom makefiles aren't quite correct). + +Michal Marek (15 Jul 2009) +- Changed the description of CURLINFO_OS_ERRNO to make it clear that the + errno is not reset on success. + +Guenter Knauf (14 Jul 2009) +- renamed generated config.h to curl_config.h to avoid any future clashes + with config.h from other projects. + +Daniel Stenberg (9 Jul 2009) +- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for + setting a file descriptor non-blocking. Used by the functionality Eric + himself brough on June 15th. + +Daniel Stenberg (8 Jul 2009) +- Constantine Sapuntzakis posted bug report #2813123 + (http://curl.haxx.se/bug/view.cgi?id=2813123) and an a patch that fixes the + problem: + + Url A is accessed using auth. Url A redirects to Url B (on a different + server0. Url B reuses a persistent connection. Url B has auth, even though + it's on a different server. + + Note: if Url B does not reuse a persistent connection, auth is not sent. + + reason: + + data->state.first_host is not initialized becuase Curl_http_connect is not + called when a connection is reused. + + Solution: + + move initialization of data->state.first_host to Curl_http. No code before + Curl_http uses data->state.first_host anyway. + +Guenter Knauf (4 Jul 2009) +- Markus Koetter provided a patch to avoid getnameinfo() usage which broke a + couple of both IPv4 and IPv6 autobuilds. + +Daniel Stenberg (29 Jun 2009) +- Markus Koetter made CURLOPT_FTPPORT (and curl's -P/--ftpport) support a port + range if given colon-separated after the host name/address part. Like + "192.168.0.1:2000-10000" + +- Modified the separators used for CURLOPT_CERTINFO in multi-part outputs. I + don't know how they got wrong in the first place, but using this output + format makes it possible to quite easily separate the string into an array + of multiple items. + +Daniel Fandrich (16 June 2009) +- Added a few more compiler warning options for gcc. + +Daniel Stenberg (16 Jun 2009) +- Reuven Wachtfogel made curl -o - properly produce a binary output on windows + (no newline translations). Use -B/--use-ascii if you rather get the ascii + approach. + +Michal Marek (16 Jun 2009) +- When doing non-anonymous ftp via http proxies and the password is not + provided in the url, add it there (squid needs this). + +Daniel Stenberg (15 Jun 2009) +- Eric Wong's patch: + + This allows curl(1) to be used as a client-side tunnel for arbitrary stream + protocols by abusing chunked transfer encoding in both the HTTP request and + HTTP response. This requires server support for sending a response while a + request is still being read, of course. + + If attempting to read from stdin returns EAGAIN, then we pause our sender. + This leaves curl to attempt to read from the socket while reading from stdin + (and thus sending) is paused. + + This change was needed to allow successfully tunneling the git protocol over + HTTP (--no-buffer is needed, as well). + +Patrick Monnerat (15 Jun 2009) +- Replaced use of standard C library rand()/srand() by our own pseudo-random + number generator. + +Yang Tse (11 Jun 2009) +- I adapted testcurl script to allow building test harness programs when + cross-compiling for a *-*-mingw* host. + +Daniel Stenberg (10 Jun 2009) +- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and + contributed a range of patches to fix them. + +Yang Tse (10 Jun 2009) +- I introduced configure script option --enable-curldebug which now allows + the decoupled enabling or disabling of the curl debug memory tracking + feature from the --enable-debug option which no longer controls this. + + curl --version will list 'Debug' feature for debug enabled builds, and + will list 'TrackMemory' feature for curl debug memory tracking capable + builds. These features are independent and can be controlled when running + the configure script. When --enable-debug is given both features will be + enabled, unless some restriction prevents memory tracking from being used. + + Internally, definition of preprocessor symbol DEBUGBUILD restricts code + which is only compiled for debug enabled builds. And symbol CURLDEBUG is + used to differentiate code which is _only_ used for memory tracking. + +Yang Tse (9 Jun 2009) +- Daniel Steinberg pointed out that Curl_FormInit() in formdata.c was not + initializing the fread callback pointer and this triggered a compiler + warning, also provided a friendly suggestion on how to fix it. + +Daniel Stenberg (8 Jun 2009) +- Claes Jakobsson provided a patch for libcurl-NSS that fixed a bad refcount + issue with client certs that caused issues like segfaults. + http://curl.haxx.se/mail/lib-2009-05/0316.html + +- Triggered by bug report #2798852 and the patch in there, I fixed configure + to detect gnutls build options with pkg-config only and not libgnutls-config + anymore since GnuTLS has stopped distributing that tool. If an explicit path + is given to configure, we will instead guess on how to link and use that + lib. I did not use the patch from the bug report. + +Yang Tse (8 Jun 2009) +- Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers + included from Makefile.inc, and provided docs\INSTALL VxWorks section. + +- I removed buildconf.bat from release and daily snapshot archives. This + file is only for CVS tree checkout builds. + +Daniel Stenberg (8 Jun 2009) +- Eric Wong fixed --no-buffer to actually switch off output buffering. Been + broken since 7.19.0 + +Bill Hoffman (6 Jun 2009) +- Added some cmake docs and fixed socklen_t in the build. + +Yang Tse (5 Jun 2009) +- John E. Malmberg provided VMS specific patch: "This fixes an existing bug + in urlglob.c where it was not converting the Curl Unix exit code to a VMS + DCL compatible exit code. This fix required the enhancement described next. + This also adds an enhancement to main.c so that when curl is run under a + Unix shell like Bash on VMS, it will return the standard Unix exit codes + and messages." And another patch for docs/examples. + + I introduced os-specific.c and os-specific.h for use in curl tool code + and adjusted John E. Malmberg's patch placement to use these new files + as an effort to prevent main.c from growing ad infinitum. Code already + existing in main.c which is OS specific should be moved into these files. + +Daniel Stenberg (4 June 2009) +- Setting the Content-Length: header from your app when you do a POST or PUT + is almost always a VERY BAD IDEA. Yet there are still apps out there doing + this, and now recently it triggered a bug/side-effect in libcurl as when + libcurl sends a POST or PUT with NTLM, it sends an empty post first when it + knows it will just get a 401/407 back. If the app then replaced the + Content-Length header, it caused the server to wait for input that libcurl + wouldn't send. Aaron Oneal reported this problem in bug report #2799008 + (http://curl.haxx.se/bug/view.cgi?id=2799008) and helped us verify the fix. + +Yang Tse (4 Jun 2009) +- Igor Novoseltsev provided patches and information, that after some + adjustments to better fit curl's way of doing things, have resulted + in the posibility of building libcurl for VxWorks. + +Daniel Fandrich (2 June 2009) +- Checked in a Google Android make file. To use it, you must first + create a config.h file by running configure in the Android environment, + which doesn't seem to be easy to do. If no easy way can be found, a + static config-android.h may need to be created and checked in to the + libcurl source tree. + +Daniel Stenberg (1 June 2009) +- Claes Jakobsson fixed the configure script to better find and use NSS + without pkg-config. + +Yang Tse (1 Jun 2009) +- John E. Malmberg provided a VMS specific clean-up for curl.h, and pointed + out that the configure script was failing to detect the timeval struct on + VMS when building with _XOPEN_SOURCE_EXTENDED undefined due to definition + taking place in socket.h instead of time.h. I have adjusted configure + script to also include this header when checking struct timeval. + +Daniel Stenberg (27 May 2009) +- Frank McGeough provided a small OpenSSL #include fix to make libcurl compile + fine with Nokia 5th edition 1.0 SDK for Symbian. + +- Andre Guibert de Bruet found a call to a OpenSSL function that didn't check + for a failure properly. + +- Mike Crowe pointed out that setting CURLOPT_USERPWD to NULL used to clear + the auth credentials back in 7.19.0 and earlier while now you have to set "" + to get the same effect. His patch brings back the ability to use NULL. + +- Claes Jakobsson fixed libcurl-NSS to build fine even without the + PK11_CreateGenericObject() function. + +Daniel Stenberg (25 May 2009) +- bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed + out that the cookie parser would leak memory when it parses cookies that are + received with domain, path etc set multiple times in the same header. While + such a cookie is questionable, they occur in the wild and libcurl no longer + leaks memory for them. I added such a header to test case 8. + +Daniel Fandrich (22 May 2009) +- Removed some obsolete digest code that caused a valgrind error in test 551. + +Daniel Fandrich (20 May 2009) +- Added "non-existing host" test keywords to make it easy to skip those + tests on machines that have broken DNS configurations (such as + those configured to use OpenDNS). + +Daniel Stenberg (19 May 2009) +- Kamil Dudka brought the patch from the Redhat bug entry + https://bugzilla.redhat.com/show_bug.cgi?id=427966 which was libcurl closing + a bad file descriptor when closing down the FTP data connection. Caolan + McNamara seems to be the original author of it. + +Version 7.19.5 (18 May 2009) + +Daniel Stenberg (17 May 2009) +- James Bursa posted a patch to the mailing list that fixed a problem with + no_proxy which made it not skip the proxy if the URL entered contained a + user name. I added test case 1101 to verify. + +Daniel Stenberg (11 May 2009) +- Balint Szilakszi reported a memory leak when libcurl did gzip decompression + of streams that had some parts (legitimately) missing. We now provide and use + a proper cleanup function for the content encoding submodule. + http://curl.haxx.se/mail/lib-2009-05/0092.html + +- Kamil Dudka provided a fix for libcurl-NSS reported by Michael Cronenworth + at https://bugzilla.redhat.com/show_bug.cgi?id=453612#c12 + + If an incorrect password is given while loading a private key, libcurl ends + up in an infinite loop consuming memory. The bug is critical. + +- I fixed the problem with doing NTLM, POST and then following a 302 redirect, + as reported by Ebenezer Ikonne (on curl-users) and Laurent Rabret (on + curl-library). The transfer was mistakenly marked to get more data to send + but since it didn't actually have that, it just hung there... + +Daniel Stenberg (10 May 2009) +- Andre Guibert de Bruet correctly pointed out an over-alloc with one wasted + byte in the digest code. + +Yang Tse (9 May 2009) +- Removed DOS and TPF package's subdirectory Makefile.am, it was only used + to include some files in the distribution tarball serving no other purpose. + Files from the DOS and TPF subdirectories are now included in the EXTRA_DIST + of the Makefile in the parent subdirectory. + +Yang Tse (8 May 2009) +- Changed host name literal in several tests to one under the haxx.se domain. + +- Renamed vc6 workspace and project files to avoid filename clash when used + for conversion to later VS versions. + +Daniel Stenberg (8 May 2009) +- Constantine Sapuntzakis fixed bug report #2784055 + (http://curl.haxx.se/bug/view.cgi?id=2784055) identifying a problem to + connect to SOCKS proxies when using the multi interface. It turned out to + almost not work at all previously. We need to wait for the TCP connect to + be properly verified before doing the SOCKS magic. + + There's still a flaw in the FTP code for this. + +Daniel Stenberg (7 May 2009) +- Made the SO_SNDBUF setting for the data connection socket for ftp uploads as + well. See change 28 Apr 2009. + +Yang Tse (7 May 2009) +- Fixed an issue affecting FTP transfers, introduced with the transfer.c + patch committed May 4. + +Daniel Stenberg (7 May 2009) +- Man page *roff problems fixed thanks to input from Colin Watson. Problems + reported in the Debian package. + +- Vijay G filed bug report #2723236 + (http://curl.haxx.se/bug/view.cgi?id=2723236) identifying a problem with + libcurl's TFTP code and its lack of dealing with the OACK packet. + +Yang Tse (5 May 2009) +- Fixed the --ftp-port address of test #251 to the CLIENTIP address, and + reverted the change affecting test suite harness committed 4 May. + +Daniel Stenberg (5 May 2009) +- Inspired by Michael Smith's session id fix for OpenSSL, I did the + corresponding fix in the GnuTLS code: make sure to store the new session id + in case the previous re-used one is rejected. + +Daniel Stenberg (4 May 2009) +- Michael Smith posted bug report #2786255 + (http://curl.haxx.se/bug/view.cgi?id=2786255) with a patch, identifying how + libcurl did not deal with SSL session ids properly if the server rejected a + re-use of one. Starting now, it will forget the rejected one and remember + the new. This change was for OpenSSL only, it is likely that other SSL lib + code needs similar fixes. + +Yang Tse (4 May 2009) +- Applied David McCreedy's "transfer.c fixes for CURL_DO_LINEEND_CONV and + non-ASCII platform HTTP requests" patch addressing two HTTP PUT problems: + 1) On non-ASCII platforms not all of the protocol portions of the PUT are + being translated to ASCII. 2) On all platforms the line endings of part of + the protocol portions are mangled from CRLF to CRCRLF if data->set.crlf or + data->set.prefer_ascii are set (depending on CURL_DO_LINEEND_CONV). + +- Applied David McCreedy's patch to fix test suite harness to allow test FTP + server and client on different machines, providing FTP client address when + running the FTP test server. + +Daniel Fandrich (3 May 2009) +- Added and disabled test case 563 which shows KNOWN_BUGS #59. The bug + report failed to mention that a proxy must be used to reproduce it. + +Yang Tse (2 May 2009) +- Use a build-time configured curl_socklen_t data type instead of socklen_t. + +Yang Tse (1 May 2009) +- Applied David McCreedy's patches "TPF-platform specific changes to various + files" and "http.c fix to Curl_proxyCONNECT for non-ASCII platforms", the + former with minor edits. + +Daniel Stenberg (30 Apr 2009) +- I was going to fix issue #59 in KNOWN_BUGS + + If the CURLOPT_PORT option is used on an FTP URL like + "ftp://example.com/file;type=A" the ";type=A" is stripped off. + + I added test case 562 to verify, only to find out that I couldn't repeat + this bug so I hereby consider it not a bug anymore! + +Daniel Stenberg (29 Apr 2009) +- Based on bug report #2723219 (http://curl.haxx.se/bug/view.cgi?id=2723219) + I've now made TFTP "connections" not being kept for re-use within libcurl. + TFTP is UDP-based so the benefit was really low (if even existing) to begin + with so instead of tracking down to fix this problem we instead removed the + re-use. I also enabled test case 1099 that I wrote a few days ago to verify + that this change fixes the reported problem. + +Daniel Stenberg (28 Apr 2009) +- Constantine Sapuntzakis filed bug report #2783090 + (http://curl.haxx.se/bug/view.cgi?id=2783090) pointing out that on windows + we need to grow the SO_SNDBUF buffer somewhat to get really good upload + speeds. http://support.microsoft.com/kb/823764 has the details. Friends + confirmed that simply adding 32 to CURL_MAX_WRITE_SIZE is enough. + +- Bug report #2709004 (http://curl.haxx.se/bug/view.cgi?id=2709004) by Tim + Chen pointed out how curl couldn't upload with resume when reading from a + pipe. + + This ended up with the introduction of a new return code for the + CURLOPT_SEEKFUNCTION callback that basically says that the seek failed but + that libcurl may try to resolve the situation anyway. In our case this means + libcurl will attempt to instead read that much data from the stream instead + of seeking and that way curl can now upload with resume when data is read + from a stream! + +Daniel Stenberg (26 Apr 2009) +- Bug report #2779733 (http://curl.haxx.se/bug/view.cgi?id=2779733) by Sven + Wegener pointed out that CURLINFO_APPCONNECT_TIME didn't work with the multi + interface and provided a patch that fixed the problem! + +Daniel Stenberg (24 Apr 2009) +- Kamil Dudka fixed another NSS-related leak when client certs were used. + +- Bug report #2779245 (http://curl.haxx.se/bug/view.cgi?id=2779245) by Rainer + Koenig pointed out that the man page didn't tell that the *_proxy + environment variables can be specified lower case or UPPER CASE and the + lower case takes precedence, + +Daniel Fandrich (21 Apr 2009) +- Added new libcurl source files to Amiga, RiscOS and VC6 build files. + +Yang Tse (21 Apr 2009) +- Moved potential inclusion of system's malloc.h and memory.h header files to + setup_once.h. Inclusion of each header file is based on the definition of + NEED_MALLOC_H and NEED_MEMORY_H respectively. + + Renamed libcurl's memory.h to curl_memory.h + +Daniel Stenberg (20 Apr 2009) +- Leanic Lefever reported a crash and did some detailed research on why and + how it occurs (http://curl.haxx.se/mail/lib-2009-04/0289.html). The + conclusion was that if an error is detected and Curl_done() is called for + the connection, ftp_done() could at times return another error code that + then would take precedence and that new code confused existing logic that + works for the first error code (CURLE_SEND_ERROR) only. + +- Gisle Vanem noticed that --libtool would produce bogus strings at times for + OBJECTPOINT options. Now we've introduced a new function - my_setopt_str - + within the app for setting plain string options to avoid the risk of this + mistake happening. + +Daniel Stenberg (17 Apr 2009) +- Pramod Sharma reported and tracked down a bug when doing FTP over a HTTP + proxy. libcurl would then wrongly close the connection after each + request. In his case it had the weird side-effect that it killed NTLM auth + for the proxy causing an inifinite loop! + + I added test case 1098 to verify this fix. The test case does however not + properly verify that the transfers are done persistently - as I couldn't + think of a clever way to achieve it right now - but you need to read the + stderr output after a test run to see that it truly did the right thing. + +Daniel Stenberg (13 Apr 2009) +- bug report #2727981 (http://curl.haxx.se/bug/view.cgi?id=2727981) by Martin + Storsjö pointed out how setting CURLOPT_NOBODY to 0 could be downright + confusing as it set the method to either GET or HEAD. The example he showed + looked like: + + curl_easy_setopt(curl, CURLOPT_PUT, 1); + curl_easy_setopt(curl, CURLOPT_NOBODY, 0); + + The new way doesn't alter the method until the request is about to start. If + CURLOPT_NOBODY is then 1 the HTTP request will be HEAD. If CURLOPT_NOBODY is + 0 and the request happens to have been set to HEAD, it will then instead be + set to GET. I believe this will be less surprising to users, and hopefully + not hit any existing users badly. + +- Toshio Kuratomi reported a memory leak problem with libcurl+NSS that turned + out to be leaking cacerts. Kamil Dudka helped me complete the fix. The issue + is found in Redhat's bug tracker: + https://bugzilla.redhat.com/show_bug.cgi?id=453612 + + There are still memory leaks present, but they seem to have other reasons. + +Daniel Fandrich (11 Apr 2009) +- Added new libcurl source files to Symbian OS build files. +- Improved Symbian support for SSL. + +Yang Tse (10 Apr 2009) +- Daniel Johnson improved the MacOSX-Framework shell script to now perform all + the steps required to build a Mac OS X four way fat ppc/i386/ppc64/x86_64 + libcurl.framework. Four way fat framework requires OS X 10.5 SDK or later. + +Yang Tse (8 Apr 2009) +- Removed Sun compilers preprocessor block from curlbuild.h.dist, this also + removes it from the curlbuild.h file originally distributed by the cURL + project as this file is intended for systems not capable of running the + configure script. For those who have been building curl out of the source + code curl distribution tarball provided by curl.haxx.se the change implies + nothing. Previous change in this area committed 2 Apr becomes irrelevant. + +Daniel Stenberg (6 Apr 2009) +- I clarified in the docs that CURLOPT_SEEKFUNCTION should return 0 on success + and 1 on fatal errors. Previously it only mentioned non-zero on fatal + errors. This is a slight change in meaning, but it follows what we've done + elsewhere before and it opens up for LOTS of more useful return codes + whenever we can think of them... + +Yang Tse (2 Apr 2009) +- Fix curl_off_t definition for builds done using Sun compilers and a + non-configured libcurl. In this case curl_off_t data type was gated + to the off_t data type which depends on the _FILE_OFFSET_BITS. This + configuration is exactly the unwanted configuration for our curl_off_t + data type which must not depend on such setting. This breaks ABI for + libcurl libraries built with Sun compilers which were built without + having run the configure script with _FILE_OFFSET_BITS different than + 64 and using the ILP32 data model. + +Daniel Stenberg (1 Apr 2009) +- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a + strdup() call failed. + +Daniel Fandrich (31 Mar 2009) +- Properly return an error code in curl_easy_recv (reported by Jim Freeman). + +Daniel Stenberg (18 Mar 2009) +- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when + NSS is used. These ciphers were added in NSS 3.4 and require to be enabled + explicitly. + +Daniel Stenberg (13 Mar 2009) +- Use libssh2_version() to present the libssh2 version in case the libssh2 + library is found to support it. + +Yang Tse (12 Mar 2009) +- Added missing Curl_read() return code checking in TELNET transfers. + +- Pierre Brico found and fixed TELNET transfers not being aborted upon + a write callback failure. + +Daniel Stenberg (11 Mar 2009) +- Kamil Dudka made the curl tool properly call curl_global_init() before any + other libcurl function. + +Yang Tse (11 Mar 2009) +- Added missing TELNET timeout support for Windows builds. This issue was + reported by Pierre Brico. + +Daniel Stenberg (9 Mar 2009) +- Frank Hempel found out a bug and provided the fix: + + curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE + option. It only enabled the cookie engine in the destination handle if + data->cookies is not NULL (where data is the source handle). In case of a + newly initialized handle which just had the cookie support enabled by a + curl_easy_setopt(handle, CURL_COOKIEFILE, "")-call, handle->cookies was + still NULL because the setopt-call only appends the value to + data->change.cookielist, hence duplicating this handle would not have the + cookie engine switched on. + + We also concluded that the slist-functionality would be suitable for being + put in its own module rather than simply hanging out in lib/sendf.c so I + created lib/slist.[ch] for them. + +- Andreas Farber made the 'buildconf' script check for the presence of m4 + scripts to make it detect a bad checkout earlier. People with older + checkouts who don't do cvs update with the -d option won't get the new dirs + and then will get funny outputs that can be a bit hard to understand and + fix. + +Daniel Stenberg (8 Mar 2009) +- Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the + allocation of the memory BIO was not being properly checked. + +- Andre Guibert de Bruet fixed the gnutls-using code: There are a few places + in the gnutls code where we were checking for negative values for errors, + when the man pages state that GNUTLS_E_SUCCESS is returned on success and + other values indicate error conditions. + +- Bill Egert pointed out (http://curl.haxx.se/bug/view.cgi?id=2671602) that + curl didn't use sprintf() in a way that is documented to work in POSIX but + since we use our own printf() code (from libcurl) that shouldn't be a + problem. Nonetheless I modified the code to not rely on such particular + features and to not cause further raised eyebrowse with no good reason. + +Daniel Fandrich (5 Mar 2009) +- Expanded the security section of the libcurl-tutorial man page to cover + more issues for authors to consider when writing robust libcurl-using + applications. + +Yang Tse (5 Mar 2009) +- Fixed NTLM authentication memory leak on SSPI enabled Windows builds. This + issue was noticed by Chris Deidun. + +Daniel Fandrich (4 Mar 2009) +- Fixed a problem with m4 quoting in the OpenSSL configure check reported + by Daniel Johnson. + +Daniel Stenberg (3 Mar 2009) +- David James brought a patch that make libcurl close (all) dead connections + whenever you attempt to open a new connection. + + 1. After cleaning up a dead connection, "continue" instead of + returning FALSE. This ensures that we clean up all dead connections, + rather than just cleaning up the first dead connection. + 2. Move up the cleanup for dead connections so that it occurs for + all connections, rather than just the connections which have the same + preferences as our current new connection. + +Version 7.19.4 (3 March 2009) + +Daniel Stenberg (3 Mar 2009) +- David Kierznowski notified us about a security flaw + (http://curl.haxx.se/docs/adv_20090303.html also known as CVE-2009-0037) in + which previous libcurl versions (by design) can be tricked to access an + arbitrary local/different file instead of a remote one when + CURLOPT_FOLLOWLOCATION is enabled. This flaw is now fixed in this release + together this the addition of two new setopt options for controlling this + new behavior: + + o CURLOPT_REDIR_PROTOCOLS controls what protocols libcurl is allowed to + follow to when CURLOPT_FOLLOWLOCATION is enabled. By default, this option + excludes the FILE and SCP protocols and thus you nee to explicitly allow + them in your app if you really want that behavior. + + o CURLOPT_PROTOCOLS controls what protocol(s) libcurl is allowed to fetch + using the primary URL option. This is useful if you want to allow a user or + other outsiders control what URL to pass to libcurl and yet not allow all + protocols libcurl may have been built to support. + +Daniel Stenberg (27 Feb 2009) +- Senthil Raja Velu reported a problem when CURLOPT_INTERFACE and + CURLOPT_LOCALPORT were used together (the local port bind failed), and + Markus Koetter provided the fix! + +Daniel Stenberg (25 Feb 2009) +- As Daniel Fandrich figured out, we must do the GnuTLS initing in the + curl_global_init() function to properly maintain the performing functions + thread-safe. We've previously (28 April 2007) moved the init to a later time + just to avoid it to fail very early when libgcrypt dislikes the situation, + but that move was bad and the fix should rather be in libgcrypt or + elsewhere. + +Daniel Stenberg (24 Feb 2009) +- Brian J. Murrell found out that Negotiate proxy authentication didn't work. + It happened because the code used the struct for server-based auth all the + time for both proxy and server auth which of course was wrong. + +Daniel Stenberg (23 Feb 2009) +- After a bug reported by James Cheng I've made curl_easy_getinfo() for + CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD return + -1 if the sizes aren't know. Previously these returned 0, make it impossible + to detect the difference between actually zero and unknown. + +Yang Tse (23 Feb 2009) +- Daniel Johnson provided a shell script that will perform all the steps needed + to build a Mac OS X fat ppc/i386 or ppc64/x86_64 libcurl.framework + +Daniel Stenberg (23 Feb 2009) +- I renamed everything in the windows builds files that used the name 'curllib' + to the proper 'libcurl' as clearly this caused confusion. + +Yang Tse (20 Feb 2009) +- Do not halt compilation when using VS2008 to build a Windows 2000 target. + +Daniel Stenberg (20 Feb 2009) +- Linus Nielsen Feltzing reported and helped me repeat and fix a problem with + FTP with the multi interface: when a transfer fails, like when aborted by a + write callback, the control connection was wrongly closed and thus not + re-used properly. + + This change is also an attempt to cleanup the code somewhat in this area, as + now the FTP code attempts to keep (better) track on pending responses + necessary to get read in ftp_done(). + +Daniel Stenberg (19 Feb 2009) +- Patrik Thunstrom reported a problem and helped me repeat it. It turned out + libcurl did a superfluous 1000ms wait when doing SFTP downloads! + + We read data with libssh2 while doing the "DO" operation for SFTP and then + when we were about to start getting data for the actual file part, the + "TRANSFER" part, we waited for socket action (in 1000ms) before doing a + libssh2-read. But in this case libssh2 had already read and buffered the + data so we ended up always just waiting 1000ms before we get working on the + data! + +Patrick Monnerat (18 Feb 2009) +- FTP downloads (i.e.: RETR) ending with code 550 now return error + CURLE_REMOTE_FILE_NOT_FOUND instead of CURLE_FTP_COULDNT_RETR_FILE. + +Daniel Stenberg (17 Feb 2009) +- Kamil Dudka made NSS-powered builds compile and run again! + +- A second follow-up change by Andre Guibert de Bruet to fix a related memory + leak like that fixed on the 14th. When zlib returns failure, we need to + cleanup properly before returning error. + +- CURLOPT_FTP_CREATE_MISSING_DIRS can now be set to 2 in addition to 1 for + plain FTP connections, and it will then allow MKD to fail once and retry the + CWD afterwards. This is especially useful if you're doing many simultanoes + connections against the same server and they all have this option enabled, + as then CWD may first fail but then another connection does MKD before this + connection and thus MKD fails but trying CWD works! The numbers can + (should?) now be set with the convenience enums now called + CURLFTP_CREATE_DIR and CURLFTP_CREATE_DIR_RETRY. + + Tests has proven that if you're making an application that uploads a set of + files to an ftp server, you will get a noticable gain in speed if you're + using multiple connections and this option will be then be very useful. + +Daniel Stenberg (14 Feb 2009) +- Andre Guibert de Bruet found and fixed a memory leak in the content encoding + code, which could happen on libz errors. + +Daniel Fandrich (12 Feb 2009) +- Added support for Digest and NTLM authentication using GnuTLS. + +Daniel Stenberg (11 Feb 2009) +- CURLINFO_CONDITION_UNMET was added to allow an application to get to know if + the condition in the previous request was unmet. This is typically a time + condition set with CURLOPT_TIMECONDITION and was previously not possible to + reliably figure out. From bug report #2565128 + (http://curl.haxx.se/bug/view.cgi?id=2565128) filed by Jocelyn Jaubert. + +Daniel Fandrich (4 Feb 2009) +- Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS + (respectively) when --with-ssl=/usr is used (patch based on FreeBSD). + +- Added an explicit buffer limit check in msdosify() (patch based on FreeBSD). + This couldn't ever overflow in curl, but might if the code were used + elsewhere or under different conditions. + +Daniel Stenberg (3 Feb 2009) +- Hidemoto Nakada provided a small fix that makes it possible to get the + CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with + CURLOPT_NOBODY set true. + +Daniel Stenberg (2 Feb 2009) +- Patrick Scott found a rather large memory leak when using the multi + interface and setting CURLMOPT_MAXCONNECTS to something less than the number + of handles you add to the multi handle. All the connections that didn't fit + in the cache would not be properly disconnected nor freed! + +- Craig A West brought us: libcurl now defaults to do CONNECT with HTTP + version 1.1 instead of 1.0 like before. This change also introduces the new + proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to + switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0 + option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0. + + I updated all test cases cases that use CONNECT and I tried to do some using + --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run. + +Daniel Stenberg (31 Jan 2009) +- When building with c-ares 1.6.1 (not yet released) or later and IPv6 support + enabled, we can now take advantage of its brand new AF_UNSPEC support in + ares_gethostbyname(). This makes test case 241 finally run fine for me with + this setup since it now parses the "::1 ip6-localhost" line fine in my + /etc/hosts file! + +Daniel Stenberg (30 Jan 2009) +- Scott Cantor filed bug report #2550061 + (http://curl.haxx.se/bug/view.cgi?id=2550061) mentioning that I failed to + properly make sure that the VC9 makefiles got included in the latest + release. I've now fixed the release script and verified it so next release + will hopefully include them properly! + +Daniel Fandrich (30 Jan 2009) +- Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for + reporting. + +Yang Tse (29 Jan 2009) +- Introduced curl_sspi.c and curl_sspi.h for the implementation of functions + Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were + named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c + Also adjusted socks_sspi.c to remove the link-time dependency on the Windows + SSPI library using it now in the same way as it was done in http_ntlm.c. + +Daniel Stenberg (28 Jan 2009) +- Markus Moeller introduced two new options to libcurl: + CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl + to do GSS-style authentication with SOCKS5 proxies. The curl tool got the + options called --socks5-gssapi-service and --socks5-gssapi-nec to enable + these. + +Daniel Stenberg (26 Jan 2009) +- Chad Monroe provided the new CURLOPT_TFTP_BLKSIZE option that allows an app + to set desired block size to use for TFTP transfers instead of the default + 512 bytes. + +- The "-no_ticket" option was introduced in Openssl0.9.8j. It's a flag to + disable "rfc4507bis session ticket support". rfc4507bis was later turned + into the proper RFC5077 it seems: http://tools.ietf.org/html/rfc5077 + + The enabled extension concerns the session management. I wonder how often + libcurl stops a connection and then resumes a TLS session. also, sending the + session data is some overhead. .I suggest that you just use your proposed + patch (which explicitly disables TICKET). + + If someone writes an application with libcurl and openssl who wants to + enable the feature, one can do this in the SSL callback. + + Sharad Gupta brought this to my attention. Peter Sylvester helped me decide + on the proper action. + +- Alexey Borzov filed bug report #2535504 + (http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with + quoted quotation marks in HTTP Digest headers didn't work. I've now added + test case 1095 that verifies my fix. + +- Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option. + They basically offer the same thing the NO_PROXY environment variable only + offered previously: list a set of host names that shall not use the proxy + even if one is specified. + +Daniel Fandrich (20 Jan 2009) +- Call setlocale() for libtest tests to test the effects of locale-induced + libc changes on libcurl. + +- Fixed a couple more locale-dependent toupper conversions, mainly for + clarity. This does fix one problem that causes ;type=i FTP URLs + to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is + used (test case 561) + +- Added tests 561 and 1091 through 1094 to test various combinations + of ;type= and ;mode= URLs that could potentially fail in the Turkish + locale. + +Daniel Stenberg (20 Jan 2009) +- Lisa Xu pointed out that the ssh.obj file was missing from the + lib/Makefile.vc6 file (and thus from the vc8 and vc9 ones too). + +Version 7.19.3 (19 January 2009) + +Daniel Stenberg (16 Jan 2009) +- Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both + 32 bit and 64 bit. + +Daniel Stenberg (15 Jan 2009) +- Tim Ansell fixed a compiler warning in lib/cookie.c + +Daniel Stenberg (14 Jan 2009) +- Grant Erickson fixed timeouts for TFTP such that specifying a + connect-timeout, a max-time or both options work correctly and as expected + by passing the correct boolean value to Curl_timeleft via the + 'duringconnect' parameter. + + With this small change, curl TFTP now behaves as expected (and likely as + originally-designed): + + 1) For non-existent or unreachable dotted IP addresses: + + a) With no options, follows the default curl 300s timeout... + b) With --connect-timeout only, follows that value... + c) With --max-time only, follows that value... + d) With both --connect-timeout and --max-time, follows the smaller value... + + and times out with a "curl: (7) Couldn't connect to server" error. + + 2) For transfers to/from a valid host: + + a) With no options, follows default curl 300s timeout for the + first XRQ/DATA/ACK transaction and the default TFTP 3600s + timeout for the remainder of the transfer... + + b) With --connect-time only, follows that value for the + first XRQ/DATA/ACK transaction and the default TFTP 3600s + timeout for the remainder of the transfer... + + c) With --max-time only, follows that value for the first + XRQ/DATA/ACK transaction and for the remainder of the + transfer... + + d) With both --connect-timeout and --max-time, follows the former + for the first XRQ/DATA/ACK transaction and the latter for the + remainder of the transfer... + + and times out with a "curl: (28) Timeout was reached" error as + appropriate. + +Daniel Stenberg (13 Jan 2009) +- Michael Wallner fixed a NULL pointer deref when calling + curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no + cookies data. + +- Stefan Teleman brought a patch to fix the default curlbuild.h file for the + SunPro compilers. + +Daniel Stenberg (12 Jan 2009) +- Based on bug report #2498665 (http://curl.haxx.se/bug/view.cgi?id=2498665) + by Daniel Black, I've now added magic to the configure script that makes it + use pkg-config to detect gnutls details as well if the existing method + (using libgnutls-config) fails. While doing this, I cleaned up and unified + the pkg-config usage when detecting openssl and nss as well. + +Daniel Stenberg (11 Jan 2009) +- Karl Moerder brought the patch that creates vc9 Makefiles, and I made + 'maketgz' now use the actual makefile targets to do the VC8 and VC9 + makefiles. + +Daniel Stenberg (10 Jan 2009) +- Emil Romanus fixed: + + When using the multi interface over HTTP and the server returns a Location + header, the running easy handle will get stuck in the CURLM_STATE_PERFORM + state, leaving the external event loop stuck waiting for data from the + ingoing socket (when using the curl_multi_socket_action stuff). While this + bug was pretty hard to find, it seems to require only a one-line fix. The + break statement on line 1374 in multi.c caused the function to skip the call + to multistate(). + + How to reproduce this bug? Well, that's another question. evhiperfifo.c in + the examples directory chokes on this bug only _sometimes_, probably + depending on how fast the URLs are added. One way of testing the bug out is + writing to hiper.fifo from more than one source at the same time. + +Daniel Fandrich (7 Jan 2009) +- Unified much of the SessionHandle initialization done in Curl_open() and + curl_easy_reset() by creating Curl_init_userdefined(). This had the side + effect of fixing curl_easy_reset() so it now also resets + CURLOPT_FTP_FILEMETHOD and CURLOPT_SSL_SESSIONID_CACHE + +Daniel Stenberg (7 Jan 2009) +- Rob Crittenden did once again provide an NSS update: + + I have to jump through a few hoops now with the NSS library initialization + since another part of an application may have already initialized NSS by the + time Curl gets invoked. This patch is more careful to only shutdown the NSS + library if Curl did the initialization. + + It also adds in a bit of code to set the default ciphers if the app that + call NSS_Init* did not call NSS_SetDomesticPolicy() or set specific + ciphers. One might argue that this lets other application developers get + lazy and/or they aren't using the NSS API correctly, and you'd be right. + But still, this will avoid terribly difficult-to-trace crashes and is + generally helpful. + +Daniel Stenberg (1 Jan 2009) +- 'reconf' is removed since we rather have users use 'buildconf' + +Daniel Stenberg (31 Dec 2008) +- Bas Mevissen reported http://curl.haxx.se/bug/view.cgi?id=2479030 pointing + out that 'reconf' didn't properly point out the m4 subdirectory when running + aclocal. + +Daniel Stenberg (29 Dec 2008) + - Phil Lisiecki filed bug report #2413067 + (http://curl.haxx.se/bug/view.cgi?id=2413067) that identified a problem that + would cause libcurl to mark a DNS cache entry "in use" eternally if the + subsequence TCP connect failed. It would thus never get pruned and refreshed + as it should've been. + + Phil provided his own patch to this problem that while it seemed to work + wasn't complete and thus I wrote my own fix to the problem. + +Daniel Stenberg (28 Dec 2008) +- Peter Korsgaard fixed building libcurl with "configure --with-ssl + --disable-verbose". + +- Anthony Bryan fixed more language and spelling flaws in man pages. + +Daniel Stenberg (22 Dec 2008) +- Given a recent enough libssh2, libcurl can now seek/resume with SFTP even + on file indexes beyond 2 or 4GB. + +- Anthony Bryan provided a set of patches that cleaned up manual language, + corrected spellings and more. + +Daniel Stenberg (20 Dec 2008) +- Igor Novoseltsev fixed a bad situation for the multi_socket() API when doing + pipelining, as libcurl could then easily get confused and A) work on the + handle that was not "first in queue" on a pipeline, or even B) tell the app + to REMOVE a socket while it was in use by a second handle in a pipeline. Both + errors caused hanging or stalling applications. + +Daniel Stenberg (19 Dec 2008) +- curl_multi_timeout() could return a timeout value of 0 even though nothing + was actually ready to get done, as the internal time resolution is higher + than the returned millisecond timer. Therefore it could cause applications + running on fast processors to do short bursts of busy-loops. + curl_multi_timeout() will now only return 0 if the timeout is actually + alreay triggered. + +- Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl + now has an improved ability to do right when the multi interface (both + "regular" and multi_socket) is used for SCP and SFTP transfers. This should + result in (much) less busy-loop situations and thus less CPU usage with no + speed loss. + +Daniel Stenberg (17 Dec 2008) +- SCP and SFTP with the multi interface had the same flaw: the 'DONE' + operation didn't complete properly if the EAGAIN equivalent was returned but + libcurl would simply continue with a half-completed close operation + performed. This ruined persistent connection re-use and cause some + SSH-protocol errors in general. The correction is unfortunately adding a + blocking function - doing it entirely non-blocking should be considered for + a better fix. + +Gisle Vanem (16 Dec 2008) +- Added the possibility to use the Watt-32 tcp/ip stack under Windows. + The change simply involved adding a USE_WATT32 section in the + config-win32.h files (under ./lib and ./src). This section disables + the use of any Winsock headers. + +Daniel Stenberg (16 Dec 2008) +- libssh2_sftp_last_error() was wrongly used at some places in libcurl which + made libcurl sometimes not properly abort problematic SFTP transfers. + +Daniel Stenberg (12 Dec 2008) +- More work with Igor Novoseltsev to first fix the remaining stuff for + removing easy handles from multi handles when the easy handle is/was within + a HTTP pipeline. His bug report #2351653 + (http://curl.haxx.se/bug/view.cgi?id=2351653) was also related and was + eventually fixed by a patch by Igor himself. + +Yang Tse (12 Dec 2008) +- Patrick Monnerat fixed a build regression, introduced in 7.19.2, affecting + OS/400 compilations with IPv6 enabled. + +Daniel Stenberg (12 Dec 2008) +- Mark Karpeles filed bug report #2416182 titled "crash in ConnectionExists + when using duphandle+curl_mutli" + (http://curl.haxx.se/bug/view.cgi?id=2416182) which showed that + curl_easy_duphandle() wrongly also copied the pointer to the connection + cache, which was plain wrong and caused a segfault if the handle would be + used in a different multi handle than the handle it was duplicated from. + +Daniel Stenberg (11 Dec 2008) +- Keshav Krity found out that libcurl failed to deal with dotted IPv6 + addresses if they were very long (>39 letters) due to a too strict address + validity parser. It now accepts addresses up to 45 bytes long. + +Daniel Stenberg (11 Dec 2008) +- Internet Explorer had a broken HTTP digest authentication before v7 and + there are servers "out there" that relies on the client doing this broken + Digest authentication. Apache even comes with an option to work with such + broken clients. + + The difference is only for URLs that contain a query-part (a '?'-letter and + text to the right of it). + + libcurl now supports this quirk, and you enable it by setting the + CURLAUTH_DIGEST_IE bit in the bitmask you pass to the CURLOPT_HTTPAUTH or + CURLOPT_PROXYAUTH options. They are thus individually controlled to server + and proxy. + + (note that there's no way to activate this with the curl tool yet) + +Daniel Fandrich (9 Dec 2008) +- Added test cases 1089 and 1090 to test --write-out after a redirect to + test a report that the size didn't work, but these test cases pass. + +- Documented CURLOPT_CONNECT_ONLY as being useful only on HTTP URLs. + +Daniel Stenberg (9 Dec 2008) +- Ken Hirsch simplified how libcurl does FTPS: now it doesn't assume any + particular state for the control connection like it did before for implicit + FTPS (libcurl assumed such control connections to be encrypted while some + FTPS servers such as FileZilla assumes such connections to be clear + mode). Use the CURLOPT_USE_SSL option to set your desired level. + +Daniel Stenberg (8 Dec 2008) +- Fred Machado posted about a weird FTP problem on the curl-users list and when + researching it, it turned out he got a 550 response back from a SIZE command + and then I fell over the text in RFC3659 that says: + + The presence of the 550 error response to a SIZE command MUST NOT be taken + by the client as an indication that the file cannot be transferred in the + current MODE and TYPE. + + In other words: the change I did on September 30th 2008 and that has been + included in the last two releases were a regression and a bad idea. We MUST + NOT take a 550 response from SIZE as a hint that the file doesn't exist. + +- Christian Krause filed bug #2221237 + (http://curl.haxx.se/bug/view.cgi?id=2221237) that identified an infinite + loop during GSS authentication given some specific conditions. With his + patience and great feedback I managed to narrow down the problem and + eventually fix it although I can't test any of this myself! + +Daniel Fandrich (3 Dec 2008) +- Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6 + support (e.g. Minix) + +Daniel Stenberg (3 Dec 2008) +- Igor Novoseltsev filed bug #2351645 + (http://curl.haxx.se/bug/view.cgi?id=2351645) that identified a problem with + the multi interface that occured if you removed an easy handle while in + progress and the handle was used in a HTTP pipeline. + +- Pawel Kierski pointed out a mistake in the cookie code that could lead to a + bad fclose() after a fatal error had occured. + (http://curl.haxx.se/bug/view.cgi?id=2382219) + +Daniel Fandrich (25 Nov 2008) +- If a HTTP request is Basic and num is already >=1000, the HTTP test + server adds 1 to num to get the data section to return. This allows + testing authentication negotiations using the Basic authentication + method. + +- Added tests 1087 and 1088 to test Basic authentication on a redirect + with and without --location-trusted + +Daniel Stenberg (24 Nov 2008) +- Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19 + function when built to support SCP and SFTP that helps the library to know + in which direction a particular libssh2 operation would return EAGAIN so + that libcurl knows what socket conditions to wait for before trying the + function call again. Previously (and still when using libssh2 0.18 or + earlier), libcurl will busy-loop in this situation when the easy interface + is used! + +Daniel Fandrich (20 Nov 2008) +- Automatically detect OpenBSD's CA cert bundle. + +Daniel Stenberg (19 Nov 2008) +- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is + used. It has been used since forever but it was never a good idea to use + unless explicitly asked for. + +- Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when + you use runtests.pl -g, will be sourced by gdb to allow additional fancy or + whatever you see fit + +- Christian Krause reported and fixed a memory leak that would occur with HTTP + GSS/kerberos authentication (http://curl.haxx.se/bug/view.cgi?id=2284386) + +- Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got + when uploading files to a single FTP server using multiple easy handle + handles with the multi interface. Occasionally a handle would stall in + mysterious ways. + + The problem turned out to be a side-effect of the ConnectionExists() + function's eagerness to re-use a handle for HTTP pipelining so it would + select it even if already being in use, due to an inadequate check for its + chances of being used for pipelnining. + +Daniel Fandrich (17 Nov 2008) +- Added more compiler warning options for gcc 4.3 + +Yang Tse (17 Nov 2008) +- Fix a remaining problem in the inet_pton() runtime configure check. And + fix internal Curl_inet_pton() failures to reject certain malformed literals. + +- Make configure script check if ioctl with the SIOCGIFADDR command can be + used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate. + +Daniel Stenberg (16 Nov 2008) +- Christian Krause fixed a build failure when building with gss support + enabled and FTP disabled. + +- Added check for NULL returns from strdup() in src/main.c and lib/formdata.c + - reported by Jim Meyering also prevent buffer overflow on MSDOS when you do + for example -O on a url with a file name part longer than PATH_MAX letters + +- lib/nss.c fixes based on the report by Jim Meyering: I went over and added + checks for return codes for all calls to malloc and strdup that were + missing. I also changed a few malloc(13) to use arrays on the stack and a + few malloc(PATH_MAX) to instead use aprintf() to lower memory use. + +- I fixed a memory leak in Curl_nss_connect() when CURLOPT_ISSUERCERT is + in use. + +Daniel Fandrich (14 Nov 2008) +- Added .xml as one of the few common file extensions known by the multipart + form generator. + +- Added some #ifdefs around header files and change the EAGAIN test to + fix compilation on Cell (reported by Jeff Curley). + +Yang Tse (14 Nov 2008) +- Fixed several configure script issues affecting checks for inet_ntoa_r(), + inet_ntop(), inet_pton(), getifaddrs(), fcntl() and getaddrinfo(). + +Yang Tse (13 Nov 2008) +- Refactored configure script detection of functions used to set sockets into + non-blocking mode, and decouple function detection from function capability. + diff --git a/vendor/voclient/common/curl-7.20.1/CMake/CMakeConfigurableFile.in b/vendor/voclient/common/curl-7.20.1/CMake/CMakeConfigurableFile.in new file mode 100644 index 00000000..4cf74a12 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/CMakeConfigurableFile.in @@ -0,0 +1,2 @@ +@CMAKE_CONFIGURABLE_FILE_CONTENT@ + diff --git a/vendor/voclient/common/curl-7.20.1/CMake/CheckTypeSize.c.in b/vendor/voclient/common/curl-7.20.1/CMake/CheckTypeSize.c.in new file mode 100644 index 00000000..8ff07bfd --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/CheckTypeSize.c.in @@ -0,0 +1,44 @@ +#cmakedefine CHECK_TYPE_SIZE_TYPE @CHECK_TYPE_SIZE_TYPE@ +#ifdef CHECK_TYPE_SIZE_TYPE + +@CHECK_TYPE_SIZE_PREINCLUDE@ +#ifdef HAVE_SYS_TYPES_H +# include +#endif /* HAVE_SYS_TYPES_H */ + +#ifdef HAVE_SYS_SOCKET_H +# include +#endif + +#ifdef _WIN32 +# include +# include +#endif + + +#ifdef HAVE_STDINT_H +# include +#endif /* HAVE_STDINT_H */ + +#ifdef HAVE_STDDEF_H +# include +#endif /* HAVE_STDDEF_H */ + +@CHECK_TYPE_SIZE_PREMAIN@ + +#ifdef __CLASSIC_C__ +int main(){ + int ac; + char*av[]; +#else +int main(int ac, char*av[]){ +#endif + if(ac > 1000){return *av[0];} + return sizeof(CHECK_TYPE_SIZE_TYPE); +} + +#else /* CHECK_TYPE_SIZE_TYPE */ + +# error "CHECK_TYPE_SIZE_TYPE has to specify the type" + +#endif /* CHECK_TYPE_SIZE_TYPE */ diff --git a/vendor/voclient/common/curl-7.20.1/CMake/CheckTypeSize.cmake b/vendor/voclient/common/curl-7.20.1/CMake/CheckTypeSize.cmake new file mode 100644 index 00000000..2c2ceab9 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/CheckTypeSize.cmake @@ -0,0 +1,57 @@ +# - Check sizeof a type +# CHECK_TYPE_SIZE(TYPE VARIABLE) +# Check if the type exists and determine size of type. if the type +# exists, the size will be stored to the variable. +# +# VARIABLE - variable to store size if the type exists. +# HAVE_${VARIABLE} - does the variable exists or not + +macro(CHECK_TYPE_SIZE TYPE VARIABLE) + set(CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS 1) + if(NOT DEFINED ${VARIABLE}) + if("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$") + set(CHECK_TYPE_SIZE_TYPE "${TYPE}") + set(MACRO_CHECK_TYPE_SIZE_FLAGS + "${CMAKE_REQUIRED_FLAGS}") + foreach(def HAVE_SYS_TYPES_H + HAVE_STDINT_H HAVE_STDDEF_H HAVE_SYS_SOCKET_H) + if("${def}") + set(MACRO_CHECK_TYPE_SIZE_FLAGS + "${MACRO_CHECK_TYPE_SIZE_FLAGS} -D${def}") + endif("${def}") + endforeach(def) + set(CHECK_TYPE_SIZE_PREMAIN) + foreach(def ${CMAKE_EXTRA_INCLUDE_FILES}) + set(CHECK_TYPE_SIZE_PREMAIN "${CHECK_TYPE_SIZE_PREMAIN}#include \"${def}\"\n") + endforeach(def) + configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/CMake/CheckTypeSize.c.in" + "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c" + IMMEDIATE @ONLY) + file(READ + "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c" + CHECK_TYPE_SIZE_FILE_CONTENT) + message(STATUS "Check size of ${TYPE}") + if(CMAKE_REQUIRED_LIBRARIES) + set(CHECK_TYPE_SIZE_ADD_LIBRARIES + "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") + endif(CMAKE_REQUIRED_LIBRARIES) + try_run(${VARIABLE} HAVE_${VARIABLE} + ${CMAKE_BINARY_DIR} + "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c" + CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_TYPE_SIZE_FLAGS} + "${CHECK_TYPE_SIZE_ADD_LIBRARIES}" + OUTPUT_VARIABLE OUTPUT) + if(HAVE_${VARIABLE}) + message(STATUS "Check size of ${TYPE} - done") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log + "Determining size of ${TYPE} passed with the following output:\n${OUTPUT}\n\n") + else(HAVE_${VARIABLE}) + message(STATUS "Check size of ${TYPE} - failed") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log + "Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\nCheckTypeSize.c:\n${CHECK_TYPE_SIZE_FILE_CONTENT}\n\n") + endif(HAVE_${VARIABLE}) + endif("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$") + endif(NOT DEFINED ${VARIABLE}) + set(CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS ) +endmacro(CHECK_TYPE_SIZE) diff --git a/vendor/voclient/common/curl-7.20.1/CMake/CurlCheckCSourceCompiles.cmake b/vendor/voclient/common/curl-7.20.1/CMake/CurlCheckCSourceCompiles.cmake new file mode 100644 index 00000000..b6327680 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/CurlCheckCSourceCompiles.cmake @@ -0,0 +1,75 @@ +# - Check if the source code provided in the SOURCE argument compiles. +# CURL_CHECK_C_SOURCE_COMPILES(SOURCE VAR) +# - macro which checks if the source code compiles +# SOURCE - source code to try to compile +# VAR - variable to store whether the source code compiled +# +# The following variables may be set before calling this macro to +# modify the way the check is run: +# +# CMAKE_REQUIRED_FLAGS = string of compile command line flags +# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) +# CMAKE_REQUIRED_INCLUDES = list of include directories +# CMAKE_REQUIRED_LIBRARIES = list of libraries to link + +macro(CURL_CHECK_C_SOURCE_COMPILES SOURCE VAR) + if("${VAR}" MATCHES "^${VAR}$" OR "${VAR}" MATCHES "UNKNOWN") + set(message "${VAR}") + # If the number of arguments is greater than 2 (SOURCE VAR) + if(${ARGC} GREATER 2) + # then add the third argument as a message + set(message "${ARGV2} (${VAR})") + endif(${ARGC} GREATER 2) + set(MACRO_CHECK_FUNCTION_DEFINITIONS + "-D${VAR} ${CMAKE_REQUIRED_FLAGS}") + if(CMAKE_REQUIRED_LIBRARIES) + set(CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES + "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") + else(CMAKE_REQUIRED_LIBRARIES) + set(CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES) + endif(CMAKE_REQUIRED_LIBRARIES) + if(CMAKE_REQUIRED_INCLUDES) + set(CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES + "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") + else(CMAKE_REQUIRED_INCLUDES) + set(CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES) + endif(CMAKE_REQUIRED_INCLUDES) + set(src "") + foreach(def ${EXTRA_DEFINES}) + set(src "${src}#define ${def} 1\n") + endforeach(def) + foreach(inc ${HEADER_INCLUDES}) + set(src "${src}#include <${inc}>\n") + endforeach(inc) + + set(src "${src}\nint main() { ${SOURCE} ; return 0; }") + set(CMAKE_CONFIGURABLE_FILE_CONTENT "${src}") + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMake/CMakeConfigurableFile.in + "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c" + IMMEDIATE) + message(STATUS "Performing Test ${message}") + try_compile(${VAR} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c + COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} + CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} + "${CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES}" + "${CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}" + OUTPUT_VARIABLE OUTPUT) + if(${VAR}) + set(${VAR} 1 CACHE INTERNAL "Test ${message}") + message(STATUS "Performing Test ${message} - Success") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log + "Performing C SOURCE FILE Test ${message} succeded with the following output:\n" + "${OUTPUT}\n" + "Source file was:\n${src}\n") + else(${VAR}) + message(STATUS "Performing Test ${message} - Failed") + set(${VAR} "" CACHE INTERNAL "Test ${message}") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log + "Performing C SOURCE FILE Test ${message} failed with the following output:\n" + "${OUTPUT}\n" + "Source file was:\n${src}\n") + endif(${VAR}) + endif("${VAR}" MATCHES "^${VAR}$" OR "${VAR}" MATCHES "UNKNOWN") +endmacro(CURL_CHECK_C_SOURCE_COMPILES) diff --git a/vendor/voclient/common/curl-7.20.1/CMake/CurlCheckCSourceRuns.cmake b/vendor/voclient/common/curl-7.20.1/CMake/CurlCheckCSourceRuns.cmake new file mode 100644 index 00000000..6b14af80 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/CurlCheckCSourceRuns.cmake @@ -0,0 +1,83 @@ +# - Check if the source code provided in the SOURCE argument compiles and runs. +# CURL_CHECK_C_SOURCE_RUNS(SOURCE VAR) +# - macro which checks if the source code runs +# SOURCE - source code to try to compile +# VAR - variable to store size if the type exists. +# +# The following variables may be set before calling this macro to +# modify the way the check is run: +# +# CMAKE_REQUIRED_FLAGS = string of compile command line flags +# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) +# CMAKE_REQUIRED_INCLUDES = list of include directories +# CMAKE_REQUIRED_LIBRARIES = list of libraries to link + +macro(CURL_CHECK_C_SOURCE_RUNS SOURCE VAR) + if("${VAR}" MATCHES "^${VAR}$" OR "${VAR}" MATCHES "UNKNOWN") + set(message "${VAR}") + # If the number of arguments is greater than 2 (SOURCE VAR) + if(${ARGC} GREATER 2) + # then add the third argument as a message + set(message "${ARGV2} (${VAR})") + endif(${ARGC} GREATER 2) + set(MACRO_CHECK_FUNCTION_DEFINITIONS + "-D${VAR} ${CMAKE_REQUIRED_FLAGS}") + if(CMAKE_REQUIRED_LIBRARIES) + set(CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES + "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") + else(CMAKE_REQUIRED_LIBRARIES) + set(CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES) + endif(CMAKE_REQUIRED_LIBRARIES) + if(CMAKE_REQUIRED_INCLUDES) + set(CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES + "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") + else(CMAKE_REQUIRED_INCLUDES) + set(CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES) + endif(CMAKE_REQUIRED_INCLUDES) + set(src "") + foreach(def ${EXTRA_DEFINES}) + set(src "${src}#define ${def} 1\n") + endforeach(def) + foreach(inc ${HEADER_INCLUDES}) + set(src "${src}#include <${inc}>\n") + endforeach(inc) + + set(src "${src}\nint main() { ${SOURCE} ; return 0; }") + set(CMAKE_CONFIGURABLE_FILE_CONTENT "${src}") + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMake/CMakeConfigurableFile.in + "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c" + IMMEDIATE) + message(STATUS "Performing Test ${message}") + try_run(${VAR} ${VAR}_COMPILED + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c + COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} + CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} + "${CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES}" + "${CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}" + OUTPUT_VARIABLE OUTPUT) + # if it did not compile make the return value fail code of 1 + if(NOT ${VAR}_COMPILED) + set(${VAR} 1) + endif(NOT ${VAR}_COMPILED) + # if the return value was 0 then it worked + set(result_var ${${VAR}}) + if("${result_var}" EQUAL 0) + set(${VAR} 1 CACHE INTERNAL "Test ${message}") + message(STATUS "Performing Test ${message} - Success") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log + "Performing C SOURCE FILE Test ${message} succeded with the following output:\n" + "${OUTPUT}\n" + "Return value: ${${VAR}}\n" + "Source file was:\n${src}\n") + else("${result_var}" EQUAL 0) + message(STATUS "Performing Test ${message} - Failed") + set(${VAR} "" CACHE INTERNAL "Test ${message}") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log + "Performing C SOURCE FILE Test ${message} failed with the following output:\n" + "${OUTPUT}\n" + "Return value: ${result_var}\n" + "Source file was:\n${src}\n") + endif("${result_var}" EQUAL 0) + endif("${VAR}" MATCHES "^${VAR}$" OR "${VAR}" MATCHES "UNKNOWN") +endmacro(CURL_CHECK_C_SOURCE_RUNS) diff --git a/vendor/voclient/common/curl-7.20.1/CMake/CurlTests.c b/vendor/voclient/common/curl-7.20.1/CMake/CurlTests.c new file mode 100644 index 00000000..09434589 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/CurlTests.c @@ -0,0 +1,690 @@ +#ifdef TIME_WITH_SYS_TIME +/* Time with sys/time test */ + +#include +#include +#include + +int +main () +{ +if ((struct tm *) 0) +return 0; + ; + return 0; +} + +#endif + +#ifdef HAVE_FCNTL_O_NONBLOCK + +/* headers for FCNTL_O_NONBLOCK test */ +#include +#include +#include +/* */ +#if defined(sun) || defined(__sun__) || \ + defined(__SUNPRO_C) || defined(__SUNPRO_CC) +# if defined(__SVR4) || defined(__srv4__) +# define PLATFORM_SOLARIS +# else +# define PLATFORM_SUNOS4 +# endif +#endif +#if (defined(_AIX) || defined(__xlC__)) && !defined(_AIX41) +# define PLATFORM_AIX_V3 +#endif +/* */ +#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || defined(__BEOS__) +#error "O_NONBLOCK does not work on this platform" +#endif + +int +main () +{ + /* O_NONBLOCK source test */ + int flags = 0; + if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK)) + return 1; + return 0; +} +#endif + +#ifdef HAVE_GETHOSTBYADDR_R_5 +#include +#include +int +main () +{ + +char * address; +int length; +int type; +struct hostent h; +struct hostent_data hdata; +int rc; +#ifndef gethostbyaddr_r + (void)gethostbyaddr_r; +#endif +rc = gethostbyaddr_r(address, length, type, &h, &hdata); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYADDR_R_5_REENTRANT +#define _REENTRANT +#include +#include +int +main () +{ + +char * address; +int length;q +int type; +struct hostent h; +struct hostent_data hdata; +int rc; +#ifndef gethostbyaddr_r + (void)gethostbyaddr_r; +#endif +rc = gethostbyaddr_r(address, length, type, &h, &hdata); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYADDR_R_7 +#include +#include +int +main () +{ + +char * address; +int length; +int type; +struct hostent h; +char buffer[8192]; +int h_errnop; +struct hostent * hp; + +#ifndef gethostbyaddr_r + (void)gethostbyaddr_r; +#endif +hp = gethostbyaddr_r(address, length, type, &h, + buffer, 8192, &h_errnop); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYADDR_R_7_REENTRANT +#define _REENTRANT +#include +#include +int +main () +{ + +char * address; +int length; +int type; +struct hostent h; +char buffer[8192]; +int h_errnop; +struct hostent * hp; + +#ifndef gethostbyaddr_r + (void)gethostbyaddr_r; +#endif +hp = gethostbyaddr_r(address, length, type, &h, + buffer, 8192, &h_errnop); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYADDR_R_8 +#include +#include +int +main () +{ + +char * address; +int length; +int type; +struct hostent h; +char buffer[8192]; +int h_errnop; +struct hostent * hp; +int rc; + +#ifndef gethostbyaddr_r + (void)gethostbyaddr_r; +#endif +rc = gethostbyaddr_r(address, length, type, &h, + buffer, 8192, &hp, &h_errnop); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYADDR_R_8_REENTRANT +#define _REENTRANT +#include +#include +int +main () +{ + +char * address; +int length; +int type; +struct hostent h; +char buffer[8192]; +int h_errnop; +struct hostent * hp; +int rc; + +#ifndef gethostbyaddr_r + (void)gethostbyaddr_r; +#endif +rc = gethostbyaddr_r(address, length, type, &h, + buffer, 8192, &hp, &h_errnop); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYNAME_R_3 +#include +#include +#include +#undef NULL +#define NULL (void *)0 + +int +main () +{ + +struct hostent_data data; +#ifndef gethostbyname_r + (void)gethostbyname_r; +#endif +gethostbyname_r(NULL, NULL, NULL); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYNAME_R_3_REENTRANT +#define _REENTRANT +#include +#include +#include +#undef NULL +#define NULL (void *)0 + +int +main () +{ + +struct hostent_data data; +#ifndef gethostbyname_r + (void)gethostbyname_r; +#endif +gethostbyname_r(NULL, NULL, NULL); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYNAME_R_5 +#include +#include +#include +#undef NULL +#define NULL (void *)0 + +int +main () +{ +#ifndef gethostbyname_r + (void)gethostbyname_r; +#endif +gethostbyname_r(NULL, NULL, NULL, 0, NULL); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYNAME_R_5_REENTRANT +#define _REENTRANT +#include +#include +#undef NULL +#define NULL (void *)0 + +int +main () +{ + +#ifndef gethostbyname_r + (void)gethostbyname_r; +#endif +gethostbyname_r(NULL, NULL, NULL, 0, NULL); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYNAME_R_6 +#include +#include +#undef NULL +#define NULL (void *)0 + +int +main () +{ + +#ifndef gethostbyname_r + (void)gethostbyname_r; +#endif +gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL); + ; + return 0; +} +#endif +#ifdef HAVE_GETHOSTBYNAME_R_6_REENTRANT +#define _REENTRANT +#include +#include +#undef NULL +#define NULL (void *)0 + +int +main () +{ + +#ifndef gethostbyname_r + (void)gethostbyname_r; +#endif +gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL); + ; + return 0; +} +#endif +#ifdef HAVE_SOCKLEN_T +#ifdef _WIN32 +#include +#else +#include +#include +#endif +int +main () +{ +if ((socklen_t *) 0) + return 0; +if (sizeof (socklen_t)) + return 0; + ; + return 0; +} +#endif +#ifdef HAVE_IN_ADDR_T +#include +#include +#include + +int +main () +{ +if ((in_addr_t *) 0) + return 0; +if (sizeof (in_addr_t)) + return 0; + ; + return 0; +} +#endif + +#ifdef HAVE_BOOL_T +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_STDBOOL_H +#include +#endif +int +main () +{ +if (sizeof (bool *) ) + return 0; + ; + return 0; +} +#endif + +#ifdef STDC_HEADERS +#include +#include +#include +#include +int main() { return 0; } +#endif +#ifdef RETSIGTYPE_TEST +#include +#include +#ifdef signal +# undef signal +#endif +#ifdef __cplusplus +extern "C" void (*signal (int, void (*)(int)))(int); +#else +void (*signal ()) (); +#endif + +int +main () +{ + return 0; +} +#endif +#ifdef HAVE_INET_NTOA_R_DECL +#include + +typedef void (*func_type)(); + +int main() +{ +#ifndef inet_ntoa_r + func_type func; + func = (func_type)inet_ntoa_r; +#endif + return 0; +} +#endif +#ifdef HAVE_INET_NTOA_R_DECL_REENTRANT +#define _REENTRANT +#include + +typedef void (*func_type)(); + +int main() +{ +#ifndef inet_ntoa_r + func_type func; + func = (func_type)&inet_ntoa_r; +#endif + return 0; +} +#endif +#ifdef HAVE_GETADDRINFO +#include +#include +#include + +int main(void) { + struct addrinfo hints, *ai; + int error; + + memset(&hints, 0, sizeof(hints)); + hints.ai_family = AF_UNSPEC; + hints.ai_socktype = SOCK_STREAM; +#ifndef getaddrinfo + (void)getaddrinfo; +#endif + error = getaddrinfo("127.0.0.1", "8080", &hints, &ai); + if (error) { + return 1; + } + return 0; +} +#endif +#ifdef HAVE_FILE_OFFSET_BITS +#ifdef _FILE_OFFSET_BITS +#undef _FILE_OFFSET_BITS +#endif +#define _FILE_OFFSET_BITS 64 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int main () { ; return 0; } +#endif +#ifdef HAVE_IOCTLSOCKET +/* 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 + +int +main () +{ + +/* ioctlsocket source code */ + int socket; + unsigned long flags = ioctlsocket(socket, FIONBIO, &flags); + + ; + return 0; +} + +#endif +#ifdef HAVE_IOCTLSOCKET_CAMEL +/* 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 + +int +main () +{ + +/* IoctlSocket source code */ + if(0 != IoctlSocket(0, 0, 0)) + return 1; + ; + return 0; +} +#endif +#ifdef HAVE_IOCTLSOCKET_CAMEL_FIONBIO +/* 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 + +int +main () +{ + +/* IoctlSocket source code */ + long flags = 0; + if(0 != ioctlsocket(0, FIONBIO, &flags)) + return 1; + ; + return 0; +} +#endif +#ifdef HAVE_IOCTLSOCKET_FIONBIO +/* 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 + +int +main () +{ + + int flags = 0; + if(0 != ioctlsocket(0, FIONBIO, &flags)) + return 1; + + ; + return 0; +} +#endif +#ifdef HAVE_IOCTL_FIONBIO +/* headers for FIONBIO test */ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +#ifdef HAVE_SYS_IOCTL_H +# include +#endif +#ifdef HAVE_STROPTS_H +# include +#endif + +int +main () +{ + + int flags = 0; + if(0 != ioctl(0, FIONBIO, &flags)) + return 1; + + ; + return 0; +} +#endif +#ifdef HAVE_IOCTL_SIOCGIFADDR +/* headers for FIONBIO test */ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +#ifdef HAVE_SYS_IOCTL_H +# include +#endif +#ifdef HAVE_STROPTS_H +# include +#endif +#include + +int +main () +{ + struct ifreq ifr; + if(0 != ioctl(0, SIOCGIFADDR, &ifr)) + return 1; + + ; + return 0; +} +#endif +#ifdef HAVE_SETSOCKOPT_SO_NONBLOCK +/* 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 start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +/* includes end */ + +int +main () +{ + if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) + return 1; + ; + return 0; +} +#endif +#ifdef HAVE_GLIBC_STRERROR_R +#include +#include +int +main () { + char buffer[1024]; /* big enough to play with */ + char *string = + strerror_r(EACCES, buffer, sizeof(buffer)); + /* this should've returned a string */ + if(!string || !string[0]) + return 99; + return 0; +} +#endif +#ifdef HAVE_POSIX_STRERROR_R +#include +#include +int +main () { + char buffer[1024]; /* big enough to play with */ + int error = + strerror_r(EACCES, buffer, sizeof(buffer)); + /* This should've returned zero, and written an error string in the + buffer.*/ + if(!buffer[0] || error) + return 99; + return 0; +} +#endif diff --git a/vendor/voclient/common/curl-7.20.1/CMake/FindOpenSSL.cmake b/vendor/voclient/common/curl-7.20.1/CMake/FindOpenSSL.cmake new file mode 100644 index 00000000..63a9d606 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/FindOpenSSL.cmake @@ -0,0 +1,19 @@ +# Extension of the standard FindOpenSSL.cmake +# Adds OPENSSL_INCLUDE_DIRS and libeay32 +include("${CMAKE_ROOT}/Modules/FindOpenSSL.cmake") + +# Bill Hoffman told that libeay32 is necessary for him: +find_library(SSL_LIBEAY NAMES libeay32) + +if(OPENSSL_FOUND) + if(SSL_LIBEAY) + list(APPEND OPENSSL_LIBRARIES ${SSL_LIBEAY}) + else() + set(OPENSSL_FOUND FALSE) + endif() +endif() + + +if(OPENSSL_FOUND) + set(OPENSSL_INCLUDE_DIRS ${OPENSSL_INCLUDE_DIR}) +endif() diff --git a/vendor/voclient/common/curl-7.20.1/CMake/FindZLIB.cmake b/vendor/voclient/common/curl-7.20.1/CMake/FindZLIB.cmake new file mode 100644 index 00000000..87f1d4fe --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/FindZLIB.cmake @@ -0,0 +1,8 @@ +# Locate zlib +include("${CMAKE_ROOT}/Modules/FindZLIB.cmake") + +find_library(ZLIB_LIBRARY_DEBUG NAMES zd zlibd zdlld zlib1d ) + +if(ZLIB_FOUND AND ZLIB_LIBRARY_DEBUG) + set( ZLIB_LIBRARIES optimized "${ZLIB_LIBRARY}" debug ${ZLIB_LIBRARY_DEBUG}) +endif() diff --git a/vendor/voclient/common/curl-7.20.1/CMake/OtherTests.cmake b/vendor/voclient/common/curl-7.20.1/CMake/OtherTests.cmake new file mode 100644 index 00000000..89d00484 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/OtherTests.cmake @@ -0,0 +1,250 @@ +include(CurlCheckCSourceCompiles) +set(EXTRA_DEFINES "__unused1\n#undef inline\n#define __unused2") +set(HEADER_INCLUDES) +set(headers_hack) + +macro(add_header_include check header) + if(${check}) + set(headers_hack + "${headers_hack}\n#include <${header}>") + #SET(HEADER_INCLUDES + # ${HEADER_INCLUDES} + # "${header}") + endif(${check}) +endmacro(add_header_include) + +set(signature_call_conv) +if(HAVE_WINDOWS_H) + add_header_include(HAVE_WINDOWS_H "windows.h") + add_header_include(HAVE_WINSOCK2_H "winsock2.h") + add_header_include(HAVE_WINSOCK_H "winsock.h") + set(EXTRA_DEFINES ${EXTRA_DEFINES} + "__unused7\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n#define __unused3") + set(signature_call_conv "PASCAL") +else(HAVE_WINDOWS_H) + add_header_include(HAVE_SYS_TYPES_H "sys/types.h") + add_header_include(HAVE_SYS_SOCKET_H "sys/socket.h") +endif(HAVE_WINDOWS_H) + +set(EXTRA_DEFINES_BACKUP "${EXTRA_DEFINES}") +set(EXTRA_DEFINES "${EXTRA_DEFINES_BACKUP}\n${headers_hack}\n${extern_line}\n#define __unused5") +curl_check_c_source_compiles("recv(0, 0, 0, 0)" curl_cv_recv) +if(curl_cv_recv) + # AC_CACHE_CHECK([types of arguments and return type for recv], + #[curl_cv_func_recv_args], [ + #SET(curl_cv_func_recv_args "unknown") + #for recv_retv in 'int' 'ssize_t'; do + if(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown") + foreach(recv_retv "int" "ssize_t" ) + foreach(recv_arg1 "int" "ssize_t" "SOCKET") + foreach(recv_arg2 "void *" "char *") + foreach(recv_arg3 "size_t" "int" "socklen_t" "unsigned int") + foreach(recv_arg4 "int" "unsigned int") + if(NOT curl_cv_func_recv_done) + set(curl_cv_func_recv_test "UNKNOWN") + set(extern_line "extern ${recv_retv} ${signature_call_conv} recv(${recv_arg1}, ${recv_arg2}, ${recv_arg3}, ${recv_arg4})\;") + set(EXTRA_DEFINES "${EXTRA_DEFINES_BACKUP}\n${headers_hack}\n${extern_line}\n#define __unused5") + curl_check_c_source_compiles(" + ${recv_arg1} s=0; + ${recv_arg2} buf=0; + ${recv_arg3} len=0; + ${recv_arg4} flags=0; + ${recv_retv} res = recv(s, buf, len, flags)" + curl_cv_func_recv_test + "${recv_retv} recv(${recv_arg1}, ${recv_arg2}, ${recv_arg3}, ${recv_arg4})") + if(curl_cv_func_recv_test) + set(curl_cv_func_recv_args + "${recv_arg1},${recv_arg2},${recv_arg3},${recv_arg4},${recv_retv}") + set(RECV_TYPE_ARG1 "${recv_arg1}") + set(RECV_TYPE_ARG2 "${recv_arg2}") + set(RECV_TYPE_ARG3 "${recv_arg3}") + set(RECV_TYPE_ARG4 "${recv_arg4}") + set(RECV_TYPE_RETV "${recv_retv}") + set(HAVE_RECV 1) + set(curl_cv_func_recv_done 1) + endif(curl_cv_func_recv_test) + endif(NOT curl_cv_func_recv_done) + endforeach(recv_arg4) + endforeach(recv_arg3) + endforeach(recv_arg2) + endforeach(recv_arg1) + endforeach(recv_retv) + else(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown") + string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG1 "${curl_cv_func_recv_args}") + string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG2 "${curl_cv_func_recv_args}") + string(REGEX REPLACE "^[^,]*,[^,]*,([^,]*),[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG3 "${curl_cv_func_recv_args}") + string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,([^,]*),[^,]*$" "\\1" RECV_TYPE_ARG4 "${curl_cv_func_recv_args}") + string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)$" "\\1" RECV_TYPE_RETV "${curl_cv_func_recv_args}") + #MESSAGE("RECV_TYPE_ARG1 ${RECV_TYPE_ARG1}") + #MESSAGE("RECV_TYPE_ARG2 ${RECV_TYPE_ARG2}") + #MESSAGE("RECV_TYPE_ARG3 ${RECV_TYPE_ARG3}") + #MESSAGE("RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}") + #MESSAGE("RECV_TYPE_RETV ${RECV_TYPE_RETV}") + endif(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown") + + if("${curl_cv_func_recv_args}" STREQUAL "unknown") + message(FATAL_ERROR "Cannot find proper types to use for recv args") + endif("${curl_cv_func_recv_args}" STREQUAL "unknown") +else(curl_cv_recv) + message(FATAL_ERROR "Unable to link function recv") +endif(curl_cv_recv) +set(curl_cv_func_recv_args "${curl_cv_func_recv_args}" CACHE INTERNAL "Arguments for recv") +set(HAVE_RECV 1) + +curl_check_c_source_compiles("send(0, 0, 0, 0)" curl_cv_send) +if(curl_cv_send) + # AC_CACHE_CHECK([types of arguments and return type for send], + #[curl_cv_func_send_args], [ + #SET(curl_cv_func_send_args "unknown") + #for send_retv in 'int' 'ssize_t'; do + if(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown") + foreach(send_retv "int" "ssize_t" ) + foreach(send_arg1 "int" "ssize_t" "SOCKET") + foreach(send_arg2 "const void *" "void *" "char *" "const char *") + foreach(send_arg3 "size_t" "int" "socklen_t" "unsigned int") + foreach(send_arg4 "int" "unsigned int") + if(NOT curl_cv_func_send_done) + set(curl_cv_func_send_test "UNKNOWN") + set(extern_line "extern ${send_retv} ${signature_call_conv} send(${send_arg1}, ${send_arg2}, ${send_arg3}, ${send_arg4})\;") + set(EXTRA_DEFINES "${EXTRA_DEFINES_BACKUP}\n${headers_hack}\n${extern_line}\n#define __unused5") + curl_check_c_source_compiles(" + ${send_arg1} s=0; + ${send_arg2} buf=0; + ${send_arg3} len=0; + ${send_arg4} flags=0; + ${send_retv} res = send(s, buf, len, flags)" + curl_cv_func_send_test + "${send_retv} send(${send_arg1}, ${send_arg2}, ${send_arg3}, ${send_arg4})") + if(curl_cv_func_send_test) + #MESSAGE("Found arguments: ${curl_cv_func_send_test}") + string(REGEX REPLACE "(const) .*" "\\1" send_qual_arg2 "${send_arg2}") + string(REGEX REPLACE "const (.*)" "\\1" send_arg2 "${send_arg2}") + set(curl_cv_func_send_args + "${send_arg1},${send_arg2},${send_arg3},${send_arg4},${send_retv},${send_qual_arg2}") + set(SEND_TYPE_ARG1 "${send_arg1}") + set(SEND_TYPE_ARG2 "${send_arg2}") + set(SEND_TYPE_ARG3 "${send_arg3}") + set(SEND_TYPE_ARG4 "${send_arg4}") + set(SEND_TYPE_RETV "${send_retv}") + set(HAVE_SEND 1) + set(curl_cv_func_send_done 1) + endif(curl_cv_func_send_test) + endif(NOT curl_cv_func_send_done) + endforeach(send_arg4) + endforeach(send_arg3) + endforeach(send_arg2) + endforeach(send_arg1) + endforeach(send_retv) + else(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown") + string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG1 "${curl_cv_func_send_args}") + string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG2 "${curl_cv_func_send_args}") + string(REGEX REPLACE "^[^,]*,[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG3 "${curl_cv_func_send_args}") + string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,([^,]*),[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG4 "${curl_cv_func_send_args}") + string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,[^,]*,([^,]*),[^,]*$" "\\1" SEND_TYPE_RETV "${curl_cv_func_send_args}") + string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)$" "\\1" SEND_QUAL_ARG2 "${curl_cv_func_send_args}") + #MESSAGE("SEND_TYPE_ARG1 ${SEND_TYPE_ARG1}") + #MESSAGE("SEND_TYPE_ARG2 ${SEND_TYPE_ARG2}") + #MESSAGE("SEND_TYPE_ARG3 ${SEND_TYPE_ARG3}") + #MESSAGE("SEND_TYPE_ARG4 ${SEND_TYPE_ARG4}") + #MESSAGE("SEND_TYPE_RETV ${SEND_TYPE_RETV}") + #MESSAGE("SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}") + endif(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown") + + if("${curl_cv_func_send_args}" STREQUAL "unknown") + message(FATAL_ERROR "Cannot find proper types to use for send args") + endif("${curl_cv_func_send_args}" STREQUAL "unknown") + set(SEND_QUAL_ARG2 "const") +else(curl_cv_send) + message(FATAL_ERROR "Unable to link function send") +endif(curl_cv_send) +set(curl_cv_func_send_args "${curl_cv_func_send_args}" CACHE INTERNAL "Arguments for send") +set(HAVE_SEND 1) + +set(EXTRA_DEFINES "${EXTRA_DEFINES}\n${headers_hack}\n#define __unused5") +curl_check_c_source_compiles("int flag = MSG_NOSIGNAL" HAVE_MSG_NOSIGNAL) + +set(EXTRA_DEFINES "__unused1\n#undef inline\n#define __unused2") +set(HEADER_INCLUDES) +set(headers_hack) + +macro(add_header_include check header) + if(${check}) + set(headers_hack + "${headers_hack}\n#include <${header}>") + #SET(HEADER_INCLUDES + # ${HEADER_INCLUDES} + # "${header}") + endif(${check}) +endmacro(add_header_include header) + +if(HAVE_WINDOWS_H) + set(EXTRA_DEFINES ${EXTRA_DEFINES} + "__unused7\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n#define __unused3") + add_header_include(HAVE_WINDOWS_H "windows.h") + add_header_include(HAVE_WINSOCK2_H "winsock2.h") + add_header_include(HAVE_WINSOCK_H "winsock.h") +else(HAVE_WINDOWS_H) + add_header_include(HAVE_SYS_TYPES_H "sys/types.h") + add_header_include(HAVE_SYS_TIME_H "sys/time.h") + add_header_include(TIME_WITH_SYS_TIME "time.h") + add_header_include(HAVE_TIME_H "time.h") +endif(HAVE_WINDOWS_H) +set(EXTRA_DEFINES "${EXTRA_DEFINES}\n${headers_hack}\n#define __unused5") +curl_check_c_source_compiles("struct timeval ts;\nts.tv_sec = 0;\nts.tv_usec = 0" HAVE_STRUCT_TIMEVAL) + + +include(CurlCheckCSourceRuns) +set(EXTRA_DEFINES) +set(HEADER_INCLUDES) +if(HAVE_SYS_POLL_H) + set(HEADER_INCLUDES "sys/poll.h") +endif(HAVE_SYS_POLL_H) +curl_check_c_source_runs("return poll((void *)0, 0, 10 /*ms*/)" HAVE_POLL_FINE) + +set(HAVE_SIG_ATOMIC_T 1) +set(EXTRA_DEFINES) +set(HEADER_INCLUDES) +if(HAVE_SIGNAL_H) + set(HEADER_INCLUDES "signal.h") + set(CMAKE_EXTRA_INCLUDE_FILES "signal.h") +endif(HAVE_SIGNAL_H) +check_type_size("sig_atomic_t" SIZEOF_SIG_ATOMIC_T) +if(HAVE_SIZEOF_SIG_ATOMIC_T) + curl_check_c_source_compiles("static volatile sig_atomic_t dummy = 0" HAVE_SIG_ATOMIC_T_NOT_VOLATILE) + if(NOT HAVE_SIG_ATOMIC_T_NOT_VOLATILE) + set(HAVE_SIG_ATOMIC_T_VOLATILE 1) + endif(NOT HAVE_SIG_ATOMIC_T_NOT_VOLATILE) +endif(HAVE_SIZEOF_SIG_ATOMIC_T) + +set(CHECK_TYPE_SIZE_PREINCLUDE + "#undef inline") + +if(HAVE_WINDOWS_H) + set(CHECK_TYPE_SIZE_PREINCLUDE "${CHECK_TYPE_SIZE_PREINCLUDE} + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif + #include ") + if(HAVE_WINSOCK2_H) + set(CHECK_TYPE_SIZE_PREINCLUDE "${CHECK_TYPE_SIZE_PREINCLUDE}\n#include ") + endif(HAVE_WINSOCK2_H) +else(HAVE_WINDOWS_H) + if(HAVE_SYS_SOCKET_H) + set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES} + "sys/socket.h") + endif(HAVE_SYS_SOCKET_H) + if(HAVE_NETINET_IN_H) + set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES} + "netinet/in.h") + endif(HAVE_NETINET_IN_H) + if(HAVE_ARPA_INET_H) + set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES} + "arpa/inet.h") + endif(HAVE_ARPA_INET_H) +endif(HAVE_WINDOWS_H) + +check_type_size("struct sockaddr_storage" SIZEOF_STRUCT_SOCKADDR_STORAGE) +if(HAVE_SIZEOF_STRUCT_SOCKADDR_STORAGE) + set(HAVE_STRUCT_SOCKADDR_STORAGE 1) +endif(HAVE_SIZEOF_STRUCT_SOCKADDR_STORAGE) + diff --git a/vendor/voclient/common/curl-7.20.1/CMake/Platforms/WindowsCache.cmake b/vendor/voclient/common/curl-7.20.1/CMake/Platforms/WindowsCache.cmake new file mode 100644 index 00000000..49161f86 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/Platforms/WindowsCache.cmake @@ -0,0 +1,121 @@ +if(NOT UNIX) + if(WIN32) + set(HAVE_LIBDL 0) + set(HAVE_LIBUCB 0) + set(HAVE_LIBSOCKET 0) + set(NOT_NEED_LIBNSL 0) + set(HAVE_LIBNSL 0) + set(HAVE_LIBZ 0) + set(HAVE_LIBCRYPTO 0) + + set(HAVE_DLOPEN 0) + + set(HAVE_ALLOCA_H 0) + set(HAVE_ARPA_INET_H 0) + set(HAVE_DLFCN_H 0) + set(HAVE_FCNTL_H 1) + set(HAVE_FEATURES_H 0) + set(HAVE_INTTYPES_H 0) + set(HAVE_IO_H 1) + set(HAVE_MALLOC_H 1) + set(HAVE_MEMORY_H 1) + set(HAVE_NETDB_H 0) + set(HAVE_NETINET_IF_ETHER_H 0) + set(HAVE_NETINET_IN_H 0) + set(HAVE_NET_IF_H 0) + set(HAVE_PROCESS_H 1) + set(HAVE_PWD_H 0) + set(HAVE_SETJMP_H 1) + set(HAVE_SGTTY_H 0) + set(HAVE_SIGNAL_H 1) + set(HAVE_SOCKIO_H 0) + set(HAVE_STDINT_H 0) + set(HAVE_STDLIB_H 1) + set(HAVE_STRINGS_H 0) + set(HAVE_STRING_H 1) + set(HAVE_SYS_PARAM_H 0) + set(HAVE_SYS_POLL_H 0) + set(HAVE_SYS_SELECT_H 0) + set(HAVE_SYS_SOCKET_H 0) + set(HAVE_SYS_SOCKIO_H 0) + set(HAVE_SYS_STAT_H 1) + set(HAVE_SYS_TIME_H 0) + set(HAVE_SYS_TYPES_H 1) + set(HAVE_SYS_UTIME_H 1) + set(HAVE_TERMIOS_H 0) + set(HAVE_TERMIO_H 0) + set(HAVE_TIME_H 1) + set(HAVE_UNISTD_H 0) + set(HAVE_UTIME_H 0) + set(HAVE_X509_H 0) + set(HAVE_ZLIB_H 0) + + set(HAVE_SIZEOF_LONG_DOUBLE 1) + set(SIZEOF_LONG_DOUBLE 8) + + set(HAVE_SOCKET 1) + set(HAVE_POLL 0) + set(HAVE_SELECT 1) + set(HAVE_STRDUP 1) + set(HAVE_STRSTR 1) + set(HAVE_STRTOK_R 0) + set(HAVE_STRFTIME 1) + set(HAVE_UNAME 0) + set(HAVE_STRCASECMP 0) + set(HAVE_STRICMP 1) + set(HAVE_STRCMPI 1) + set(HAVE_GETHOSTBYADDR 1) + set(HAVE_GETTIMEOFDAY 0) + set(HAVE_INET_ADDR 1) + set(HAVE_INET_NTOA 1) + set(HAVE_INET_NTOA_R 0) + set(HAVE_TCGETATTR 0) + set(HAVE_TCSETATTR 0) + set(HAVE_PERROR 1) + set(HAVE_CLOSESOCKET 1) + set(HAVE_SETVBUF 0) + set(HAVE_SIGSETJMP 0) + set(HAVE_GETPASS_R 0) + set(HAVE_STRLCAT 0) + set(HAVE_GETPWUID 0) + set(HAVE_GETEUID 0) + set(HAVE_UTIME 1) + set(HAVE_RAND_EGD 0) + set(HAVE_RAND_SCREEN 0) + set(HAVE_RAND_STATUS 0) + set(HAVE_GMTIME_R 0) + set(HAVE_LOCALTIME_R 0) + set(HAVE_GETHOSTBYADDR_R 0) + set(HAVE_GETHOSTBYNAME_R 0) + set(HAVE_SIGNAL_FUNC 1) + set(HAVE_SIGNAL_MACRO 0) + + set(HAVE_GETHOSTBYADDR_R_5 0) + set(HAVE_GETHOSTBYADDR_R_5_REENTRANT 0) + set(HAVE_GETHOSTBYADDR_R_7 0) + set(HAVE_GETHOSTBYADDR_R_7_REENTRANT 0) + set(HAVE_GETHOSTBYADDR_R_8 0) + set(HAVE_GETHOSTBYADDR_R_8_REENTRANT 0) + set(HAVE_GETHOSTBYNAME_R_3 0) + set(HAVE_GETHOSTBYNAME_R_3_REENTRANT 0) + set(HAVE_GETHOSTBYNAME_R_5 0) + set(HAVE_GETHOSTBYNAME_R_5_REENTRANT 0) + set(HAVE_GETHOSTBYNAME_R_6 0) + set(HAVE_GETHOSTBYNAME_R_6_REENTRANT 0) + + set(TIME_WITH_SYS_TIME 0) + set(HAVE_O_NONBLOCK 0) + set(HAVE_IN_ADDR_T 0) + set(HAVE_INET_NTOA_R_DECL 0) + set(HAVE_INET_NTOA_R_DECL_REENTRANT 0) + set(HAVE_GETADDRINFO 0) + set(STDC_HEADERS 1) + set(RETSIGTYPE_TEST 1) + + set(HAVE_SIGACTION 0) + set(HAVE_MACRO_SIGSETJMP 0) + else(WIN32) + message("This file should be included on Windows platform only") + endif(WIN32) +endif(NOT UNIX) + diff --git a/vendor/voclient/common/curl-7.20.1/CMake/Utilities.cmake b/vendor/voclient/common/curl-7.20.1/CMake/Utilities.cmake new file mode 100644 index 00000000..37cdfe3b --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMake/Utilities.cmake @@ -0,0 +1,31 @@ +# File containing various utilities + +# Converts a CMake list to a string containing elements separated by spaces +function(TO_LIST_SPACES _LIST_NAME OUTPUT_VAR) + set(NEW_LIST_SPACE) + foreach(ITEM ${${_LIST_NAME}}) + set(NEW_LIST_SPACE "${NEW_LIST_SPACE} ${ITEM}") + endforeach() + string(STRIP ${NEW_LIST_SPACE} NEW_LIST_SPACE) + set(${OUTPUT_VAR} "${NEW_LIST_SPACE}" PARENT_SCOPE) +endfunction() + +# Appends a lis of item to a string which is a space-separated list, if they don't already exist. +function(LIST_SPACES_APPEND_ONCE LIST_NAME) + string(REPLACE " " ";" _LIST ${${LIST_NAME}}) + list(APPEND _LIST ${ARGN}) + list(REMOVE_DUPLICATES _LIST) + to_list_spaces(_LIST NEW_LIST_SPACE) + set(${LIST_NAME} "${NEW_LIST_SPACE}" PARENT_SCOPE) +endfunction() + +# Convinience function that does the same as LIST(FIND ...) but with a TRUE/FALSE return value. +# Ex: IN_STR_LIST(MY_LIST "Searched item" WAS_FOUND) +function(IN_STR_LIST LIST_NAME ITEM_SEARCHED RETVAL) + list(FIND ${LIST_NAME} ${ITEM_SEARCHED} FIND_POS) + if(${FIND_POS} EQUAL -1) + set(${RETVAL} FALSE PARENT_SCOPE) + else() + set(${RETVAL} TRUE PARENT_SCOPE) + endif() +endfunction() diff --git a/vendor/voclient/common/curl-7.20.1/CMakeLists.txt b/vendor/voclient/common/curl-7.20.1/CMakeLists.txt new file mode 100644 index 00000000..56c42785 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/CMakeLists.txt @@ -0,0 +1,859 @@ +# cURL/libcurl CMake script +# by Tetetest and Sukender (Benoit Neil) + +# TODO: +# The output .so file lacks the soname number which we currently have within the lib/Makefile.am file +# Add full (4 or 5 libs) SSL support +# Add INSTALL target (EXTRA_DIST variables in Makefile.am may be moved to Makefile.inc so that CMake/CPack is aware of what's to include). +# Add CTests(?) +# Check on all possible platforms +# Test with as many configurations possible (With or without any option) +# Create scripts that help keeping the CMake build system up to date (to reduce maintenance). According to Tetetest: +# - lists of headers that 'configure' checks for; +# - curl-specific tests (the ones that are in m4/curl-*.m4 files); +# - (most obvious thing:) curl version numbers. +# Add documentation subproject +# +# To check: +# (From Daniel Stenberg) The cmake build selected to run gcc with -fPIC on my box while the plain configure script did not. +# (From Daniel Stenberg) The gcc command line use neither -g nor any -O options. As a developer, I also treasure our configure scripts's --enable-debug option that sets a long range of "picky" compiler options. +cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR) +set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}") +include(Utilities) + +project( CURL C ) + + +file (READ ${CURL_SOURCE_DIR}/include/curl/curlver.h CURL_VERSION_H_CONTENTS) +string (REGEX MATCH "LIBCURL_VERSION_MAJOR[ \t]+([0-9]+)" + LIBCURL_VERSION_MJ ${CURL_VERSION_H_CONTENTS}) +string (REGEX MATCH "([0-9]+)" + LIBCURL_VERSION_MJ ${LIBCURL_VERSION_MJ}) +string (REGEX MATCH + "LIBCURL_VERSION_MINOR[ \t]+([0-9]+)" + LIBCURL_VERSION_MI ${CURL_VERSION_H_CONTENTS}) +string (REGEX MATCH "([0-9]+)" LIBCURL_VERSION_MI ${LIBCURL_VERSION_MI}) +string (REGEX MATCH + "LIBCURL_VERSION_PATCH[ \t]+([0-9]+)" + LIBCURL_VERSION_PT ${CURL_VERSION_H_CONTENTS}) +string (REGEX MATCH "([0-9]+)" LIBCURL_VERSION_PT ${LIBCURL_VERSION_PT}) +set (CURL_MAJOR_VERSION ${LIBCURL_VERSION_MJ}) +set (CURL_MINOR_VERSION ${LIBCURL_VERSION_MI}) +set (CURL_PATCH_VERSION ${LIBCURL_VERSION_PT}) + +include_regular_expression("^.*$") # Sukender: Is it necessary? + +# Setup package meta-data +# SET(PACKAGE "curl") +set(CURL_VERSION ${CURL_MAJOR_VERSION}.${CURL_MINOR_VERSION}.${CURL_PATCH_VERSION}) +message(STATUS "curl version=[${CURL_VERSION}]") +# SET(PACKAGE_TARNAME "curl") +# SET(PACKAGE_NAME "curl") +# SET(PACKAGE_VERSION "-") +# SET(PACKAGE_STRING "curl-") +# SET(PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/") +set(OPERATING_SYSTEM "${CMAKE_SYSTEM_NAME}") +set(OS "\"${CMAKE_SYSTEM_NAME}\"") + +include_directories(${PROJECT_BINARY_DIR}/include/curl) +include_directories( ${CURL_SOURCE_DIR}/include ) + +if(WIN32) + set(NATIVE_WINDOWS ON) +endif() + +option(BUILD_CURL_EXE "Set to ON to build cURL executable." ON) +option(BUILD_CURL_TESTS "Set to ON to build cURL tests." ON) +option(CURL_STATICLIB "Set to ON to build libcurl with static linking." OFF) +option(CURL_USE_ARES "Set to ON to enable c-ares support" OFF) +# initialize CURL_LIBS +set(CURL_LIBS "") + +if(CURL_USE_ARES) + set(USE_ARES ${CURL_USE_ARES}) + find_package(CARES REQUIRED) + list(APPEND CURL_LIBS ${CARES_LIBRARY} ) + set(CURL_LIBS ${CURL_LIBS} ${CARES_LIBRARY}) +endif() + +option(BUILD_DASHBOARD_REPORTS "Set to ON to activate reporting of cURL builds here http://www.cdash.org/CDashPublic/index.php?project=CURL" OFF) +if(BUILD_DASHBOARD_REPORTS) + #INCLUDE(Dart) + include(CTest) +endif(BUILD_DASHBOARD_REPORTS) + +if(MSVC) + option(BUILD_RELEASE_DEBUG_DIRS "Set OFF to build each configuration to a separate directory" OFF) + mark_as_advanced(BUILD_RELEASE_DEBUG_DIRS) +endif() + +option(CURL_HIDDEN_SYMBOLS "Set to ON to hide libcurl internal symbols (=hide all symbols that aren't officially external)." ON) +mark_as_advanced(CURL_HIDDEN_SYMBOLS) + +# IF(WIN32) +# OPTION(CURL_WINDOWS_SSPI "Use windows libraries to allow NTLM authentication without openssl" ON) +# MARK_AS_ADVANCED(CURL_WINDOWS_SSPI) +# ENDIF() + +option(HTTP_ONLY "disables all protocols except HTTP (This overrides all CURL_DISABLE_* options)" OFF) +mark_as_advanced(HTTP_ONLY) +option(CURL_DISABLE_FTP "disables FTP" OFF) +mark_as_advanced(CURL_DISABLE_FTP) +option(CURL_DISABLE_LDAP "disables LDAP" OFF) +mark_as_advanced(CURL_DISABLE_LDAP) +option(CURL_DISABLE_TELNET "disables Telnet" OFF) +mark_as_advanced(CURL_DISABLE_TELNET) +option(CURL_DISABLE_DICT "disables DICT" OFF) +mark_as_advanced(CURL_DISABLE_DICT) +option(CURL_DISABLE_FILE "disables FILE" OFF) +mark_as_advanced(CURL_DISABLE_FILE) +option(CURL_DISABLE_TFTP "disables TFTP" OFF) +mark_as_advanced(CURL_DISABLE_TFTP) +option(CURL_DISABLE_HTTP "disables HTTP" OFF) +mark_as_advanced(CURL_DISABLE_HTTP) + +option(CURL_DISABLE_LDAPS "to disable LDAPS" OFF) +mark_as_advanced(CURL_DISABLE_LDAPS) +if(WIN32) + set(CURL_DEFAULT_DISABLE_LDAP OFF) + # some windows compilers do not have wldap32 + if( NOT HAVE_WLDAP32) + set(CURL_DISABLE_LDAP ON CACHE BOOL "" FORCE) + message(STATUS "wldap32 not found CURL_DISABLE_LDAP set ON") + option(CURL_LDAP_WIN "Use W$ LDAP implementation" OFF) + else() + option(CURL_LDAP_WIN "Use W$ LDAP implementation" ON) + endif() + mark_as_advanced(CURL_LDAP_WIN) + set(CURL_LDAP_HYBRID OFF) +else() + option(CURL_LDAP_HYBRID "W$ LDAP with non-W$ compiler" OFF) + mark_as_advanced(CURL_LDAP_HYBRID) + set(CURL_LDAP_WIN OFF) +endif() + +if(HTTP_ONLY) + set(CURL_DISABLE_FTP ON) + set(CURL_DISABLE_LDAP ON) + set(CURL_DISABLE_TELNET ON) + set(CURL_DISABLE_DICT ON) + set(CURL_DISABLE_FILE ON) + set(CURL_DISABLE_TFTP ON) +endif() + +option(CURL_DISABLE_COOKIES "to disable cookies support" OFF) +mark_as_advanced(CURL_DISABLE_COOKIES) + +option(CURL_DISABLE_CRYPTO_AUTH "to disable cryptographic authentication" OFF) +mark_as_advanced(CURL_DISABLE_CRYPTO_AUTH) +option(CURL_DISABLE_VERBOSE_STRINGS "to disable verbose strings" OFF) +mark_as_advanced(CURL_DISABLE_VERBOSE_STRINGS) +option(DISABLED_THREADSAFE "Set to explicitly specify we don't want to use thread-safe functions" OFF) +mark_as_advanced(DISABLED_THREADSAFE) +option(ENABLE_IPV6 "Define if you want to enable IPv6 support" OFF) +mark_as_advanced(ENABLE_IPV6) + +if(WIN32) + list_spaces_append_once(CMAKE_C_STANDARD_LIBRARIES wsock32.lib ws2_32.lib) # bufferoverflowu.lib + if(CURL_DISABLE_LDAP) + # Remove wldap32.lib from space-separated list + string(REPLACE " " ";" _LIST ${CMAKE_C_STANDARD_LIBRARIES}) + list(REMOVE_ITEM _LIST "wldap32.lib") + to_list_spaces(_LIST CMAKE_C_STANDARD_LIBRARIES) + else() + # Append wldap32.lib + list_spaces_append_once(CMAKE_C_STANDARD_LIBRARIES wldap32.lib) + endif() + set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES}" CACHE STRING "" FORCE) +endif() + + +# We need ansi c-flags, especially on HP +set(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") +set(CMAKE_REQUIRED_FLAGS ${CMAKE_ANSI_CFLAGS}) + +# Disable warnings on Borland to avoid changing 3rd party code. +if(BORLAND) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w-") +endif(BORLAND) + +# If we are on AIX, do the _ALL_SOURCE magic +if(${CMAKE_SYSTEM_NAME} MATCHES AIX) + set(_ALL_SOURCE 1) +endif(${CMAKE_SYSTEM_NAME} MATCHES AIX) + +# Include all the necessary files for macros +include (CheckFunctionExists) +include (CheckIncludeFile) +include (CheckIncludeFiles) +include (CheckLibraryExists) +include (CheckSymbolExists) +# if crosscompiling is on, the CHECK_TYPE_SIZE macro coming with cmake uses +# TRY_COMPILE instead of TRY_RUN which makes crosscompiling easier, Alex +if(CMAKE_CROSSCOMPILING) + include ("${CMAKE_MODULE_PATH}/CheckTypeSize.cmake") +else(CMAKE_CROSSCOMPILING) + include (CheckTypeSize) +endif(CMAKE_CROSSCOMPILING) + +# On windows preload settings +if(WIN32) + include(${CMAKE_CURRENT_SOURCE_DIR}/CMake/Platforms/WindowsCache.cmake) +endif(WIN32) + +# This macro checks if the symbol exists in the library and if it +# does, it appends library to the list. +macro(CHECK_LIBRARY_EXISTS_CONCAT LIBRARY SYMBOL VARIABLE) + check_library_exists("${LIBRARY};${CURL_LIBS}" ${SYMBOL} "" + ${VARIABLE}) + if(${VARIABLE}) + set(CURL_LIBS ${CURL_LIBS} ${LIBRARY}) + endif(${VARIABLE}) +endmacro(CHECK_LIBRARY_EXISTS_CONCAT) + +# Check for all needed libraries +check_library_exists_concat("dl" dlopen HAVE_LIBDL) +check_library_exists_concat("socket" connect HAVE_LIBSOCKET) +check_library_exists("c" gethostbyname "" NOT_NEED_LIBNSL) + +# Yellowtab Zeta needs different libraries than BeOS 5. +if(BEOS) + set(NOT_NEED_LIBNSL 1) + check_library_exists_concat("bind" gethostbyname HAVE_LIBBIND) + check_library_exists_concat("bnetapi" closesocket HAVE_LIBBNETAPI) +endif(BEOS) + +if(NOT NOT_NEED_LIBNSL) + check_library_exists_concat("nsl" gethostbyname HAVE_LIBNSL) +endif(NOT NOT_NEED_LIBNSL) + +check_library_exists_concat("ws2_32" getch HAVE_LIBWS2_32) +check_library_exists_concat("winmm" getch HAVE_LIBWINMM) +check_library_exists("wldap32" cldap_open "" HAVE_WLDAP32) + +# IF(NOT CURL_SPECIAL_LIBZ) +# CHECK_LIBRARY_EXISTS_CONCAT("z" inflateEnd HAVE_LIBZ) +# ENDIF(NOT CURL_SPECIAL_LIBZ) + +option(CMAKE_USE_OPENSSL "Use OpenSSL code. Experimental" ON) +mark_as_advanced(CMAKE_USE_OPENSSL) +if(CMAKE_USE_OPENSSL) + if(WIN32) + find_package(OpenSSL) + if(OPENSSL_FOUND) + set(USE_SSLEAY TRUE) + set(USE_OPENSSL TRUE) + list(APPEND CURL_LIBS ${OPENSSL_LIBRARIES} ) + else() + set(CMAKE_USE_OPENSSL FALSE) + message(STATUS "OpenSSL NOT Found, disabling CMAKE_USE_OPENSSL") + endif() + else(WIN32) + check_library_exists_concat("crypto" CRYPTO_lock HAVE_LIBCRYPTO) + check_library_exists_concat("ssl" SSL_connect HAVE_LIBSSL) + endif(WIN32) +endif(CMAKE_USE_OPENSSL) + +# Check for idn +check_library_exists_concat("idn" idna_to_ascii_lz HAVE_LIBIDN) + +# Check for LDAP +check_library_exists_concat("ldap" ldap_init HAVE_LIBLDAP) +# if(NOT HAVE_LIBLDAP) +# SET(CURL_DISABLE_LDAP ON) +# endif(NOT HAVE_LIBLDAP) + +# Check for symbol dlopen (same as HAVE_LIBDL) +check_library_exists("${CURL_LIBS}" dlopen "" HAVE_DLOPEN) + +# For other tests to use the same libraries +set(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBS}) + +option(CURL_ZLIB "Set to ON to enable building cURL with zlib support." ON) +set(HAVE_LIBZ OFF) +set(HAVE_ZLIB_H OFF) +set(HAVE_ZLIB OFF) +if(CURL_ZLIB) # AND CURL_CONFIG_HAS_BEEN_RUN_BEFORE + find_package(ZLIB QUIET) + if(ZLIB_FOUND) + set(HAVE_ZLIB_H ON) + set(HAVE_ZLIB ON) + set(HAVE_LIBZ ON) + endif() +endif() + +# If we have features.h, then do the _BSD_SOURCE magic +check_include_file("features.h" HAVE_FEATURES_H) + +# Check if header file exists and add it to the list. +macro(CHECK_INCLUDE_FILE_CONCAT FILE VARIABLE) + check_include_files("${CURL_INCLUDES};${FILE}" ${VARIABLE}) + if(${VARIABLE}) + set(CURL_INCLUDES ${CURL_INCLUDES} ${FILE}) + set(CURL_TEST_DEFINES "${CURL_TEST_DEFINES} -D${VARIABLE}") + endif(${VARIABLE}) +endmacro(CHECK_INCLUDE_FILE_CONCAT) + + +# Check for header files +if(NOT UNIX) + check_include_file_concat("ws2tcpip.h" HAVE_WS2TCPIP_H) + check_include_file_concat("winsock2.h" HAVE_WINSOCK2_H) +endif(NOT UNIX) +check_include_file_concat("stdio.h" HAVE_STDIO_H) +if(NOT UNIX) + check_include_file_concat("windows.h" HAVE_WINDOWS_H) + check_include_file_concat("winsock.h" HAVE_WINSOCK_H) +endif(NOT UNIX) + +check_include_file_concat("inttypes.h" HAVE_INTTYPES_H) +check_include_file_concat("sys/filio.h" HAVE_SYS_FILIO_H) +check_include_file_concat("sys/ioctl.h" HAVE_SYS_IOCTL_H) +check_include_file_concat("sys/param.h" HAVE_SYS_PARAM_H) +check_include_file_concat("sys/poll.h" HAVE_SYS_POLL_H) +check_include_file_concat("sys/resource.h" HAVE_SYS_RESOURCE_H) +check_include_file_concat("sys/select.h" HAVE_SYS_SELECT_H) +check_include_file_concat("sys/socket.h" HAVE_SYS_SOCKET_H) +check_include_file_concat("sys/sockio.h" HAVE_SYS_SOCKIO_H) +check_include_file_concat("sys/stat.h" HAVE_SYS_STAT_H) +check_include_file_concat("sys/time.h" HAVE_SYS_TIME_H) +check_include_file_concat("sys/types.h" HAVE_SYS_TYPES_H) +check_include_file_concat("sys/uio.h" HAVE_SYS_UIO_H) +check_include_file_concat("sys/un.h" HAVE_SYS_UN_H) +check_include_file_concat("sys/utime.h" HAVE_SYS_UTIME_H) +check_include_file_concat("alloca.h" HAVE_ALLOCA_H) +check_include_file_concat("arpa/inet.h" HAVE_ARPA_INET_H) +check_include_file_concat("arpa/tftp.h" HAVE_ARPA_TFTP_H) +check_include_file_concat("assert.h" HAVE_ASSERT_H) +check_include_file_concat("crypto.h" HAVE_CRYPTO_H) +check_include_file_concat("des.h" HAVE_DES_H) +check_include_file_concat("err.h" HAVE_ERR_H) +check_include_file_concat("errno.h" HAVE_ERRNO_H) +check_include_file_concat("fcntl.h" HAVE_FCNTL_H) +check_include_file_concat("gssapi/gssapi.h" HAVE_GSSAPI_GSSAPI_H) +check_include_file_concat("gssapi/gssapi_generic.h" HAVE_GSSAPI_GSSAPI_GENERIC_H) +check_include_file_concat("gssapi/gssapi_krb5.h" HAVE_GSSAPI_GSSAPI_KRB5_H) +check_include_file_concat("idn-free.h" HAVE_IDN_FREE_H) +check_include_file_concat("ifaddrs.h" HAVE_IFADDRS_H) +check_include_file_concat("io.h" HAVE_IO_H) +check_include_file_concat("krb.h" HAVE_KRB_H) +check_include_file_concat("libgen.h" HAVE_LIBGEN_H) +check_include_file_concat("libssh2.h" HAVE_LIBSSH2_H) +check_include_file_concat("limits.h" HAVE_LIMITS_H) +check_include_file_concat("locale.h" HAVE_LOCALE_H) +check_include_file_concat("net/if.h" HAVE_NET_IF_H) +check_include_file_concat("netdb.h" HAVE_NETDB_H) +check_include_file_concat("netinet/in.h" HAVE_NETINET_IN_H) +check_include_file_concat("netinet/tcp.h" HAVE_NETINET_TCP_H) +check_include_file_concat("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H) +check_include_file_concat("openssl/engine.h" HAVE_OPENSSL_ENGINE_H) +check_include_file_concat("openssl/err.h" HAVE_OPENSSL_ERR_H) +check_include_file_concat("openssl/pem.h" HAVE_OPENSSL_PEM_H) +check_include_file_concat("openssl/pkcs12.h" HAVE_OPENSSL_PKCS12_H) +check_include_file_concat("openssl/rsa.h" HAVE_OPENSSL_RSA_H) +check_include_file_concat("openssl/ssl.h" HAVE_OPENSSL_SSL_H) +check_include_file_concat("openssl/x509.h" HAVE_OPENSSL_X509_H) +check_include_file_concat("pem.h" HAVE_PEM_H) +check_include_file_concat("poll.h" HAVE_POLL_H) +check_include_file_concat("pwd.h" HAVE_PWD_H) +check_include_file_concat("rsa.h" HAVE_RSA_H) +check_include_file_concat("setjmp.h" HAVE_SETJMP_H) +check_include_file_concat("sgtty.h" HAVE_SGTTY_H) +check_include_file_concat("signal.h" HAVE_SIGNAL_H) +check_include_file_concat("ssl.h" HAVE_SSL_H) +check_include_file_concat("stdbool.h" HAVE_STDBOOL_H) +check_include_file_concat("stdint.h" HAVE_STDINT_H) +check_include_file_concat("stdio.h" HAVE_STDIO_H) +check_include_file_concat("stdlib.h" HAVE_STDLIB_H) +check_include_file_concat("string.h" HAVE_STRING_H) +check_include_file_concat("strings.h" HAVE_STRINGS_H) +check_include_file_concat("stropts.h" HAVE_STROPTS_H) +check_include_file_concat("termio.h" HAVE_TERMIO_H) +check_include_file_concat("termios.h" HAVE_TERMIOS_H) +check_include_file_concat("time.h" HAVE_TIME_H) +check_include_file_concat("tld.h" HAVE_TLD_H) +check_include_file_concat("unistd.h" HAVE_UNISTD_H) +check_include_file_concat("utime.h" HAVE_UTIME_H) +check_include_file_concat("x509.h" HAVE_X509_H) + +check_include_file_concat("process.h" HAVE_PROCESS_H) +check_include_file_concat("stddef.h" HAVE_STDDEF_H) +check_include_file_concat("dlfcn.h" HAVE_DLFCN_H) +check_include_file_concat("malloc.h" HAVE_MALLOC_H) +check_include_file_concat("memory.h" HAVE_MEMORY_H) +check_include_file_concat("ldap.h" HAVE_LDAP_H) +check_include_file_concat("netinet/if_ether.h" HAVE_NETINET_IF_ETHER_H) +check_include_file_concat("stdint.h" HAVE_STDINT_H) +check_include_file_concat("sockio.h" HAVE_SOCKIO_H) +check_include_file_concat("sys/utsname.h" HAVE_SYS_UTSNAME_H) +check_include_file_concat("idna.h" HAVE_IDNA_H) + +if(CMAKE_USE_OPENSSL) + check_include_file_concat("openssl/rand.h" HAVE_OPENSSL_RAND_H) +endif(CMAKE_USE_OPENSSL) + +if(NOT HAVE_LDAP_H) + message(STATUS "LDAP_H not found CURL_DISABLE_LDAP set ON") + set(CURL_DISABLE_LDAP ON CACHE BOOL "" FORCE) +endif() + + +check_type_size(size_t SIZEOF_SIZE_T) +check_type_size(ssize_t SIZEOF_SSIZE_T) +check_type_size("long long" SIZEOF_LONG_LONG) +check_type_size("long" SIZEOF_LONG) +check_type_size("short" SIZEOF_SHORT) +check_type_size("int" SIZEOF_INT) +check_type_size("__int64" SIZEOF___INT64) +check_type_size("long double" SIZEOF_LONG_DOUBLE) +check_type_size("time_t" SIZEOF_TIME_T) +if(NOT HAVE_SIZEOF_SSIZE_T) + if(SIZEOF_LONG EQUAL SIZEOF_SIZE_T) + set(ssize_t long) + endif(SIZEOF_LONG EQUAL SIZEOF_SIZE_T) + if(NOT ssize_t AND SIZEOF___INT64 EQUAL SIZEOF_SIZE_T) + set(ssize_t __int64) + endif(NOT ssize_t AND SIZEOF___INT64 EQUAL SIZEOF_SIZE_T) +endif(NOT HAVE_SIZEOF_SSIZE_T) + +# Different sizeofs, etc. + +# define CURL_SIZEOF_LONG 4 +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_FORMAT_OFF_T "%lld" +# define CURL_SIZEOF_CURL_OFF_T 8 +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL + +set(CURL_SIZEOF_LONG ${SIZEOF_LONG}) + +if(SIZEOF_LONG EQUAL 8) + set(CURL_TYPEOF_CURL_OFF_T long) + set(CURL_SIZEOF_CURL_OFF_T 8) + set(CURL_FORMAT_CURL_OFF_T "ld") + set(CURL_FORMAT_CURL_OFF_TU "lu") + set(CURL_FORMAT_OFF_T "%ld") + set(CURL_SUFFIX_CURL_OFF_T L) + set(CURL_SUFFIX_CURL_OFF_TU LU) +endif(SIZEOF_LONG EQUAL 8) + +if(SIZEOF_LONG_LONG EQUAL 8) + set(CURL_TYPEOF_CURL_OFF_T "long long") + set(CURL_SIZEOF_CURL_OFF_T 8) + set(CURL_FORMAT_CURL_OFF_T "lld") + set(CURL_FORMAT_CURL_OFF_TU "llu") + set(CURL_FORMAT_OFF_T "%lld") + set(CURL_SUFFIX_CURL_OFF_T LL) + set(CURL_SUFFIX_CURL_OFF_TU LLU) +endif(SIZEOF_LONG_LONG EQUAL 8) + +if(NOT CURL_TYPEOF_CURL_OFF_T) + set(CURL_TYPEOF_CURL_OFF_T ${ssize_t}) + set(CURL_SIZEOF_CURL_OFF_T ${SIZEOF_SSIZE_T}) + # TODO: need adjustment here. + set(CURL_FORMAT_CURL_OFF_T "ld") + set(CURL_FORMAT_CURL_OFF_TU "lu") + set(CURL_FORMAT_OFF_T "%ld") + set(CURL_SUFFIX_CURL_OFF_T L) + set(CURL_SUFFIX_CURL_OFF_TU LU) +endif(NOT CURL_TYPEOF_CURL_OFF_T) + +if(HAVE_SIZEOF_LONG_LONG) + set(HAVE_LONGLONG 1) + set(HAVE_LL 1) +endif(HAVE_SIZEOF_LONG_LONG) + +find_file(RANDOM_FILE urandom /dev) +mark_as_advanced(RANDOM_FILE) + +# Check for some functions that are used +check_symbol_exists(basename "${CURL_INCLUDES}" HAVE_BASENAME) +check_symbol_exists(socket "${CURL_INCLUDES}" HAVE_SOCKET) +check_symbol_exists(poll "${CURL_INCLUDES}" HAVE_POLL) +check_symbol_exists(select "${CURL_INCLUDES}" HAVE_SELECT) +check_symbol_exists(strdup "${CURL_INCLUDES}" HAVE_STRDUP) +check_symbol_exists(strstr "${CURL_INCLUDES}" HAVE_STRSTR) +check_symbol_exists(strtok_r "${CURL_INCLUDES}" HAVE_STRTOK_R) +check_symbol_exists(strftime "${CURL_INCLUDES}" HAVE_STRFTIME) +check_symbol_exists(uname "${CURL_INCLUDES}" HAVE_UNAME) +check_symbol_exists(strcasecmp "${CURL_INCLUDES}" HAVE_STRCASECMP) +check_symbol_exists(stricmp "${CURL_INCLUDES}" HAVE_STRICMP) +check_symbol_exists(strcmpi "${CURL_INCLUDES}" HAVE_STRCMPI) +check_symbol_exists(strncmpi "${CURL_INCLUDES}" HAVE_STRNCMPI) +check_symbol_exists(alarm "${CURL_INCLUDES}" HAVE_ALARM) +if(NOT HAVE_STRNCMPI) + set(HAVE_STRCMPI) +endif(NOT HAVE_STRNCMPI) +check_symbol_exists(gethostbyaddr "${CURL_INCLUDES}" HAVE_GETHOSTBYADDR) +check_symbol_exists(gethostbyaddr_r "${CURL_INCLUDES}" HAVE_GETHOSTBYADDR_R) +check_symbol_exists(gettimeofday "${CURL_INCLUDES}" HAVE_GETTIMEOFDAY) +check_symbol_exists(inet_addr "${CURL_INCLUDES}" HAVE_INET_ADDR) +check_symbol_exists(inet_ntoa "${CURL_INCLUDES}" HAVE_INET_NTOA) +check_symbol_exists(inet_ntoa_r "${CURL_INCLUDES}" HAVE_INET_NTOA_R) +check_symbol_exists(tcsetattr "${CURL_INCLUDES}" HAVE_TCSETATTR) +check_symbol_exists(tcgetattr "${CURL_INCLUDES}" HAVE_TCGETATTR) +check_symbol_exists(perror "${CURL_INCLUDES}" HAVE_PERROR) +check_symbol_exists(closesocket "${CURL_INCLUDES}" HAVE_CLOSESOCKET) +check_symbol_exists(setvbuf "${CURL_INCLUDES}" HAVE_SETVBUF) +check_symbol_exists(sigsetjmp "${CURL_INCLUDES}" HAVE_SIGSETJMP) +check_symbol_exists(getpass_r "${CURL_INCLUDES}" HAVE_GETPASS_R) +check_symbol_exists(strlcat "${CURL_INCLUDES}" HAVE_STRLCAT) +check_symbol_exists(getpwuid "${CURL_INCLUDES}" HAVE_GETPWUID) +check_symbol_exists(geteuid "${CURL_INCLUDES}" HAVE_GETEUID) +check_symbol_exists(utime "${CURL_INCLUDES}" HAVE_UTIME) +if(CMAKE_USE_OPENSSL) + check_symbol_exists(RAND_status "${CURL_INCLUDES}" HAVE_RAND_STATUS) + check_symbol_exists(RAND_screen "${CURL_INCLUDES}" HAVE_RAND_SCREEN) + check_symbol_exists(RAND_egd "${CURL_INCLUDES}" HAVE_RAND_EGD) + check_symbol_exists(CRYPTO_cleanup_all_ex_data "${CURL_INCLUDES}" + HAVE_CRYPTO_CLEANUP_ALL_EX_DATA) + if(HAVE_LIBCRYPTO AND HAVE_LIBSSL) + set(USE_OPENSSL 1) + set(USE_SSLEAY 1) + endif(HAVE_LIBCRYPTO AND HAVE_LIBSSL) +endif(CMAKE_USE_OPENSSL) +check_symbol_exists(gmtime_r "${CURL_INCLUDES}" HAVE_GMTIME_R) +check_symbol_exists(localtime_r "${CURL_INCLUDES}" HAVE_LOCALTIME_R) + +check_symbol_exists(gethostbyname "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME) +check_symbol_exists(gethostbyname_r "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME_R) + +check_symbol_exists(signal "${CURL_INCLUDES}" HAVE_SIGNAL_FUNC) +check_symbol_exists(SIGALRM "${CURL_INCLUDES}" HAVE_SIGNAL_MACRO) +if(HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO) + set(HAVE_SIGNAL 1) +endif(HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO) +check_symbol_exists(uname "${CURL_INCLUDES}" HAVE_UNAME) +check_symbol_exists(strtoll "${CURL_INCLUDES}" HAVE_STRTOLL) +check_symbol_exists(_strtoi64 "${CURL_INCLUDES}" HAVE__STRTOI64) +check_symbol_exists(strerror_r "${CURL_INCLUDES}" HAVE_STRERROR_R) +check_symbol_exists(siginterrupt "${CURL_INCLUDES}" HAVE_SIGINTERRUPT) +check_symbol_exists(perror "${CURL_INCLUDES}" HAVE_PERROR) +check_symbol_exists(fork "${CURL_INCLUDES}" HAVE_FORK) +check_symbol_exists(freeaddrinfo "${CURL_INCLUDES}" HAVE_FREEADDRINFO) +check_symbol_exists(freeifaddrs "${CURL_INCLUDES}" HAVE_FREEIFADDRS) +check_symbol_exists(pipe "${CURL_INCLUDES}" HAVE_PIPE) +check_symbol_exists(ftruncate "${CURL_INCLUDES}" HAVE_FTRUNCATE) +check_symbol_exists(getprotobyname "${CURL_INCLUDES}" HAVE_GETPROTOBYNAME) +check_symbol_exists(getrlimit "${CURL_INCLUDES}" HAVE_GETRLIMIT) +check_symbol_exists(idn_free "${CURL_INCLUDES}" HAVE_IDN_FREE) +check_symbol_exists(idna_strerror "${CURL_INCLUDES}" HAVE_IDNA_STRERROR) +check_symbol_exists(tld_strerror "${CURL_INCLUDES}" HAVE_TLD_STRERROR) +check_symbol_exists(setlocale "${CURL_INCLUDES}" HAVE_SETLOCALE) +check_symbol_exists(setrlimit "${CURL_INCLUDES}" HAVE_SETRLIMIT) +check_symbol_exists(fcntl "${CURL_INCLUDES}" HAVE_FCNTL) +check_symbol_exists(ioctl "${CURL_INCLUDES}" HAVE_IOCTL) +check_symbol_exists(setsockopt "${CURL_INCLUDES}" HAVE_SETSOCKOPT) + +# symbol exists in win32, but function does not. +check_function_exists(inet_pton HAVE_INET_PTON) + +# sigaction and sigsetjmp are special. Use special mechanism for +# detecting those, but only if previous attempt failed. +if(HAVE_SIGNAL_H) + check_symbol_exists(sigaction "signal.h" HAVE_SIGACTION) +endif(HAVE_SIGNAL_H) + +if(NOT HAVE_SIGSETJMP) + if(HAVE_SETJMP_H) + check_symbol_exists(sigsetjmp "setjmp.h" HAVE_MACRO_SIGSETJMP) + if(HAVE_MACRO_SIGSETJMP) + set(HAVE_SIGSETJMP 1) + endif(HAVE_MACRO_SIGSETJMP) + endif(HAVE_SETJMP_H) +endif(NOT HAVE_SIGSETJMP) + +# If there is no stricmp(), do not allow LDAP to parse URLs +if(NOT HAVE_STRICMP) + set(HAVE_LDAP_URL_PARSE 1) +endif(NOT HAVE_STRICMP) + +# For other curl specific tests, use this macro. +macro(CURL_INTERNAL_TEST CURL_TEST) + if("${CURL_TEST}" MATCHES "^${CURL_TEST}$") + set(MACRO_CHECK_FUNCTION_DEFINITIONS + "-D${CURL_TEST} ${CURL_TEST_DEFINES} ${CMAKE_REQUIRED_FLAGS}") + if(CMAKE_REQUIRED_LIBRARIES) + set(CURL_TEST_ADD_LIBRARIES + "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") + endif(CMAKE_REQUIRED_LIBRARIES) + + message(STATUS "Performing Curl Test ${CURL_TEST}") + try_compile(${CURL_TEST} + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/CMake/CurlTests.c + CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} + "${CURL_TEST_ADD_LIBRARIES}" + OUTPUT_VARIABLE OUTPUT) + if(${CURL_TEST}) + set(${CURL_TEST} 1 CACHE INTERNAL "Curl test ${FUNCTION}") + message(STATUS "Performing Curl Test ${CURL_TEST} - Success") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log + "Performing Curl Test ${CURL_TEST} passed with the following output:\n" + "${OUTPUT}\n") + else(${CURL_TEST}) + message(STATUS "Performing Curl Test ${CURL_TEST} - Failed") + set(${CURL_TEST} "" CACHE INTERNAL "Curl test ${FUNCTION}") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log + "Performing Curl Test ${CURL_TEST} failed with the following output:\n" + "${OUTPUT}\n") + endif(${CURL_TEST}) + endif("${CURL_TEST}" MATCHES "^${CURL_TEST}$") +endmacro(CURL_INTERNAL_TEST) + +macro(CURL_INTERNAL_TEST_RUN CURL_TEST) + if("${CURL_TEST}_COMPILE" MATCHES "^${CURL_TEST}_COMPILE$") + set(MACRO_CHECK_FUNCTION_DEFINITIONS + "-D${CURL_TEST} ${CMAKE_REQUIRED_FLAGS}") + if(CMAKE_REQUIRED_LIBRARIES) + set(CURL_TEST_ADD_LIBRARIES + "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") + endif(CMAKE_REQUIRED_LIBRARIES) + + message(STATUS "Performing Curl Test ${CURL_TEST}") + try_run(${CURL_TEST} ${CURL_TEST}_COMPILE + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/CMake/CurlTests.c + CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} + "${CURL_TEST_ADD_LIBRARIES}" + OUTPUT_VARIABLE OUTPUT) + if(${CURL_TEST}_COMPILE AND NOT ${CURL_TEST}) + set(${CURL_TEST} 1 CACHE INTERNAL "Curl test ${FUNCTION}") + message(STATUS "Performing Curl Test ${CURL_TEST} - Success") + else(${CURL_TEST}_COMPILE AND NOT ${CURL_TEST}) + message(STATUS "Performing Curl Test ${CURL_TEST} - Failed") + set(${CURL_TEST} "" CACHE INTERNAL "Curl test ${FUNCTION}") + file(APPEND "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log" + "Performing Curl Test ${CURL_TEST} failed with the following output:\n" + "${OUTPUT}") + if(${CURL_TEST}_COMPILE) + file(APPEND + "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log" + "There was a problem running this test\n") + endif(${CURL_TEST}_COMPILE) + file(APPEND "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log" + "\n\n") + endif(${CURL_TEST}_COMPILE AND NOT ${CURL_TEST}) + endif("${CURL_TEST}_COMPILE" MATCHES "^${CURL_TEST}_COMPILE$") +endmacro(CURL_INTERNAL_TEST_RUN) + +# Do curl specific tests +foreach(CURL_TEST + HAVE_FCNTL_O_NONBLOCK + HAVE_IOCTLSOCKET + HAVE_IOCTLSOCKET_CAMEL + HAVE_IOCTLSOCKET_CAMEL_FIONBIO + HAVE_IOCTLSOCKET_FIONBIO + HAVE_IOCTL_FIONBIO + HAVE_IOCTL_SIOCGIFADDR + HAVE_SETSOCKOPT_SO_NONBLOCK + HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID + TIME_WITH_SYS_TIME + HAVE_O_NONBLOCK + HAVE_GETHOSTBYADDR_R_5 + HAVE_GETHOSTBYADDR_R_7 + HAVE_GETHOSTBYADDR_R_8 + HAVE_GETHOSTBYADDR_R_5_REENTRANT + HAVE_GETHOSTBYADDR_R_7_REENTRANT + HAVE_GETHOSTBYADDR_R_8_REENTRANT + HAVE_GETHOSTBYNAME_R_3 + HAVE_GETHOSTBYNAME_R_5 + HAVE_GETHOSTBYNAME_R_6 + HAVE_GETHOSTBYNAME_R_3_REENTRANT + HAVE_GETHOSTBYNAME_R_5_REENTRANT + HAVE_GETHOSTBYNAME_R_6_REENTRANT + HAVE_SOCKLEN_T + HAVE_IN_ADDR_T + HAVE_BOOL_T + STDC_HEADERS + RETSIGTYPE_TEST + HAVE_INET_NTOA_R_DECL + HAVE_INET_NTOA_R_DECL_REENTRANT + HAVE_GETADDRINFO + HAVE_FILE_OFFSET_BITS + ) + curl_internal_test(${CURL_TEST}) +endforeach(CURL_TEST) +if(HAVE_FILE_OFFSET_BITS) + set(_FILE_OFFSET_BITS 64) +endif(HAVE_FILE_OFFSET_BITS) +foreach(CURL_TEST + HAVE_GLIBC_STRERROR_R + HAVE_POSIX_STRERROR_R + ) + curl_internal_test_run(${CURL_TEST}) +endforeach(CURL_TEST) + +# Check for reentrant +foreach(CURL_TEST + HAVE_GETHOSTBYADDR_R_5 + HAVE_GETHOSTBYADDR_R_7 + HAVE_GETHOSTBYADDR_R_8 + HAVE_GETHOSTBYNAME_R_3 + HAVE_GETHOSTBYNAME_R_5 + HAVE_GETHOSTBYNAME_R_6 + HAVE_INET_NTOA_R_DECL_REENTRANT) + if(NOT ${CURL_TEST}) + if(${CURL_TEST}_REENTRANT) + set(NEED_REENTRANT 1) + endif(${CURL_TEST}_REENTRANT) + endif(NOT ${CURL_TEST}) +endforeach(CURL_TEST) + +if(NEED_REENTRANT) + foreach(CURL_TEST + HAVE_GETHOSTBYADDR_R_5 + HAVE_GETHOSTBYADDR_R_7 + HAVE_GETHOSTBYADDR_R_8 + HAVE_GETHOSTBYNAME_R_3 + HAVE_GETHOSTBYNAME_R_5 + HAVE_GETHOSTBYNAME_R_6) + set(${CURL_TEST} 0) + if(${CURL_TEST}_REENTRANT) + set(${CURL_TEST} 1) + endif(${CURL_TEST}_REENTRANT) + endforeach(CURL_TEST) +endif(NEED_REENTRANT) + +if(HAVE_INET_NTOA_R_DECL_REENTRANT) + set(HAVE_INET_NTOA_R_DECL 1) + set(NEED_REENTRANT 1) +endif(HAVE_INET_NTOA_R_DECL_REENTRANT) + +# Some other minor tests + +if(NOT HAVE_IN_ADDR_T) + set(in_addr_t "unsigned long") +endif(NOT HAVE_IN_ADDR_T) + +# Fix libz / zlib.h + +if(NOT CURL_SPECIAL_LIBZ) + if(NOT HAVE_LIBZ) + set(HAVE_ZLIB_H 0) + endif(NOT HAVE_LIBZ) + + if(NOT HAVE_ZLIB_H) + set(HAVE_LIBZ 0) + endif(NOT HAVE_ZLIB_H) +endif(NOT CURL_SPECIAL_LIBZ) + +if(_FILE_OFFSET_BITS) + set(_FILE_OFFSET_BITS 64) +endif(_FILE_OFFSET_BITS) +set(CMAKE_REQUIRED_FLAGS "-D_FILE_OFFSET_BITS=64") +set(CMAKE_EXTRA_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/curl/curl.h") +check_type_size("curl_off_t" SIZEOF_CURL_OFF_T) +set(CMAKE_EXTRA_INCLUDE_FILES) +set(CMAKE_REQUIRED_FLAGS) + + +# Check for nonblocking +set(HAVE_DISABLED_NONBLOCKING 1) +if(HAVE_FIONBIO OR + HAVE_IOCTLSOCKET OR + HAVE_IOCTLSOCKET_CASE OR + HAVE_O_NONBLOCK) + set(HAVE_DISABLED_NONBLOCKING) +endif(HAVE_FIONBIO OR + HAVE_IOCTLSOCKET OR + HAVE_IOCTLSOCKET_CASE OR + HAVE_O_NONBLOCK) + +if(RETSIGTYPE_TEST) + set(RETSIGTYPE void) +else(RETSIGTYPE_TEST) + set(RETSIGTYPE int) +endif(RETSIGTYPE_TEST) + +if(CMAKE_COMPILER_IS_GNUCC AND APPLE) + include(CheckCCompilerFlag) + check_c_compiler_flag(-Wno-long-double HAVE_C_FLAG_Wno_long_double) + if(HAVE_C_FLAG_Wno_long_double) + # The Mac version of GCC warns about use of long double. Disable it. + get_source_file_property(MPRINTF_COMPILE_FLAGS mprintf.c COMPILE_FLAGS) + if(MPRINTF_COMPILE_FLAGS) + set(MPRINTF_COMPILE_FLAGS "${MPRINTF_COMPILE_FLAGS} -Wno-long-double") + else(MPRINTF_COMPILE_FLAGS) + set(MPRINTF_COMPILE_FLAGS "-Wno-long-double") + endif(MPRINTF_COMPILE_FLAGS) + set_source_files_properties(mprintf.c PROPERTIES + COMPILE_FLAGS ${MPRINTF_COMPILE_FLAGS}) + endif(HAVE_C_FLAG_Wno_long_double) +endif(CMAKE_COMPILER_IS_GNUCC AND APPLE) + +if(HAVE_SOCKLEN_T) + set(CURL_TYPEOF_CURL_SOCKLEN_T "socklen_t") + check_type_size("socklen_t" CURL_SIZEOF_CURL_SOCKLEN_T) + if(NOT HAVE_CURL_SIZEOF_CURL_SOCKLEN_T) + message(FATAL_ERROR + "Check for sizeof socklen_t failed, see CMakeFiles/CMakerror.log") + endif() +else() + set(CURL_TYPEOF_CURL_SOCKLEN_T int) + set(CURL_SIZEOF_CURL_SOCKLEN_T ${SIZEOF_INT}) +endif() + +include(CMake/OtherTests.cmake) + +add_definitions(-DHAVE_CONFIG_H) + +# For windows, do not allow the compiler to use default target (Vista). +if(WIN32) + add_definitions(-D_WIN32_WINNT=0x0501) +endif(WIN32) + +if(MSVC) + add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE) +endif(MSVC) + +# Sets up the dependencies (zlib, OpenSSL, etc.) of a cURL subproject according to options. +# TODO This is far to be complete! +function(SETUP_CURL_DEPENDENCIES TARGET_NAME) + if(CURL_ZLIB AND ZLIB_FOUND) + include_directories(${ZLIB_INCLUDE_DIR}) + endif() + if(CURL_ZLIB AND ZLIB_FOUND) + target_link_libraries(${TARGET_NAME} ${ZLIB_LIBRARIES}) + #ADD_DEFINITIONS( -DHAVE_ZLIB_H -DHAVE_ZLIB -DHAVE_LIBZ ) + endif() + + if(CMAKE_USE_OPENSSL AND OPENSSL_FOUND) + include_directories(${OPENSSL_INCLUDE_DIR}) + endif() + if(CMAKE_USE_OPENSSL AND CURL_CONFIG_HAS_BEEN_RUN_BEFORE) + target_link_libraries(${TARGET_NAME} ${OPENSSL_LIBRARIES}) + #ADD_DEFINITIONS( -DUSE_SSLEAY ) + endif() +endfunction() + +# Ugly (but functional) way to include "Makefile.inc" by transforming it (= regenerate it). +function(TRANSFORM_MAKEFILE_INC INPUT_FILE OUTPUT_FILE) + file(READ ${INPUT_FILE} MAKEFILE_INC_TEXT) + string(REPLACE "$(top_srcdir)" "\${CURL_SOURCE_DIR}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) + string(REPLACE "$(top_builddir)" "\${CURL_BINARY_DIR}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) + + string(REGEX REPLACE "\\\\\n" "§!§" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) + string(REGEX REPLACE "([a-zA-Z_][a-zA-Z0-9_]*)[\t ]*=[\t ]*([^\n]*\n)" "SET(\\1 \\2)\n" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) + string(REPLACE "§!§" "\n" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) + + string(REGEX REPLACE "\\$\\(([a-zA-Z_][a-zA-Z0-9_]*)\\)" "\${\\1}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Replace $() with ${} + string(REGEX REPLACE "@([a-zA-Z_][a-zA-Z0-9_]*)@" "\${\\1}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Replace @@ with ${}, even if that may not be read by CMake scripts. + file(WRITE ${OUTPUT_FILE} ${MAKEFILE_INC_TEXT}) + +endfunction() + +add_subdirectory(lib) +if(BUILD_CURL_EXE) + add_subdirectory(src) +endif() +if(BUILD_CURL_TESTS) + add_subdirectory(tests) +endif() + +# This needs to be run very last so other parts of the scripts can take advantage of this. +if(NOT CURL_CONFIG_HAS_BEEN_RUN_BEFORE) + set(CURL_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before") +endif() diff --git a/vendor/voclient/common/curl-7.20.1/COPYING b/vendor/voclient/common/curl-7.20.1/COPYING new file mode 100644 index 00000000..163b299a --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/COPYING @@ -0,0 +1,21 @@ +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 1996 - 2010, Daniel Stenberg, . + +All rights reserved. + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright +notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN +NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE +OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization of the copyright holder. diff --git a/vendor/voclient/common/curl-7.20.1/MacOSX-Framework b/vendor/voclient/common/curl-7.20.1/MacOSX-Framework new file mode 100755 index 00000000..032d5dfc --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/MacOSX-Framework @@ -0,0 +1,78 @@ +#!/bin/bash +# This script performs all of the steps needed to build a +# universal binary libcurl.framework for Mac OS X 10.4 or greater. + +VERSION=`/usr/bin/sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curlver.h` + +SDK32='/Developer/SDKs/MacOSX10.4u.sdk' + +MINVER32='-mmacosx-version-min=10.4' + +ARCHES32='-arch ppc -arch i386' + +SDK64='/Developer/SDKs/MacOSX10.5.sdk' + +MINVER64='-mmacosx-version-min=10.5' + +ARCHES64='-arch ppc64 -arch x86_64' + +if test -d $SDK32; then + echo "----Configuring libcurl for 32 bit universal framework..." + ./configure --disable-dependency-tracking --disable-static --with-gssapi \ + CFLAGS="-Os -isysroot $SDK32 $ARCHES32 $MINVER32" \ + LDFLAGS="-Wl,-syslibroot,$SDK32 $ARCHES32 $MINVER32 -Wl,-headerpad_max_install_names" \ + CC=$CC + + echo "----Building 32 bit libcurl..." + make + + echo "----Creating 32 bit framework..." + rm -r libcurl.framework + mkdir -p libcurl.framework/Versions/A/Resources + cp lib/.libs/libcurl.dylib libcurl.framework/Versions/A/libcurl + install_name_tool -id @executable_path/../Frameworks/libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl + /usr/bin/sed -e "s/7\.12\.3/$VERSION/" lib/libcurl.plist >libcurl.framework/Versions/A/Resources/Info.plist + mkdir -p libcurl.framework/Versions/A/Headers/curl + cp include/curl/*.h libcurl.framework/Versions/A/Headers/curl + pushd libcurl.framework + ln -fs Versions/A/libcurl libcurl + ln -fs Versions/A/Resources Resources + ln -fs Versions/A/Headers Headers + cd Versions + ln -fs A Current + + if test -d $SDK64; then + popd + make clean + echo "----Configuring libcurl for 64 bit universal framework..." + ./configure --disable-dependency-tracking --disable-static --with-gssapi \ + CFLAGS="-Os -isysroot $SDK64 $ARCHES64 $MINVER64" \ + LDFLAGS="-Wl,-syslibroot,$SDK64 $ARCHES64 $MINVER64 -Wl,-headerpad_max_install_names" \ + CC=$CC + + echo "----Building 64 bit libcurl..." + make + + echo "----Appending 64 bit framework to 32 bit framework..." + cp lib/.libs/libcurl.dylib libcurl.framework/Versions/A/libcurl64 + install_name_tool -id @executable_path/../Frameworks/libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl64 + cp libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl32 + lipo libcurl.framework/Versions/A/libcurl32 libcurl.framework/Versions/A/libcurl64 -create -output libcurl.framework/Versions/A/libcurl + rm libcurl.framework/Versions/A/libcurl32 libcurl.framework/Versions/A/libcurl64 + cp libcurl.framework/Versions/A/Headers/curl/curlbuild.h libcurl.framework/Versions/A/Headers/curl/curlbuild32.h + cp include/curl/curlbuild.h libcurl.framework/Versions/A/Headers/curl/curlbuild64.h + cat >libcurl.framework/Versions/A/Headers/curl/curlbuild.h <, et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + + +srcdir = . +top_srcdir = . + +pkgdatadir = $(datadir)/curl +pkglibdir = $(libdir)/curl +pkgincludedir = $(includedir)/curl +top_builddir = . +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = /usr/bin/install -c +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-apple-darwin12.5.0 +host_triplet = x86_64-apple-darwin12.5.0 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/curl-config.in \ + $(srcdir)/libcurl.pc.in $(top_srcdir)/configure COPYING \ + compile config.guess config.sub depcomp install-sh ltmain.sh \ + missing mkinstalldirs +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/curl-compilers.m4 \ + $(top_srcdir)/m4/curl-confopts.m4 \ + $(top_srcdir)/m4/curl-functions.m4 \ + $(top_srcdir)/m4/curl-override.m4 \ + $(top_srcdir)/m4/curl-reentrant.m4 \ + $(top_srcdir)/m4/curl-system.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno configure.status.lineno +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/lib/curl_config.h \ + $(top_builddir)/src/curl_config.h \ + $(top_builddir)/include/curl/curlbuild.h +CONFIG_CLEAN_FILES = curl-config libcurl.pc +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" +binSCRIPT_INSTALL = $(INSTALL_SCRIPT) +SCRIPTS = $(bin_SCRIPTS) +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +pkgconfigDATA_INSTALL = $(INSTALL_DATA) +DATA = $(pkgconfig_DATA) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = ${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run aclocal-1.9 +AMDEP_FALSE = # +AMDEP_TRUE = +AMTAR = ${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run tar +AR = /usr/bin/ar +AS = as +AUTOCONF = ${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run autoconf +AUTOHEADER = ${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run autoheader +AUTOMAKE = ${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run automake-1.9 +AWK = awk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers +CONFIGURE_OPTIONS = " '--prefix=/iraf/iraf/vendor/voclient/' '--exec-prefix=/iraf/iraf/vendor/voclient/' '--disable-shared' '' '--disable-ftp' '' '--disable-file' '' '--disable-ldap' '' '--disable-ldaps' '' '--disable-proxy' '' '--disable-dict' '' '--disable-telnet' '' '--disable-tftp' '' '--disable-manual' '' '--disable-ipv6' '' '--disable-ares' '' '--disable-sspi' '' '--disable-crypto-auth' '' '--without-krb4' '' '--without-ssl' '' '--without-zlib' '' '--without-libssh2' '' '--without-gnutls' '' '--without-nss' '' '--without-ca-path' '' '--without-libidn' 'build_alias=' 'host_alias=' 'target_alias=' 'CC=gcc' 'CFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4' 'LDFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4'" +CPP = gcc -E +CPPFLAGS = +CROSSCOMPILING_FALSE = +CROSSCOMPILING_TRUE = # +CURLDEBUG_FALSE = +CURLDEBUG_TRUE = # +CURL_CA_BUNDLE = +CURL_DISABLE_DICT = 1 +CURL_DISABLE_FILE = 1 +CURL_DISABLE_FTP = 1 +CURL_DISABLE_HTTP = +CURL_DISABLE_IMAP = +CURL_DISABLE_LDAP = 1 +CURL_DISABLE_LDAPS = 1 +CURL_DISABLE_POP3 = +CURL_DISABLE_PROXY = 1 +CURL_DISABLE_RTSP = +CURL_DISABLE_SMTP = +CURL_DISABLE_TELNET = 1 +CURL_DISABLE_TFTP = 1 +CURL_LIBS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DLLTOOL = dlltool +DSYMUTIL = dsymutil +DUMPBIN = +ECHO_C = \c +ECHO_N = +ECHO_T = +EGREP = /usr/bin/grep -E +EXEEXT = +FGREP = /usr/bin/grep -F +GREP = /usr/bin/grep +HAVE_LIBZ = +HAVE_LIBZ_FALSE = +HAVE_LIBZ_TRUE = # +HAVE_PK11_CREATEGENERICOBJECT = +IDN_ENABLED = +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +IPV6_ENABLED = +KRB4_ENABLED = +LD = /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld +LDFLAGS = -arch i386 -m32 -mmacosx-version-min=10.4 +LIBCURL_LIBS = +LIBOBJS = +LIBS = +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = lipo +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAINTAINER_MODE_FALSE = +MAINTAINER_MODE_TRUE = # +MAKEINFO = ${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run makeinfo +MANOPT = -man +MIMPURE_FALSE = +MIMPURE_TRUE = # +NM = /usr/bin/nm +NMEDIT = nmedit +NO_UNDEFINED_FALSE = +NO_UNDEFINED_TRUE = # +NROFF = /usr/bin/nroff +OBJDUMP = objdump +OBJEXT = o +OTOOL = otool +OTOOL64 = : +PACKAGE = curl +PACKAGE_BUGREPORT = a suitable curl mailing list => http://curl.haxx.se/mail/ +PACKAGE_NAME = curl +PACKAGE_STRING = curl - +PACKAGE_TARNAME = curl +PACKAGE_URL = +PACKAGE_VERSION = - +PATH = /Users/fitz/.iraf/bin:.:/Users/fitz/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/opt/local/bin:/usr/local/sbin:/usr/local/pvm/pvm3/bin:/usr/local/pvm/pvm3/lib:/usr/local/ch/bin:/usr/local/astrometry/bin:/usr/local/mysql/bin:/Developer/NVIDIA/CUDA-5.0/bin:/usr/X11R6/bin:/usr/local/git/bin +PATH_SEPARATOR = : +PERL = /usr/bin/perl +PKGADD_NAME = cURL - a client that groks URLs +PKGADD_PKG = HAXXcurl +PKGADD_VENDOR = curl.haxx.se +PKGCONFIG = +RANDOM_FILE = +RANLIB = ranlib +REQUIRE_LIB_DEPS = yes +SED = /usr/bin/sed +SET_MAKE = +SHELL = /bin/sh +SONAME_BUMP_FALSE = +SONAME_BUMP_TRUE = # +SSL_ENABLED = +STATICLIB_FALSE = +STATICLIB_TRUE = # +STRIP = strip +SUPPORT_FEATURES = +SUPPORT_PROTOCOLS = HTTP IMAP POP3 RTSP SMTP +TEST_SERVER_LIBS = +USE_ARES = +USE_EMBEDDED_ARES_FALSE = +USE_EMBEDDED_ARES_TRUE = # +USE_GNUTLS = +USE_LIBSSH2 = +USE_MANUAL_FALSE = +USE_MANUAL_TRUE = # +USE_NSS = +USE_SSLEAY = +USE_WINDOWS_SSPI = +VERSION = 7.20.1 +VERSIONNUM = 071401 +ac_ct_CC = gcc +ac_ct_DUMPBIN = +am__fastdepCC_FALSE = # +am__fastdepCC_TRUE = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-apple-darwin12.5.0 +build_alias = +build_cpu = x86_64 +build_os = darwin12.5.0 +build_vendor = apple +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = /iraf/iraf/vendor/voclient +host = x86_64-apple-darwin12.5.0 +host_alias = +host_cpu = x86_64 +host_os = darwin12.5.0 +host_vendor = apple +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = /iraf/iraf/vendor/voclient/common/curl/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +libext = a +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +lt_ECHO = /bin/echo +mandir = ${datarootdir}/man +mkdir_p = $(mkinstalldirs) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /iraf/iraf/vendor/voclient +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +subdirs = +sysconfdir = ${prefix}/etc +target_alias = +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 +CMAKE_DIST = CMakeLists.txt CMake/CheckTypeSize.c.in CMake/CheckTypeSize.cmake \ +CMake/CMakeConfigurableFile.in CMake/CurlCheckCSourceCompiles.cmake \ +CMake/CurlCheckCSourceRuns.cmake CMake/CurlTests.c CMake/FindOpenSSL.cmake \ +CMake/FindZLIB.cmake CMake/OtherTests.cmake CMake/Platforms/WindowsCache.cmake \ +CMake/Utilities.cmake include/curl/curlbuild.h.cmake + +EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \ + curl-style.el sample.emacs RELEASE-NOTES buildconf \ + libcurl.pc.in vc6curl.dsw MacOSX-Framework Android.mk $(CMAKE_DIST) + +bin_SCRIPTS = curl-config +SUBDIRS = lib src +DIST_SUBDIRS = $(SUBDIRS) tests include packages docs +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libcurl.pc +all: all-recursive + +.SUFFIXES: +am--refresh: + @: +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ + cd $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: # $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ + else :; fi; \ + done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + mkdir $(distdir) + $(mkdir_p) $(distdir)/. $(distdir)/CMake $(distdir)/CMake/Platforms $(distdir)/include/curl $(distdir)/m4 $(distdir)/packages/AIX/RPM $(distdir)/packages/EPM $(distdir)/packages/Linux/RPM + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook + -find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(SCRIPTS) $(DATA) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-libtool \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +info: info-recursive + +info-am: + +install-data-am: install-pkgconfigDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook + +install-exec-am: install-binSCRIPTS + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binSCRIPTS uninstall-info-am \ + uninstall-pkgconfigDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ + check-am clean clean-generic clean-libtool clean-local \ + clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \ + dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \ + distclean distclean-generic distclean-libtool \ + distclean-recursive distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-am install-binSCRIPTS install-data \ + install-data-am install-data-hook install-exec install-exec-am \ + install-info install-info-am install-man install-pkgconfigDATA \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-generic \ + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am \ + uninstall-binSCRIPTS uninstall-hook uninstall-info-am \ + uninstall-pkgconfigDATA + + +dist-hook: + rm -rf $(top_builddir)/tests/log + find $(distdir) -name "*.dist" -exec rm {} \; + (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \ + for file in $$distit; do \ + strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \ + cp $$file $(distdir)$$strip; \ + done) + +html: + cd docs; make html + +pdf: + cd docs; make pdf + +check: test examples + +#test-full: test +#test-torture: test + +#test: +# @echo "NOTICE: we can't run the tests when cross-compiling!" + +test: + @(cd tests; $(MAKE) all quiet-test) + +test-full: + @(cd tests; $(MAKE) all full-test) + +test-torture: + @(cd tests; $(MAKE) all torture-test) + +examples: + @(cd docs/examples; $(MAKE) check) + +clean-local: + @(cd tests; $(MAKE) clean) + @(cd docs; $(MAKE) clean) + +# +# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros +# must contain the following line: +# %_topdir /home/loic/local/rpm +# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc. +# +# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS +# +# If additional configure flags are needed to build the package, add the +# following in ~/.rpmmacros +# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS} +# and run make rpm in the following way: +# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm +# + +rpms: + $(MAKE) RPMDIST=curl rpm + $(MAKE) RPMDIST=curl-ssl rpm + +rpm: + RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \ + cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \ + cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \ + rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \ + mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \ + mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm . + +# +# Build a Solaris pkgadd format file +# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format +# file (which ends up back in this directory). +# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do +# pkgadd -d ./HAXXcurl-* +# + +# gak - libtool requires an absoulte directory, hence the pwd below... +pkgadd: + umask 022 ; \ + make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \ + cat COPYING > $(srcdir)/packages/Solaris/copyright ; \ + cd $(srcdir)/packages/Solaris && $(MAKE) package + +# +# Build a cygwin binary tarball installation file +# resulting .tar.bz2 file will end up at packages/Win32/cygwin +cygwinbin: + $(MAKE) -C packages/Win32/cygwin cygwinbin + +# We extend the standard install with a custom hook: +install-data-hook: + cd include && $(MAKE) install + cd docs && $(MAKE) install + +# We extend the standard uninstall with a custom hook: +uninstall-hook: + cd include && $(MAKE) uninstall + cd docs && $(MAKE) uninstall + +ca-bundle: lib/mk-ca-bundle.pl + @echo "generate a fresh ca-bundle.crt" + @perl $< -b -l -u lib/ca-bundle.crt + +ca-firefox: lib/firefox-db2pem.sh + @echo "generate a fresh ca-bundle.crt" + ./lib/firefox-db2pem.sh lib/ca-bundle.crt +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/vendor/voclient/common/curl-7.20.1/Makefile.am b/vendor/voclient/common/curl-7.20.1/Makefile.am new file mode 100644 index 00000000..15836e9b --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/Makefile.am @@ -0,0 +1,153 @@ +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + +AUTOMAKE_OPTIONS = foreign + +ACLOCAL_AMFLAGS = -I m4 + +CMAKE_DIST = CMakeLists.txt CMake/CheckTypeSize.c.in CMake/CheckTypeSize.cmake \ +CMake/CMakeConfigurableFile.in CMake/CurlCheckCSourceCompiles.cmake \ +CMake/CurlCheckCSourceRuns.cmake CMake/CurlTests.c CMake/FindOpenSSL.cmake \ +CMake/FindZLIB.cmake CMake/OtherTests.cmake CMake/Platforms/WindowsCache.cmake \ +CMake/Utilities.cmake include/curl/curlbuild.h.cmake + +EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \ + curl-style.el sample.emacs RELEASE-NOTES buildconf \ + libcurl.pc.in vc6curl.dsw MacOSX-Framework Android.mk $(CMAKE_DIST) + +bin_SCRIPTS = curl-config + +SUBDIRS = lib src +DIST_SUBDIRS = $(SUBDIRS) tests include packages docs + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libcurl.pc + +dist-hook: + rm -rf $(top_builddir)/tests/log + find $(distdir) -name "*.dist" -exec rm {} \; + (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \ + for file in $$distit; do \ + strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \ + cp $$file $(distdir)$$strip; \ + done) + +html: + cd docs; make html + +pdf: + cd docs; make pdf + +check: test examples + +if CROSSCOMPILING +test-full: test +test-torture: test + +test: + @echo "NOTICE: we can't run the tests when cross-compiling!" + +else + +test: + @(cd tests; $(MAKE) all quiet-test) + +test-full: + @(cd tests; $(MAKE) all full-test) + +test-torture: + @(cd tests; $(MAKE) all torture-test) + +endif + +examples: + @(cd docs/examples; $(MAKE) check) + +clean-local: + @(cd tests; $(MAKE) clean) + @(cd docs; $(MAKE) clean) + +# +# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros +# must contain the following line: +# %_topdir /home/loic/local/rpm +# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc. +# +# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS +# +# If additional configure flags are needed to build the package, add the +# following in ~/.rpmmacros +# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS} +# and run make rpm in the following way: +# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm +# + +rpms: + $(MAKE) RPMDIST=curl rpm + $(MAKE) RPMDIST=curl-ssl rpm + +rpm: + RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \ + cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \ + cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \ + rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \ + mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \ + mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm . + +# +# Build a Solaris pkgadd format file +# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format +# file (which ends up back in this directory). +# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do +# pkgadd -d ./HAXXcurl-* +# + +# gak - libtool requires an absoulte directory, hence the pwd below... +pkgadd: + umask 022 ; \ + make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \ + cat COPYING > $(srcdir)/packages/Solaris/copyright ; \ + cd $(srcdir)/packages/Solaris && $(MAKE) package + +# +# Build a cygwin binary tarball installation file +# resulting .tar.bz2 file will end up at packages/Win32/cygwin +cygwinbin: + $(MAKE) -C packages/Win32/cygwin cygwinbin + +# We extend the standard install with a custom hook: +install-data-hook: + cd include && $(MAKE) install + cd docs && $(MAKE) install + +# We extend the standard uninstall with a custom hook: +uninstall-hook: + cd include && $(MAKE) uninstall + cd docs && $(MAKE) uninstall + +ca-bundle: lib/mk-ca-bundle.pl + @echo "generate a fresh ca-bundle.crt" + @perl $< -b -l -u lib/ca-bundle.crt + +ca-firefox: lib/firefox-db2pem.sh + @echo "generate a fresh ca-bundle.crt" + ./lib/firefox-db2pem.sh lib/ca-bundle.crt diff --git a/vendor/voclient/common/curl-7.20.1/Makefile.in b/vendor/voclient/common/curl-7.20.1/Makefile.in new file mode 100644 index 00000000..1a034b09 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/Makefile.in @@ -0,0 +1,883 @@ +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/curl-config.in \ + $(srcdir)/libcurl.pc.in $(top_srcdir)/configure COPYING \ + compile config.guess config.sub depcomp install-sh ltmain.sh \ + missing mkinstalldirs +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/curl-compilers.m4 \ + $(top_srcdir)/m4/curl-confopts.m4 \ + $(top_srcdir)/m4/curl-functions.m4 \ + $(top_srcdir)/m4/curl-override.m4 \ + $(top_srcdir)/m4/curl-reentrant.m4 \ + $(top_srcdir)/m4/curl-system.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno configure.status.lineno +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/lib/curl_config.h \ + $(top_builddir)/src/curl_config.h \ + $(top_builddir)/include/curl/curlbuild.h +CONFIG_CLEAN_FILES = curl-config libcurl.pc +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" +binSCRIPT_INSTALL = $(INSTALL_SCRIPT) +SCRIPTS = $(bin_SCRIPTS) +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +pkgconfigDATA_INSTALL = $(INSTALL_DATA) +DATA = $(pkgconfig_DATA) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CROSSCOMPILING_FALSE = @CROSSCOMPILING_FALSE@ +CROSSCOMPILING_TRUE = @CROSSCOMPILING_TRUE@ +CURLDEBUG_FALSE = @CURLDEBUG_FALSE@ +CURLDEBUG_TRUE = @CURLDEBUG_TRUE@ +CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ +CURL_DISABLE_DICT = @CURL_DISABLE_DICT@ +CURL_DISABLE_FILE = @CURL_DISABLE_FILE@ +CURL_DISABLE_FTP = @CURL_DISABLE_FTP@ +CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@ +CURL_DISABLE_IMAP = @CURL_DISABLE_IMAP@ +CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@ +CURL_DISABLE_LDAPS = @CURL_DISABLE_LDAPS@ +CURL_DISABLE_POP3 = @CURL_DISABLE_POP3@ +CURL_DISABLE_PROXY = @CURL_DISABLE_PROXY@ +CURL_DISABLE_RTSP = @CURL_DISABLE_RTSP@ +CURL_DISABLE_SMTP = @CURL_DISABLE_SMTP@ +CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@ +CURL_DISABLE_TFTP = @CURL_DISABLE_TFTP@ +CURL_LIBS = @CURL_LIBS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GREP = @GREP@ +HAVE_LIBZ = @HAVE_LIBZ@ +HAVE_LIBZ_FALSE = @HAVE_LIBZ_FALSE@ +HAVE_LIBZ_TRUE = @HAVE_LIBZ_TRUE@ +HAVE_PK11_CREATEGENERICOBJECT = @HAVE_PK11_CREATEGENERICOBJECT@ +IDN_ENABLED = @IDN_ENABLED@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +IPV6_ENABLED = @IPV6_ENABLED@ +KRB4_ENABLED = @KRB4_ENABLED@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCURL_LIBS = @LIBCURL_LIBS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ +MAKEINFO = @MAKEINFO@ +MANOPT = @MANOPT@ +MIMPURE_FALSE = @MIMPURE_FALSE@ +MIMPURE_TRUE = @MIMPURE_TRUE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NO_UNDEFINED_FALSE = @NO_UNDEFINED_FALSE@ +NO_UNDEFINED_TRUE = @NO_UNDEFINED_TRUE@ +NROFF = @NROFF@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH = @PATH@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +PKGADD_NAME = @PKGADD_NAME@ +PKGADD_PKG = @PKGADD_PKG@ +PKGADD_VENDOR = @PKGADD_VENDOR@ +PKGCONFIG = @PKGCONFIG@ +RANDOM_FILE = @RANDOM_FILE@ +RANLIB = @RANLIB@ +REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SONAME_BUMP_FALSE = @SONAME_BUMP_FALSE@ +SONAME_BUMP_TRUE = @SONAME_BUMP_TRUE@ +SSL_ENABLED = @SSL_ENABLED@ +STATICLIB_FALSE = @STATICLIB_FALSE@ +STATICLIB_TRUE = @STATICLIB_TRUE@ +STRIP = @STRIP@ +SUPPORT_FEATURES = @SUPPORT_FEATURES@ +SUPPORT_PROTOCOLS = @SUPPORT_PROTOCOLS@ +TEST_SERVER_LIBS = @TEST_SERVER_LIBS@ +USE_ARES = @USE_ARES@ +USE_EMBEDDED_ARES_FALSE = @USE_EMBEDDED_ARES_FALSE@ +USE_EMBEDDED_ARES_TRUE = @USE_EMBEDDED_ARES_TRUE@ +USE_GNUTLS = @USE_GNUTLS@ +USE_LIBSSH2 = @USE_LIBSSH2@ +USE_MANUAL_FALSE = @USE_MANUAL_FALSE@ +USE_MANUAL_TRUE = @USE_MANUAL_TRUE@ +USE_NSS = @USE_NSS@ +USE_SSLEAY = @USE_SSLEAY@ +USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@ +VERSION = @VERSION@ +VERSIONNUM = @VERSIONNUM@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +libext = @libext@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 +CMAKE_DIST = CMakeLists.txt CMake/CheckTypeSize.c.in CMake/CheckTypeSize.cmake \ +CMake/CMakeConfigurableFile.in CMake/CurlCheckCSourceCompiles.cmake \ +CMake/CurlCheckCSourceRuns.cmake CMake/CurlTests.c CMake/FindOpenSSL.cmake \ +CMake/FindZLIB.cmake CMake/OtherTests.cmake CMake/Platforms/WindowsCache.cmake \ +CMake/Utilities.cmake include/curl/curlbuild.h.cmake + +EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \ + curl-style.el sample.emacs RELEASE-NOTES buildconf \ + libcurl.pc.in vc6curl.dsw MacOSX-Framework Android.mk $(CMAKE_DIST) + +bin_SCRIPTS = curl-config +SUBDIRS = lib src +DIST_SUBDIRS = $(SUBDIRS) tests include packages docs +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libcurl.pc +all: all-recursive + +.SUFFIXES: +am--refresh: + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ + cd $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ + else :; fi; \ + done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + mkdir $(distdir) + $(mkdir_p) $(distdir)/. $(distdir)/CMake $(distdir)/CMake/Platforms $(distdir)/include/curl $(distdir)/m4 $(distdir)/packages/AIX/RPM $(distdir)/packages/EPM $(distdir)/packages/Linux/RPM + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook + -find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(SCRIPTS) $(DATA) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-libtool \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +info: info-recursive + +info-am: + +install-data-am: install-pkgconfigDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook + +install-exec-am: install-binSCRIPTS + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binSCRIPTS uninstall-info-am \ + uninstall-pkgconfigDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ + check-am clean clean-generic clean-libtool clean-local \ + clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \ + dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \ + distclean distclean-generic distclean-libtool \ + distclean-recursive distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-am install-binSCRIPTS install-data \ + install-data-am install-data-hook install-exec install-exec-am \ + install-info install-info-am install-man install-pkgconfigDATA \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-generic \ + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am \ + uninstall-binSCRIPTS uninstall-hook uninstall-info-am \ + uninstall-pkgconfigDATA + + +dist-hook: + rm -rf $(top_builddir)/tests/log + find $(distdir) -name "*.dist" -exec rm {} \; + (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \ + for file in $$distit; do \ + strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \ + cp $$file $(distdir)$$strip; \ + done) + +html: + cd docs; make html + +pdf: + cd docs; make pdf + +check: test examples + +@CROSSCOMPILING_TRUE@test-full: test +@CROSSCOMPILING_TRUE@test-torture: test + +@CROSSCOMPILING_TRUE@test: +@CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't run the tests when cross-compiling!" + +@CROSSCOMPILING_FALSE@test: +@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all quiet-test) + +@CROSSCOMPILING_FALSE@test-full: +@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all full-test) + +@CROSSCOMPILING_FALSE@test-torture: +@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all torture-test) + +examples: + @(cd docs/examples; $(MAKE) check) + +clean-local: + @(cd tests; $(MAKE) clean) + @(cd docs; $(MAKE) clean) + +# +# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros +# must contain the following line: +# %_topdir /home/loic/local/rpm +# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc. +# +# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS +# +# If additional configure flags are needed to build the package, add the +# following in ~/.rpmmacros +# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS} +# and run make rpm in the following way: +# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm +# + +rpms: + $(MAKE) RPMDIST=curl rpm + $(MAKE) RPMDIST=curl-ssl rpm + +rpm: + RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \ + cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \ + cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \ + rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \ + mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \ + mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm . + +# +# Build a Solaris pkgadd format file +# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format +# file (which ends up back in this directory). +# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do +# pkgadd -d ./HAXXcurl-* +# + +# gak - libtool requires an absoulte directory, hence the pwd below... +pkgadd: + umask 022 ; \ + make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \ + cat COPYING > $(srcdir)/packages/Solaris/copyright ; \ + cd $(srcdir)/packages/Solaris && $(MAKE) package + +# +# Build a cygwin binary tarball installation file +# resulting .tar.bz2 file will end up at packages/Win32/cygwin +cygwinbin: + $(MAKE) -C packages/Win32/cygwin cygwinbin + +# We extend the standard install with a custom hook: +install-data-hook: + cd include && $(MAKE) install + cd docs && $(MAKE) install + +# We extend the standard uninstall with a custom hook: +uninstall-hook: + cd include && $(MAKE) uninstall + cd docs && $(MAKE) uninstall + +ca-bundle: lib/mk-ca-bundle.pl + @echo "generate a fresh ca-bundle.crt" + @perl $< -b -l -u lib/ca-bundle.crt + +ca-firefox: lib/firefox-db2pem.sh + @echo "generate a fresh ca-bundle.crt" + ./lib/firefox-db2pem.sh lib/ca-bundle.crt +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/vendor/voclient/common/curl-7.20.1/README b/vendor/voclient/common/curl-7.20.1/README new file mode 100644 index 00000000..2ffacc32 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/README @@ -0,0 +1,49 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + +README + + Curl is a command line tool for transferring data specified with URL + syntax. Find out how to use curl by reading the curl.1 man page or the + MANUAL document. Find out how to install Curl by reading the INSTALL + document. + + libcurl is the library curl is using to do its job. It is readily + available to be used by your software. Read the libcurl.3 man page to + learn how! + + You find answers to the most frequent questions we get in the FAQ document. + + Study the COPYING file for distribution terms and similar. If you distribute + curl binaries or other binaries that involve libcurl, you might enjoy the + LICENSE-MIXING document. + +CONTACT + + If you have problems, questions, ideas or suggestions, please contact us + by posting to a suitable mailing list. See http://curl.haxx.se/mail/ + + All contributors to the project are listed in the THANKS document. + +WEB SITE + + Visit the curl web site for the latest news and downloads: + + http://curl.haxx.se/ + +GIT + + To download the very latest source off the GIT server do this: + + git clone git://github.com/bagder/curl.git + + (you'll get a directory named curl created, filled with the source code) + +NOTICE + + Curl contains pieces of source code that is Copyright (c) 1998, 1999 + Kungliga Tekniska Högskolan. This notice is included here to comply with the + distribution terms. diff --git a/vendor/voclient/common/curl-7.20.1/RELEASE-NOTES b/vendor/voclient/common/curl-7.20.1/RELEASE-NOTES new file mode 100644 index 00000000..cac8b06d --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/RELEASE-NOTES @@ -0,0 +1,64 @@ +Curl and libcurl 7.20.1 + + Public curl releases: 115 + Command line options: 136 + curl_easy_setopt() options: 174 + Public functions in libcurl: 58 + Known libcurl bindings: 39 + Contributors: 776 + +This release includes the following changes: + + o The 'ares' subtree has been removed from the source repository + o smoother rate limiting + o allow user+password in the URL for all protocols + o POP3: Get message listing if no mailbox in URL + +This release includes the following bugfixes: + + o VMS builder bad behavior when used in a batch job + o multiple recepients with SMTP + o fixed the CURL_FORMAT_* defines when building with cmake + o missing quote in libcurl.m4 + o SMTP: now waits for 250 after the DATA transfer + o SMTP: use angle brackets in RCPT TO + o curl --trace-time not using local time + o off-by-one in the chunked encoding trailer parser + o superfluous blocking for OpenSSL-based SSL connects and multi interface + o TFTP upload + o FTP timeouts after file transferred completely + o skip poll() on Interix + o CURLOPT_CERTINFO memory leak + o sub-second timeouts improvements + o configure fixes for GSSAPI + o threaded resolver double free when closing curl handle + o configure fixes for building with the clang compiler + o easy interix rate limiting logic + o curl_multi_remove_handle() caused use after free + o TFTP improved error codes + o TFTP fixed TSIZE handling for uploads + o SSL possible double free when reusing curl handle + o alarm()-based DNS timeout bug + o re-used FTP connection multi interface crash + o chunked-encoding with Content-Length: header problem + o multi interface HTTP POST over a proxy using PROXYTUNNEL + o RTSP GET_PARAMETER + o timeout after last data chunk was handled + o SFTP download hang + o FTP quote commands prefixed with '*' now can fail without aborting + +This release includes the following known bugs: + + o see docs/KNOWN_BUGS (http://curl.haxx.se/docs/knownbugs.html) + +This release would not have looked like this without help, code, reports and +advice from friends like these: + + Steven M. Schweda, Yang Tse, Jack Zhang, Tom Donovan, Martin Hager, + Daniel Fandrich, Patrick Monnerat, Pat Ray, Wesley Miaw, Ben Greear, + Ryan Chan, Markus Duft, Andrei Benea, Jacob Moshenko, Daniel Johnson, + Constantine Sapuntzakis, Douglas Steinwand, Thomas Lopatic, Hauke Duden, + Akos Pasztory, Kenny To, Christopher Conroy, Massimo Callegari, + Bob Richmond, Matt Wixson + + Thanks! (and sorry if I forgot to mention someone) diff --git a/vendor/voclient/common/curl-7.20.1/acinclude.m4 b/vendor/voclient/common/curl-7.20.1/acinclude.m4 new file mode 100644 index 00000000..86f7c7bb --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/acinclude.m4 @@ -0,0 +1,3247 @@ +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +#*************************************************************************** + + +dnl CURL_CHECK_DEF (SYMBOL, [INCLUDES], [SILENT]) +dnl ------------------------------------------------- +dnl Use the C preprocessor to find out if the given object-style symbol +dnl is defined and get its expansion. This macro will not use default +dnl includes even if no INCLUDES argument is given. This macro will run +dnl silently when invoked with three arguments. If the expansion would +dnl result in a set of double-quoted strings the returned expansion will +dnl actually be a single double-quoted string concatenating all them. + +AC_DEFUN([CURL_CHECK_DEF], [ + AS_VAR_PUSHDEF([ac_HaveDef], [curl_cv_have_def_$1])dnl + AS_VAR_PUSHDEF([ac_Def], [curl_cv_def_$1])dnl + if test -z "$SED"; then + AC_MSG_ERROR([SED not set. Cannot continue without SED being set.]) + fi + if test -z "$GREP"; then + AC_MSG_ERROR([GREP not set. Cannot continue without GREP being set.]) + fi + ifelse($3,,[AC_MSG_CHECKING([for preprocessor definition of $1])]) + tmp_exp="" + AC_PREPROC_IFELSE([ + AC_LANG_SOURCE( +ifelse($2,,,[$2])[[ +#ifdef $1 +CURL_DEF_TOKEN $1 +#endif + ]]) + ],[ + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[[ ]]//' 2>/dev/null | \ + "$SED" 's/[["]][[ ]]*[["]]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "$1"; then + tmp_exp="" + fi + ]) + if test -z "$tmp_exp"; then + AS_VAR_SET(ac_HaveDef, no) + ifelse($3,,[AC_MSG_RESULT([no])]) + else + AS_VAR_SET(ac_HaveDef, yes) + AS_VAR_SET(ac_Def, $tmp_exp) + ifelse($3,,[AC_MSG_RESULT([$tmp_exp])]) + fi + AS_VAR_POPDEF([ac_Def])dnl + AS_VAR_POPDEF([ac_HaveDef])dnl +]) + + +dnl CURL_CHECK_DEF_CC (SYMBOL, [INCLUDES], [SILENT]) +dnl ------------------------------------------------- +dnl Use the C compiler to find out only if the given symbol is defined +dnl or not, this can not find out its expansion. This macro will not use +dnl default includes even if no INCLUDES argument is given. This macro +dnl will run silently when invoked with three arguments. + +AC_DEFUN([CURL_CHECK_DEF_CC], [ + AS_VAR_PUSHDEF([ac_HaveDef], [curl_cv_have_def_$1])dnl + ifelse($3,,[AC_MSG_CHECKING([for compiler definition of $1])]) + AC_COMPILE_IFELSE([ + AC_LANG_SOURCE( +ifelse($2,,,[$2])[[ +int main (void) +{ +#ifdef $1 + return 0; +#else + force compilation error +#endif +} + ]]) + ],[ + tst_symbol_defined="yes" + ],[ + tst_symbol_defined="no" + ]) + if test "$tst_symbol_defined" = "yes"; then + AS_VAR_SET(ac_HaveDef, yes) + ifelse($3,,[AC_MSG_RESULT([yes])]) + else + AS_VAR_SET(ac_HaveDef, no) + ifelse($3,,[AC_MSG_RESULT([no])]) + fi + AS_VAR_POPDEF([ac_HaveDef])dnl +]) + + +dnl CURL_CHECK_LIB_XNET +dnl ------------------------------------------------- +dnl Verify if X/Open network library is required. + +AC_DEFUN([CURL_CHECK_LIB_XNET], [ + AC_MSG_CHECKING([if X/Open network library is required]) + tst_lib_xnet_required="no" + AC_COMPILE_IFELSE([ + AC_LANG_SOURCE([[ +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 +} + ]]) + ],[ + tst_lib_xnet_required="yes" + LIBS="$LIBS -lxnet" + ]) + AC_MSG_RESULT([$tst_lib_xnet_required]) +]) + + +dnl CURL_CHECK_AIX_ALL_SOURCE +dnl ------------------------------------------------- +dnl Provides a replacement of traditional AC_AIX with +dnl an uniform behaviour across all autoconf versions, +dnl and with our own placement rules. + +AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [ + AH_VERBATIM([_ALL_SOURCE], + [/* Define to 1 if OS is AIX. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif]) + AC_BEFORE([$0], [AC_SYS_LARGEFILE])dnl + AC_BEFORE([$0], [CURL_CONFIGURE_REENTRANT])dnl + AC_MSG_CHECKING([if OS is AIX (to define _ALL_SOURCE)]) + AC_EGREP_CPP([yes_this_is_aix],[ +#ifdef _AIX + yes_this_is_aix +#endif + ],[ + AC_MSG_RESULT([yes]) + AC_DEFINE(_ALL_SOURCE) + ],[ + AC_MSG_RESULT([no]) + ]) +]) + + +dnl CURL_CHECK_HEADER_WINDOWS +dnl ------------------------------------------------- +dnl Check for compilable and valid windows.h header + +AC_DEFUN([CURL_CHECK_HEADER_WINDOWS], [ + AC_CACHE_CHECK([for windows.h], [ac_cv_header_windows_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include + ]],[[ +#if defined(__CYGWIN__) || defined(__CEGCC__) + HAVE_WINDOWS_H shall not be defined. +#else + int dummy=2*WINVER; +#endif + ]]) + ],[ + ac_cv_header_windows_h="yes" + ],[ + ac_cv_header_windows_h="no" + ]) + ]) + case "$ac_cv_header_windows_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_WINDOWS_H, 1, + [Define to 1 if you have the windows.h header file.]) + AC_DEFINE_UNQUOTED(WIN32_LEAN_AND_MEAN, 1, + [Define to avoid automatic inclusion of winsock.h]) + ;; + esac +]) + + +dnl CURL_CHECK_NATIVE_WINDOWS +dnl ------------------------------------------------- +dnl Check if building a native Windows target + +AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl + AC_CACHE_CHECK([whether build target is a native Windows one], [ac_cv_native_windows], [ + if test "$ac_cv_header_windows_h" = "no"; then + ac_cv_native_windows="no" + else + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + ]],[[ +#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ + (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) + int dummy=1; +#else + Not a native Windows build target. +#endif + ]]) + ],[ + ac_cv_native_windows="yes" + ],[ + ac_cv_native_windows="no" + ]) + fi + ]) + case "$ac_cv_native_windows" in + yes) + AC_DEFINE_UNQUOTED(NATIVE_WINDOWS, 1, + [Define to 1 if you are building a native Windows target.]) + ;; + esac +]) + + +dnl CURL_CHECK_HEADER_WINSOCK +dnl ------------------------------------------------- +dnl Check for compilable and valid winsock.h header + +AC_DEFUN([CURL_CHECK_HEADER_WINSOCK], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl + AC_CACHE_CHECK([for winsock.h], [ac_cv_header_winsock_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include + ]],[[ +#if defined(__CYGWIN__) || defined(__CEGCC__) + HAVE_WINSOCK_H shall not be defined. +#else + int dummy=WSACleanup(); +#endif + ]]) + ],[ + ac_cv_header_winsock_h="yes" + ],[ + ac_cv_header_winsock_h="no" + ]) + ]) + case "$ac_cv_header_winsock_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_WINSOCK_H, 1, + [Define to 1 if you have the winsock.h header file.]) + ;; + esac +]) + + +dnl CURL_CHECK_HEADER_WINSOCK2 +dnl ------------------------------------------------- +dnl Check for compilable and valid winsock2.h header + +AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl + AC_CACHE_CHECK([for winsock2.h], [ac_cv_header_winsock2_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include + ]],[[ +#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) + HAVE_WINSOCK2_H shall not be defined. +#else + int dummy=2*IPPROTO_ESP; +#endif + ]]) + ],[ + ac_cv_header_winsock2_h="yes" + ],[ + ac_cv_header_winsock2_h="no" + ]) + ]) + case "$ac_cv_header_winsock2_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_WINSOCK2_H, 1, + [Define to 1 if you have the winsock2.h header file.]) + ;; + esac +]) + + +dnl CURL_CHECK_HEADER_WS2TCPIP +dnl ------------------------------------------------- +dnl Check for compilable and valid ws2tcpip.h header + +AC_DEFUN([CURL_CHECK_HEADER_WS2TCPIP], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl + AC_CACHE_CHECK([for ws2tcpip.h], [ac_cv_header_ws2tcpip_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include +#include + ]],[[ +#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) + HAVE_WS2TCPIP_H shall not be defined. +#else + int dummy=2*IP_PKTINFO; +#endif + ]]) + ],[ + ac_cv_header_ws2tcpip_h="yes" + ],[ + ac_cv_header_ws2tcpip_h="no" + ]) + ]) + case "$ac_cv_header_ws2tcpip_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_WS2TCPIP_H, 1, + [Define to 1 if you have the ws2tcpip.h header file.]) + ;; + esac +]) + + +dnl CURL_CHECK_HEADER_WINLDAP +dnl ------------------------------------------------- +dnl Check for compilable and valid winldap.h header + +AC_DEFUN([CURL_CHECK_HEADER_WINLDAP], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl + AC_CACHE_CHECK([for winldap.h], [ac_cv_header_winldap_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#endif +#include + ]],[[ +#if defined(__CYGWIN__) || defined(__CEGCC__) + HAVE_WINLDAP_H shall not be defined. +#else + LDAP *ldp = ldap_init("dummy", LDAP_PORT); + ULONG res = ldap_unbind(ldp); +#endif + ]]) + ],[ + ac_cv_header_winldap_h="yes" + ],[ + ac_cv_header_winldap_h="no" + ]) + ]) + case "$ac_cv_header_winldap_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_WINLDAP_H, 1, + [Define to 1 if you have the winldap.h header file.]) + ;; + esac +]) + + +dnl CURL_CHECK_HEADER_WINBER +dnl ------------------------------------------------- +dnl Check for compilable and valid winber.h header + +AC_DEFUN([CURL_CHECK_HEADER_WINBER], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINLDAP])dnl + AC_CACHE_CHECK([for winber.h], [ac_cv_header_winber_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#endif +#include +#include + ]],[[ +#if defined(__CYGWIN__) || defined(__CEGCC__) + HAVE_WINBER_H shall not be defined. +#else + BERVAL *bvp = NULL; + BerElement *bep = ber_init(bvp); + ber_free(bep, 1); +#endif + ]]) + ],[ + ac_cv_header_winber_h="yes" + ],[ + ac_cv_header_winber_h="no" + ]) + ]) + case "$ac_cv_header_winber_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_WINBER_H, 1, + [Define to 1 if you have the winber.h header file.]) + ;; + esac +]) + + +dnl CURL_CHECK_HEADER_LBER +dnl ------------------------------------------------- +dnl Check for compilable and valid lber.h header, +dnl and check if it is needed even with ldap.h + +AC_DEFUN([CURL_CHECK_HEADER_LBER], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl + AC_CACHE_CHECK([for lber.h], [ac_cv_header_lber_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef NULL +#define NULL (void *)0 +#endif +#include + ]],[[ + BerValue *bvp = NULL; + BerElement *bep = ber_init(bvp); + ber_free(bep, 1); + ]]) + ],[ + ac_cv_header_lber_h="yes" + ],[ + ac_cv_header_lber_h="no" + ]) + ]) + if test "$ac_cv_header_lber_h" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_LBER_H, 1, + [Define to 1 if you have the lber.h header file.]) + # + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef NULL +#define NULL (void *)0 +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#include + ]],[[ + BerValue *bvp = NULL; + BerElement *bep = ber_init(bvp); + ber_free(bep, 1); + ]]) + ],[ + curl_cv_need_header_lber_h="no" + ],[ + curl_cv_need_header_lber_h="yes" + ]) + # + case "$curl_cv_need_header_lber_h" in + yes) + AC_DEFINE_UNQUOTED(NEED_LBER_H, 1, + [Define to 1 if you need the lber.h header file even with ldap.h]) + ;; + esac + fi +]) + + +dnl CURL_CHECK_HEADER_LDAP +dnl ------------------------------------------------- +dnl Check for compilable and valid ldap.h header + +AC_DEFUN([CURL_CHECK_HEADER_LDAP], [ + AC_REQUIRE([CURL_CHECK_HEADER_LBER])dnl + AC_CACHE_CHECK([for ldap.h], [ac_cv_header_ldap_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#ifdef NEED_LBER_H +#include +#endif +#include + ]],[[ + LDAP *ldp = ldap_init("dummy", LDAP_PORT); + int res = ldap_unbind(ldp); + ]]) + ],[ + ac_cv_header_ldap_h="yes" + ],[ + ac_cv_header_ldap_h="no" + ]) + ]) + case "$ac_cv_header_ldap_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_LDAP_H, 1, + [Define to 1 if you have the ldap.h header file.]) + ;; + esac +]) + + +dnl CURL_CHECK_HEADER_LDAP_SSL +dnl ------------------------------------------------- +dnl Check for compilable and valid ldap_ssl.h header + +AC_DEFUN([CURL_CHECK_HEADER_LDAP_SSL], [ + AC_REQUIRE([CURL_CHECK_HEADER_LDAP])dnl + AC_CACHE_CHECK([for ldap_ssl.h], [ac_cv_header_ldap_ssl_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#ifdef NEED_LBER_H +#include +#endif +#ifdef HAVE_LDAP_H +#include +#endif +#include + ]],[[ + LDAP *ldp = ldapssl_init("dummy", LDAPS_PORT, 1); + ]]) + ],[ + ac_cv_header_ldap_ssl_h="yes" + ],[ + ac_cv_header_ldap_ssl_h="no" + ]) + ]) + case "$ac_cv_header_ldap_ssl_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_LDAP_SSL_H, 1, + [Define to 1 if you have the ldap_ssl.h header file.]) + ;; + esac +]) + + +dnl CURL_CHECK_HEADER_LDAPSSL +dnl ------------------------------------------------- +dnl Check for compilable and valid ldapssl.h header + +AC_DEFUN([CURL_CHECK_HEADER_LDAPSSL], [ + AC_REQUIRE([CURL_CHECK_HEADER_LDAP])dnl + AC_CACHE_CHECK([for ldapssl.h], [ac_cv_header_ldapssl_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef NULL +#define NULL (void *)0 +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#ifdef NEED_LBER_H +#include +#endif +#ifdef HAVE_LDAP_H +#include +#endif +#include + ]],[[ + char *cert_label = NULL; + LDAP *ldp = ldap_ssl_init("dummy", LDAPS_PORT, cert_label); + ]]) + ],[ + ac_cv_header_ldapssl_h="yes" + ],[ + ac_cv_header_ldapssl_h="no" + ]) + ]) + case "$ac_cv_header_ldapssl_h" in + yes) + AC_DEFINE_UNQUOTED(HAVE_LDAPSSL_H, 1, + [Define to 1 if you have the ldapssl.h header file.]) + ;; + esac +]) + + +dnl CURL_CHECK_LIBS_WINLDAP +dnl ------------------------------------------------- +dnl Check for libraries needed for WINLDAP support, +dnl and prepended to LIBS any needed libraries. +dnl This macro can take an optional parameter with a +dnl white space separated list of libraries to check +dnl before the WINLDAP default ones. + +AC_DEFUN([CURL_CHECK_LIBS_WINLDAP], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINBER])dnl + # + AC_MSG_CHECKING([for WINLDAP libraries]) + # + u_libs="" + # + ifelse($1,,,[ + for x_lib in $1; do + case "$x_lib" in + -l*) + l_lib="$x_lib" + ;; + *) + l_lib="-l$x_lib" + ;; + esac + if test -z "$u_libs"; then + u_libs="$l_lib" + else + u_libs="$u_libs $l_lib" + fi + done + ]) + # + curl_cv_save_LIBS="$LIBS" + curl_cv_ldap_LIBS="unknown" + # + for x_nlibs in '' "$u_libs" \ + '-lwldap32' ; do + if test "$curl_cv_ldap_LIBS" = "unknown"; then + if test -z "$x_nlibs"; then + LIBS="$curl_cv_save_LIBS" + else + LIBS="$x_nlibs $curl_cv_save_LIBS" + fi + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#ifdef HAVE_WINLDAP_H +#include +#endif +#ifdef HAVE_WINBER_H +#include +#endif +#endif + ]],[[ + BERVAL *bvp = NULL; + BerElement *bep = ber_init(bvp); + LDAP *ldp = ldap_init("dummy", LDAP_PORT); + ULONG res = ldap_unbind(ldp); + ber_free(bep, 1); + ]]) + ],[ + curl_cv_ldap_LIBS="$x_nlibs" + ]) + fi + done + # + LIBS="$curl_cv_save_LIBS" + # + case X-"$curl_cv_ldap_LIBS" in + X-unknown) + AC_MSG_RESULT([cannot find WINLDAP libraries]) + ;; + X-) + AC_MSG_RESULT([no additional lib required]) + ;; + *) + if test -z "$curl_cv_save_LIBS"; then + LIBS="$curl_cv_ldap_LIBS" + else + LIBS="$curl_cv_ldap_LIBS $curl_cv_save_LIBS" + fi + AC_MSG_RESULT([$curl_cv_ldap_LIBS]) + ;; + esac + # +]) + + +dnl CURL_CHECK_LIBS_LDAP +dnl ------------------------------------------------- +dnl Check for libraries needed for LDAP support, +dnl and prepended to LIBS any needed libraries. +dnl This macro can take an optional parameter with a +dnl white space separated list of libraries to check +dnl before the default ones. + +AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ + AC_REQUIRE([CURL_CHECK_HEADER_LDAP])dnl + # + AC_MSG_CHECKING([for LDAP libraries]) + # + u_libs="" + # + ifelse($1,,,[ + for x_lib in $1; do + case "$x_lib" in + -l*) + l_lib="$x_lib" + ;; + *) + l_lib="-l$x_lib" + ;; + esac + if test -z "$u_libs"; then + u_libs="$l_lib" + else + u_libs="$u_libs $l_lib" + fi + done + ]) + # + curl_cv_save_LIBS="$LIBS" + curl_cv_ldap_LIBS="unknown" + # + for x_nlibs in '' "$u_libs" \ + '-lldap' \ + '-llber -lldap' \ + '-lldap -llber' \ + '-lldapssl -lldapx -lldapsdk' \ + '-lldapsdk -lldapx -lldapssl' ; do + if test "$curl_cv_ldap_LIBS" = "unknown"; then + if test -z "$x_nlibs"; then + LIBS="$curl_cv_save_LIBS" + else + LIBS="$x_nlibs $curl_cv_save_LIBS" + fi + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef NULL +#define NULL (void *)0 +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#ifdef NEED_LBER_H +#include +#endif +#ifdef HAVE_LDAP_H +#include +#endif + ]],[[ + BerValue *bvp = NULL; + BerElement *bep = ber_init(bvp); + LDAP *ldp = ldap_init("dummy", LDAP_PORT); + int res = ldap_unbind(ldp); + ber_free(bep, 1); + ]]) + ],[ + curl_cv_ldap_LIBS="$x_nlibs" + ]) + fi + done + # + LIBS="$curl_cv_save_LIBS" + # + case X-"$curl_cv_ldap_LIBS" in + X-unknown) + AC_MSG_RESULT([cannot find LDAP libraries]) + ;; + X-) + AC_MSG_RESULT([no additional lib required]) + ;; + *) + if test -z "$curl_cv_save_LIBS"; then + LIBS="$curl_cv_ldap_LIBS" + else + LIBS="$curl_cv_ldap_LIBS $curl_cv_save_LIBS" + fi + AC_MSG_RESULT([$curl_cv_ldap_LIBS]) + ;; + esac + # +]) + + +dnl CURL_CHECK_HEADER_MALLOC +dnl ------------------------------------------------- +dnl Check for compilable and valid malloc.h header, +dnl and check if it is needed even with stdlib.h + +AC_DEFUN([CURL_CHECK_HEADER_MALLOC], [ + AC_CACHE_CHECK([for malloc.h], [ac_cv_header_malloc_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#include + ]],[[ + void *p = malloc(10); + void *q = calloc(10,10); + free(p); + free(q); + ]]) + ],[ + ac_cv_header_malloc_h="yes" + ],[ + ac_cv_header_malloc_h="no" + ]) + ]) + if test "$ac_cv_header_malloc_h" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_MALLOC_H, 1, + [Define to 1 if you have the malloc.h header file.]) + # + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#include + ]],[[ + void *p = malloc(10); + void *q = calloc(10,10); + free(p); + free(q); + ]]) + ],[ + curl_cv_need_header_malloc_h="no" + ],[ + curl_cv_need_header_malloc_h="yes" + ]) + # + case "$curl_cv_need_header_malloc_h" in + yes) + AC_DEFINE_UNQUOTED(NEED_MALLOC_H, 1, + [Define to 1 if you need the malloc.h header file even with stdlib.h]) + ;; + esac + fi +]) + + +dnl CURL_CHECK_HEADER_MEMORY +dnl ------------------------------------------------- +dnl Check for compilable and valid memory.h header, +dnl and check if it is needed even with stdlib.h for +dnl memory related functions. + +AC_DEFUN([CURL_CHECK_HEADER_MEMORY], [ + AC_CACHE_CHECK([for memory.h], [ac_cv_header_memory_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#include + ]],[[ + void *p = malloc(10); + void *q = calloc(10,10); + free(p); + free(q); + ]]) + ],[ + ac_cv_header_memory_h="yes" + ],[ + ac_cv_header_memory_h="no" + ]) + ]) + if test "$ac_cv_header_memory_h" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_MEMORY_H, 1, + [Define to 1 if you have the memory.h header file.]) + # + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#include + ]],[[ + void *p = malloc(10); + void *q = calloc(10,10); + free(p); + free(q); + ]]) + ],[ + curl_cv_need_header_memory_h="no" + ],[ + curl_cv_need_header_memory_h="yes" + ]) + # + case "$curl_cv_need_header_memory_h" in + yes) + AC_DEFINE_UNQUOTED(NEED_MEMORY_H, 1, + [Define to 1 if you need the memory.h header file even with stdlib.h]) + ;; + esac + fi +]) + + +dnl CURL_CHECK_FUNC_GETNAMEINFO +dnl ------------------------------------------------- +dnl Test if the getnameinfo function is available, +dnl and check the types of five of its arguments. +dnl If the function succeeds HAVE_GETNAMEINFO will be +dnl defined, defining the types of the arguments in +dnl GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2, +dnl GETNAMEINFO_TYPE_ARG46 and GETNAMEINFO_TYPE_ARG7, +dnl and also defining the type qualifier of first +dnl argument in GETNAMEINFO_QUAL_ARG1. + +AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [ + AC_REQUIRE([CURL_CHECK_HEADER_WS2TCPIP])dnl + AC_CHECK_HEADERS(sys/types.h sys/socket.h netdb.h) + # + AC_MSG_CHECKING([for getnameinfo]) + AC_LINK_IFELSE([ + AC_LANG_FUNC_LINK_TRY([getnameinfo]) + ],[ + AC_MSG_RESULT([yes]) + curl_cv_getnameinfo="yes" + ],[ + AC_MSG_RESULT([no]) + curl_cv_getnameinfo="no" + ]) + # + if test "$curl_cv_getnameinfo" != "yes"; then + AC_MSG_CHECKING([deeper for getnameinfo]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + ]],[[ + getnameinfo(); + ]]) + ],[ + AC_MSG_RESULT([yes]) + curl_cv_getnameinfo="yes" + ],[ + AC_MSG_RESULT([but still no]) + curl_cv_getnameinfo="no" + ]) + fi + # + if test "$curl_cv_getnameinfo" != "yes"; then + AC_MSG_CHECKING([deeper and deeper for getnameinfo]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#ifdef HAVE_WINSOCK2_H +#include +#ifdef HAVE_WS2TCPIP_H +#include +#endif +#endif +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETDB_H +#include +#endif +#endif + ]],[[ + getnameinfo(0, 0, 0, 0, 0, 0, 0); + ]]) + ],[ + AC_MSG_RESULT([yes]) + curl_cv_getnameinfo="yes" + ],[ + AC_MSG_RESULT([but still no]) + curl_cv_getnameinfo="no" + ]) + fi + # + if test "$curl_cv_getnameinfo" = "yes"; then + AC_CACHE_CHECK([types of arguments for getnameinfo], + [curl_cv_func_getnameinfo_args], [ + curl_cv_func_getnameinfo_args="unknown" + for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do + for gni_arg2 in 'socklen_t' 'size_t' 'int'; do + for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int' 'DWORD'; do + for gni_arg7 in 'int' 'unsigned int'; do + if test "$curl_cv_func_getnameinfo_args" = "unknown"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#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($gni_arg1, $gni_arg2, + char *, $gni_arg46, + char *, $gni_arg46, + $gni_arg7); + ]],[[ + $gni_arg2 salen=0; + $gni_arg46 hostlen=0; + $gni_arg46 servlen=0; + $gni_arg7 flags=0; + int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); + ]]) + ],[ + curl_cv_func_getnameinfo_args="$gni_arg1,$gni_arg2,$gni_arg46,$gni_arg7" + ]) + fi + done + done + done + done + ]) # AC-CACHE-CHECK + if test "$curl_cv_func_getnameinfo_args" = "unknown"; then + AC_MSG_WARN([Cannot find proper types to use for getnameinfo args]) + AC_MSG_WARN([HAVE_GETNAMEINFO will not be defined]) + else + gni_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_getnameinfo_args" | sed 's/\*/\*/g'` + IFS=$gni_prev_IFS + shift + # + gni_qual_type_arg1=$[1] + # + AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG2, $[2], + [Define to the type of arg 2 for getnameinfo.]) + AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG46, $[3], + [Define to the type of args 4 and 6 for getnameinfo.]) + AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG7, $[4], + [Define to the type of arg 7 for getnameinfo.]) + # + prev_sh_opts=$- + # + case $prev_sh_opts in + *f*) + ;; + *) + set -f + ;; + esac + # + case "$gni_qual_type_arg1" in + const*) + gni_qual_arg1=const + gni_type_arg1=`echo $gni_qual_type_arg1 | sed 's/^const //'` + ;; + *) + gni_qual_arg1= + gni_type_arg1=$gni_qual_type_arg1 + ;; + esac + # + AC_DEFINE_UNQUOTED(GETNAMEINFO_QUAL_ARG1, $gni_qual_arg1, + [Define to the type qualifier of arg 1 for getnameinfo.]) + AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG1, $gni_type_arg1, + [Define to the type of arg 1 for getnameinfo.]) + # + case $prev_sh_opts in + *f*) + ;; + *) + set +f + ;; + esac + # + AC_DEFINE_UNQUOTED(HAVE_GETNAMEINFO, 1, + [Define to 1 if you have the getnameinfo function.]) + ac_cv_func_getnameinfo="yes" + fi + fi +]) + + +dnl TYPE_SOCKADDR_STORAGE +dnl ------------------------------------------------- +dnl Check for struct sockaddr_storage. Most IPv6-enabled +dnl hosts have it, but AIX 4.3 is one known exception. + +AC_DEFUN([TYPE_SOCKADDR_STORAGE], +[ + AC_CHECK_TYPE([struct sockaddr_storage], + AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE, 1, + [if struct sockaddr_storage is defined]), , + [ +#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 + ]) +]) + + +dnl CURL_CHECK_NI_WITHSCOPEID +dnl ------------------------------------------------- +dnl Check for working NI_WITHSCOPEID in getnameinfo() + +AC_DEFUN([CURL_CHECK_NI_WITHSCOPEID], [ + AC_REQUIRE([CURL_CHECK_FUNC_GETNAMEINFO])dnl + AC_REQUIRE([TYPE_SOCKADDR_STORAGE])dnl + AC_CHECK_HEADERS(stdio.h sys/types.h sys/socket.h \ + netdb.h netinet/in.h arpa/inet.h) + # + AC_CACHE_CHECK([for working NI_WITHSCOPEID], + [ac_cv_working_ni_withscopeid], [ + AC_RUN_IFELSE([ + AC_LANG_PROGRAM([[ +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_STDIO_H +#include +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETDB_H +#include +#endif +#ifdef HAVE_NETINET_IN_H +#include +#endif +#ifdef HAVE_ARPA_INET_H +#include +#endif + ]],[[ +#if defined(NI_WITHSCOPEID) && defined(HAVE_GETNAMEINFO) +#ifdef HAVE_STRUCT_SOCKADDR_STORAGE + struct sockaddr_storage sa; +#else + unsigned char sa[256]; +#endif + char hostbuf[NI_MAXHOST]; + int rc; + GETNAMEINFO_TYPE_ARG2 salen = (GETNAMEINFO_TYPE_ARG2)sizeof(sa); + GETNAMEINFO_TYPE_ARG46 hostlen = (GETNAMEINFO_TYPE_ARG46)sizeof(hostbuf); + GETNAMEINFO_TYPE_ARG7 flags = NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID; + int fd = socket(AF_INET6, SOCK_STREAM, 0); + if(fd < 0) { + perror("socket()"); + return 1; /* Error creating socket */ + } + rc = getsockname(fd, (GETNAMEINFO_TYPE_ARG1)&sa, &salen); + if(rc) { + perror("getsockname()"); + return 2; /* Error retrieving socket name */ + } + rc = getnameinfo((GETNAMEINFO_TYPE_ARG1)&sa, salen, hostbuf, hostlen, NULL, 0, flags); + if(rc) { + printf("rc = %s\n", gai_strerror(rc)); + return 3; /* Error translating socket address */ + } + return 0; /* Ok, NI_WITHSCOPEID works */ +#else + return 4; /* Error, NI_WITHSCOPEID not defined or no getnameinfo() */ +#endif + ]]) # AC-LANG-PROGRAM + ],[ + # Exit code == 0. Program worked. + ac_cv_working_ni_withscopeid="yes" + ],[ + # Exit code != 0. Program failed. + ac_cv_working_ni_withscopeid="no" + ],[ + # Program is not run when cross-compiling. So we assume + # NI_WITHSCOPEID will work if we are able to compile it. + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#include +#include +#include + ]],[[ + unsigned int dummy= NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID; + ]]) + ],[ + ac_cv_working_ni_withscopeid="yes" + ],[ + ac_cv_working_ni_withscopeid="no" + ]) # AC-COMPILE-IFELSE + ]) # AC-RUN-IFELSE + ]) # AC-CACHE-CHECK + case "$ac_cv_working_ni_withscopeid" in + yes) + AC_DEFINE(HAVE_NI_WITHSCOPEID, 1, + [Define to 1 if NI_WITHSCOPEID exists and works.]) + ;; + esac +]) + + +dnl CURL_CHECK_FUNC_RECV +dnl ------------------------------------------------- +dnl Test if the socket recv() function is available, +dnl and check its return type and the types of its +dnl arguments. If the function succeeds HAVE_RECV +dnl will be defined, defining the types of the arguments +dnl in RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3 +dnl and RECV_TYPE_ARG4, defining the type of the function +dnl return value in RECV_TYPE_RETV. + +AC_DEFUN([CURL_CHECK_FUNC_RECV], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK])dnl + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + # + AC_MSG_CHECKING([for recv]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#endif + ]],[[ + recv(0, 0, 0, 0); + ]]) + ],[ + AC_MSG_RESULT([yes]) + curl_cv_recv="yes" + ],[ + AC_MSG_RESULT([no]) + curl_cv_recv="no" + ]) + # + if test "$curl_cv_recv" = "yes"; then + AC_CACHE_CHECK([types of args and return type for recv], + [curl_cv_func_recv_args], [ + curl_cv_func_recv_args="unknown" + for recv_retv in 'int' 'ssize_t'; do + for recv_arg1 in 'int' 'ssize_t' 'SOCKET'; do + for recv_arg2 in 'char *' 'void *'; do + for recv_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do + for recv_arg4 in 'int' 'unsigned int'; do + if test "$curl_cv_func_recv_args" = "unknown"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_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 $recv_retv RECVCALLCONV + recv($recv_arg1, $recv_arg2, $recv_arg3, $recv_arg4); + ]],[[ + $recv_arg1 s=0; + $recv_arg2 buf=0; + $recv_arg3 len=0; + $recv_arg4 flags=0; + $recv_retv res = recv(s, buf, len, flags); + ]]) + ],[ + curl_cv_func_recv_args="$recv_arg1,$recv_arg2,$recv_arg3,$recv_arg4,$recv_retv" + ]) + fi + done + done + done + done + done + ]) # AC-CACHE-CHECK + if test "$curl_cv_func_recv_args" = "unknown"; then + AC_MSG_ERROR([Cannot find proper types to use for recv args]) + else + recv_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_recv_args" | sed 's/\*/\*/g'` + IFS=$recv_prev_IFS + shift + # + AC_DEFINE_UNQUOTED(RECV_TYPE_ARG1, $[1], + [Define to the type of arg 1 for recv.]) + AC_DEFINE_UNQUOTED(RECV_TYPE_ARG2, $[2], + [Define to the type of arg 2 for recv.]) + AC_DEFINE_UNQUOTED(RECV_TYPE_ARG3, $[3], + [Define to the type of arg 3 for recv.]) + AC_DEFINE_UNQUOTED(RECV_TYPE_ARG4, $[4], + [Define to the type of arg 4 for recv.]) + AC_DEFINE_UNQUOTED(RECV_TYPE_RETV, $[5], + [Define to the function return type for recv.]) + # + AC_DEFINE_UNQUOTED(HAVE_RECV, 1, + [Define to 1 if you have the recv function.]) + ac_cv_func_recv="yes" + fi + else + AC_MSG_ERROR([Unable to link function recv]) + fi +]) + + +dnl CURL_CHECK_FUNC_SEND +dnl ------------------------------------------------- +dnl Test if the socket send() function is available, +dnl and check its return type and the types of its +dnl arguments. If the function succeeds HAVE_SEND +dnl will be defined, defining the types of the arguments +dnl in SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3 +dnl and SEND_TYPE_ARG4, defining the type of the function +dnl return value in SEND_TYPE_RETV, and also defining the +dnl type qualifier of second argument in SEND_QUAL_ARG2. + +AC_DEFUN([CURL_CHECK_FUNC_SEND], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK])dnl + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + # + AC_MSG_CHECKING([for send]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#endif + ]],[[ + send(0, 0, 0, 0); + ]]) + ],[ + AC_MSG_RESULT([yes]) + curl_cv_send="yes" + ],[ + AC_MSG_RESULT([no]) + curl_cv_send="no" + ]) + # + if test "$curl_cv_send" = "yes"; then + AC_CACHE_CHECK([types of args and return type for send], + [curl_cv_func_send_args], [ + curl_cv_func_send_args="unknown" + for send_retv in 'int' 'ssize_t'; do + for send_arg1 in 'int' 'ssize_t' 'SOCKET'; do + for send_arg2 in 'char *' 'void *' 'const char *' 'const void *'; do + for send_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do + for send_arg4 in 'int' 'unsigned int'; do + if test "$curl_cv_func_send_args" = "unknown"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_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 $send_retv SENDCALLCONV + send($send_arg1, $send_arg2, $send_arg3, $send_arg4); + ]],[[ + $send_arg1 s=0; + $send_arg3 len=0; + $send_arg4 flags=0; + $send_retv res = send(s, 0, len, flags); + ]]) + ],[ + curl_cv_func_send_args="$send_arg1,$send_arg2,$send_arg3,$send_arg4,$send_retv" + ]) + fi + done + done + done + done + done + ]) # AC-CACHE-CHECK + if test "$curl_cv_func_send_args" = "unknown"; then + AC_MSG_ERROR([Cannot find proper types to use for send args]) + else + send_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_send_args" | sed 's/\*/\*/g'` + IFS=$send_prev_IFS + shift + # + send_qual_type_arg2=$[2] + # + AC_DEFINE_UNQUOTED(SEND_TYPE_ARG1, $[1], + [Define to the type of arg 1 for send.]) + AC_DEFINE_UNQUOTED(SEND_TYPE_ARG3, $[3], + [Define to the type of arg 3 for send.]) + AC_DEFINE_UNQUOTED(SEND_TYPE_ARG4, $[4], + [Define to the type of arg 4 for send.]) + AC_DEFINE_UNQUOTED(SEND_TYPE_RETV, $[5], + [Define to the function return type for send.]) + # + prev_sh_opts=$- + # + case $prev_sh_opts in + *f*) + ;; + *) + set -f + ;; + esac + # + case "$send_qual_type_arg2" in + const*) + send_qual_arg2=const + send_type_arg2=`echo $send_qual_type_arg2 | sed 's/^const //'` + ;; + *) + send_qual_arg2= + send_type_arg2=$send_qual_type_arg2 + ;; + esac + # + AC_DEFINE_UNQUOTED(SEND_QUAL_ARG2, $send_qual_arg2, + [Define to the type qualifier of arg 2 for send.]) + AC_DEFINE_UNQUOTED(SEND_TYPE_ARG2, $send_type_arg2, + [Define to the type of arg 2 for send.]) + # + case $prev_sh_opts in + *f*) + ;; + *) + set +f + ;; + esac + # + AC_DEFINE_UNQUOTED(HAVE_SEND, 1, + [Define to 1 if you have the send function.]) + ac_cv_func_send="yes" + fi + else + AC_MSG_ERROR([Unable to link function send]) + fi +]) + + +dnl CURL_CHECK_FUNC_RECVFROM +dnl ------------------------------------------------- +dnl Test if the socket recvfrom() function is available, +dnl and check its return type and the types of its +dnl arguments. If the function succeeds HAVE_RECVFROM +dnl will be defined, defining the types of the arguments +dnl in RECVFROM_TYPE_ARG1, RECVFROM_TYPE_ARG2, and so on +dnl to RECVFROM_TYPE_ARG6, defining also the type of the +dnl function return value in RECVFROM_TYPE_RETV. +dnl Notice that the types returned for pointer arguments +dnl will actually be the type pointed by the pointer. + +AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK])dnl + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + # + AC_MSG_CHECKING([for recvfrom]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#endif + ]],[[ + recvfrom(0, 0, 0, 0, 0, 0); + ]]) + ],[ + AC_MSG_RESULT([yes]) + curl_cv_recvfrom="yes" + ],[ + AC_MSG_RESULT([no]) + curl_cv_recvfrom="no" + ]) + # + if test "$curl_cv_recvfrom" = "yes"; then + AC_CACHE_CHECK([types of args and return type for recvfrom], + [curl_cv_func_recvfrom_args], [ + curl_cv_func_recvfrom_args="unknown" + for recvfrom_retv in 'int' 'ssize_t'; do + for recvfrom_arg1 in 'int' 'ssize_t' 'SOCKET'; do + for recvfrom_arg2 in 'char *' 'void *'; do + for recvfrom_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do + for recvfrom_arg4 in 'int' 'unsigned int'; do + for recvfrom_arg5 in 'struct sockaddr *' 'void *'; do + for recvfrom_arg6 in 'socklen_t *' 'int *' 'unsigned int *' 'size_t *' 'void *'; do + if test "$curl_cv_func_recvfrom_args" = "unknown"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#ifdef HAVE_WINSOCK2_H +#include +#else +#ifdef HAVE_WINSOCK_H +#include +#endif +#endif +#define RECVFROMCALLCONV PASCAL +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#define RECVFROMCALLCONV +#endif + extern $recvfrom_retv RECVFROMCALLCONV + recvfrom($recvfrom_arg1, $recvfrom_arg2, + $recvfrom_arg3, $recvfrom_arg4, + $recvfrom_arg5, $recvfrom_arg6); + ]],[[ + $recvfrom_arg1 s=0; + $recvfrom_arg2 buf=0; + $recvfrom_arg3 len=0; + $recvfrom_arg4 flags=0; + $recvfrom_arg5 addr=0; + $recvfrom_arg6 addrlen=0; + $recvfrom_retv res=0; + res = recvfrom(s, buf, len, flags, addr, addrlen); + ]]) + ],[ + curl_cv_func_recvfrom_args="$recvfrom_arg1,$recvfrom_arg2,$recvfrom_arg3,$recvfrom_arg4,$recvfrom_arg5,$recvfrom_arg6,$recvfrom_retv" + ]) + fi + done + done + done + done + done + done + done + ]) # AC-CACHE-CHECK + # Nearly last minute change for this release starts here + AC_DEFINE_UNQUOTED(HAVE_RECVFROM, 1, + [Define to 1 if you have the recvfrom function.]) + ac_cv_func_recvfrom="yes" + # Nearly last minute change for this release ends here + if test "$curl_cv_func_recvfrom_args" = "unknown"; then + AC_MSG_WARN([Cannot find proper types to use for recvfrom args]) + else + recvfrom_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_recvfrom_args" | sed 's/\*/\*/g'` + IFS=$recvfrom_prev_IFS + shift + # + recvfrom_ptrt_arg2=$[2] + recvfrom_ptrt_arg5=$[5] + recvfrom_ptrt_arg6=$[6] + # + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG1, $[1], + [Define to the type of arg 1 for recvfrom.]) + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG3, $[3], + [Define to the type of arg 3 for recvfrom.]) + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG4, $[4], + [Define to the type of arg 4 for recvfrom.]) + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_RETV, $[7], + [Define to the function return type for recvfrom.]) + # + prev_sh_opts=$- + # + case $prev_sh_opts in + *f*) + ;; + *) + set -f + ;; + esac + # + recvfrom_type_arg2=`echo $recvfrom_ptrt_arg2 | sed 's/ \*//'` + recvfrom_type_arg5=`echo $recvfrom_ptrt_arg5 | sed 's/ \*//'` + recvfrom_type_arg6=`echo $recvfrom_ptrt_arg6 | sed 's/ \*//'` + # + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG2, $recvfrom_type_arg2, + [Define to the type pointed by arg 2 for recvfrom.]) + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG5, $recvfrom_type_arg5, + [Define to the type pointed by arg 5 for recvfrom.]) + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG6, $recvfrom_type_arg6, + [Define to the type pointed by arg 6 for recvfrom.]) + # + if test "$recvfrom_type_arg2" = "void"; then + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG2_IS_VOID, 1, + [Define to 1 if the type pointed by arg 2 for recvfrom is void.]) + fi + if test "$recvfrom_type_arg5" = "void"; then + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG5_IS_VOID, 1, + [Define to 1 if the type pointed by arg 5 for recvfrom is void.]) + fi + if test "$recvfrom_type_arg6" = "void"; then + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG6_IS_VOID, 1, + [Define to 1 if the type pointed by arg 6 for recvfrom is void.]) + fi + # + case $prev_sh_opts in + *f*) + ;; + *) + set +f + ;; + esac + # + AC_DEFINE_UNQUOTED(HAVE_RECVFROM, 1, + [Define to 1 if you have the recvfrom function.]) + ac_cv_func_recvfrom="yes" + fi + else + AC_MSG_WARN([Unable to link function recvfrom]) + fi +]) + + +dnl CURL_CHECK_MSG_NOSIGNAL +dnl ------------------------------------------------- +dnl Check for MSG_NOSIGNAL + +AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [ + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + AC_CACHE_CHECK([for MSG_NOSIGNAL], [ac_cv_msg_nosignal], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#endif + ]],[[ + int flag=MSG_NOSIGNAL; + ]]) + ],[ + ac_cv_msg_nosignal="yes" + ],[ + ac_cv_msg_nosignal="no" + ]) + ]) + case "$ac_cv_msg_nosignal" in + yes) + AC_DEFINE_UNQUOTED(HAVE_MSG_NOSIGNAL, 1, + [Define to 1 if you have the MSG_NOSIGNAL flag.]) + ;; + esac +]) + + +dnl CURL_CHECK_STRUCT_TIMEVAL +dnl ------------------------------------------------- +dnl Check for timeval struct + +AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [ + AC_REQUIRE([AC_HEADER_TIME])dnl + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK])dnl + AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl + AC_CHECK_HEADERS(sys/types.h sys/time.h time.h sys/socket.h) + AC_CACHE_CHECK([for struct timeval], [ac_cv_struct_timeval], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + ]],[[ + struct timeval ts; + ts.tv_sec = 0; + ts.tv_usec = 0; + ]]) + ],[ + ac_cv_struct_timeval="yes" + ],[ + ac_cv_struct_timeval="no" + ]) + ]) + case "$ac_cv_struct_timeval" in + yes) + AC_DEFINE_UNQUOTED(HAVE_STRUCT_TIMEVAL, 1, + [Define to 1 if you have the timeval struct.]) + ;; + esac +]) + + +dnl TYPE_SIG_ATOMIC_T +dnl ------------------------------------------------- +dnl Check if the sig_atomic_t type is available, and +dnl verify if it is already defined as volatile. + +AC_DEFUN([TYPE_SIG_ATOMIC_T], [ + AC_CHECK_HEADERS(signal.h) + AC_CHECK_TYPE([sig_atomic_t],[ + AC_DEFINE(HAVE_SIG_ATOMIC_T, 1, + [Define to 1 if sig_atomic_t is an available typedef.]) + ], ,[ +#ifdef HAVE_SIGNAL_H +#include +#endif + ]) + case "$ac_cv_type_sig_atomic_t" in + yes) + # + AC_MSG_CHECKING([if sig_atomic_t is already defined as volatile]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#ifdef HAVE_SIGNAL_H +#include +#endif + ]],[[ + static volatile sig_atomic_t dummy = 0; + ]]) + ],[ + AC_MSG_RESULT([no]) + ac_cv_sig_atomic_t_volatile="no" + ],[ + AC_MSG_RESULT([yes]) + ac_cv_sig_atomic_t_volatile="yes" + ]) + # + if test "$ac_cv_sig_atomic_t_volatile" = "yes"; then + AC_DEFINE(HAVE_SIG_ATOMIC_T_VOLATILE, 1, + [Define to 1 if sig_atomic_t is already defined as volatile.]) + fi + ;; + esac +]) + + +dnl TYPE_IN_ADDR_T +dnl ------------------------------------------------- +dnl Check for in_addr_t: it is used to receive the return code of inet_addr() +dnl and a few other things. + +AC_DEFUN([TYPE_IN_ADDR_T], [ + AC_CHECK_TYPE([in_addr_t], ,[ + dnl in_addr_t not available + AC_CACHE_CHECK([for in_addr_t equivalent], + [curl_cv_in_addr_t_equiv], [ + curl_cv_in_addr_t_equiv="unknown" + for t in "unsigned long" int size_t unsigned long; do + if test "$curl_cv_in_addr_t_equiv" = "unknown"; then + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 + ]],[[ + $t data = inet_addr ("1.2.3.4"); + ]]) + ],[ + curl_cv_in_addr_t_equiv="$t" + ]) + fi + done + ]) + case "$curl_cv_in_addr_t_equiv" in + unknown) + AC_MSG_ERROR([Cannot find a type to use in place of in_addr_t]) + ;; + *) + AC_DEFINE_UNQUOTED(in_addr_t, $curl_cv_in_addr_t_equiv, + [Type to use in place of in_addr_t when system does not provide it.]) + ;; + esac + ],[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 + ]) +]) + + +dnl CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC +dnl ------------------------------------------------- +dnl Check if monotonic clock_gettime is available. + +AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [ + AC_REQUIRE([AC_HEADER_TIME])dnl + AC_CHECK_HEADERS(sys/types.h sys/time.h time.h) + AC_MSG_CHECKING([for monotonic clock_gettime]) + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif + ]],[[ + struct timespec ts; + (void)clock_gettime(CLOCK_MONOTONIC, &ts); + ]]) + ],[ + AC_MSG_RESULT([yes]) + ac_cv_func_clock_gettime="yes" + ],[ + AC_MSG_RESULT([no]) + ac_cv_func_clock_gettime="no" + ]) + dnl Definition of HAVE_CLOCK_GETTIME_MONOTONIC is intentionally postponed + dnl until library linking and run-time checks for clock_gettime succeed. +]) + + +dnl CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC +dnl ------------------------------------------------- +dnl If monotonic clock_gettime is available then, +dnl check and prepended to LIBS any needed libraries. + +AC_DEFUN([CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC], [ + AC_REQUIRE([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC])dnl + # + if test "$ac_cv_func_clock_gettime" = "yes"; then + # + AC_MSG_CHECKING([for clock_gettime in libraries]) + # + curl_cv_save_LIBS="$LIBS" + curl_cv_gclk_LIBS="unknown" + # + for x_xlibs in '' '-lrt' '-lposix4' ; do + if test "$curl_cv_gclk_LIBS" = "unknown"; then + if test -z "$x_xlibs"; then + LIBS="$curl_cv_save_LIBS" + else + LIBS="$x_xlibs $curl_cv_save_LIBS" + fi + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif + ]],[[ + struct timespec ts; + (void)clock_gettime(CLOCK_MONOTONIC, &ts); + ]]) + ],[ + curl_cv_gclk_LIBS="$x_xlibs" + ]) + fi + done + # + LIBS="$curl_cv_save_LIBS" + # + case X-"$curl_cv_gclk_LIBS" in + X-unknown) + AC_MSG_RESULT([cannot find clock_gettime]) + AC_MSG_WARN([HAVE_CLOCK_GETTIME_MONOTONIC will not be defined]) + ac_cv_func_clock_gettime="no" + ;; + X-) + AC_MSG_RESULT([no additional lib required]) + ac_cv_func_clock_gettime="yes" + ;; + *) + if test -z "$curl_cv_save_LIBS"; then + LIBS="$curl_cv_gclk_LIBS" + else + LIBS="$curl_cv_gclk_LIBS $curl_cv_save_LIBS" + fi + AC_MSG_RESULT([$curl_cv_gclk_LIBS]) + ac_cv_func_clock_gettime="yes" + ;; + esac + # + dnl only do runtime verification when not cross-compiling + if test "x$cross_compiling" != "xyes" && + test "$ac_cv_func_clock_gettime" = "yes"; then + AC_MSG_CHECKING([if monotonic clock_gettime works]) + AC_RUN_IFELSE([ + AC_LANG_PROGRAM([[ +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif + ]],[[ + struct timespec ts; + if (0 == clock_gettime(CLOCK_MONOTONIC, &ts)) + exit(0); + else + exit(1); + ]]) + ],[ + AC_MSG_RESULT([yes]) + ],[ + AC_MSG_RESULT([no]) + AC_MSG_WARN([HAVE_CLOCK_GETTIME_MONOTONIC will not be defined]) + ac_cv_func_clock_gettime="no" + LIBS="$curl_cv_save_LIBS" + ]) + fi + # + case "$ac_cv_func_clock_gettime" in + yes) + AC_DEFINE_UNQUOTED(HAVE_CLOCK_GETTIME_MONOTONIC, 1, + [Define to 1 if you have the clock_gettime function and monotonic timer.]) + ;; + esac + # + fi + # +]) + + +dnl CURL_CHECK_LIBS_CONNECT +dnl ------------------------------------------------- +dnl Verify if network connect function is already available +dnl using current libraries or if another one is required. + +AC_DEFUN([CURL_CHECK_LIBS_CONNECT], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_MSG_CHECKING([for connect in libraries]) + tst_connect_save_LIBS="$LIBS" + tst_connect_need_LIBS="unknown" + for tst_lib in '' '-lsocket' ; do + if test "$tst_connect_need_LIBS" = "unknown"; then + LIBS="$tst_lib $tst_connect_save_LIBS" + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_winsock2 + #ifndef HAVE_WINDOWS_H + int connect(int, void*, int); + #endif + ]],[[ + if(0 != connect(0, 0, 0)) + return 1; + ]]) + ],[ + tst_connect_need_LIBS="$tst_lib" + ]) + fi + done + LIBS="$tst_connect_save_LIBS" + # + case X-"$tst_connect_need_LIBS" in + X-unknown) + AC_MSG_RESULT([cannot find connect]) + AC_MSG_ERROR([cannot find connect function in libraries.]) + ;; + X-) + AC_MSG_RESULT([yes]) + ;; + *) + AC_MSG_RESULT([$tst_connect_need_LIBS]) + LIBS="$tst_connect_need_LIBS $tst_connect_save_LIBS" + ;; + esac +]) + + +dnl CURL_DEFINE_UNQUOTED (VARIABLE, [VALUE]) +dnl ------------------------------------------------- +dnl Like AC_DEFINE_UNQUOTED this macro will define a C preprocessor +dnl symbol that can be further used in custom template configuration +dnl files. This macro, unlike AC_DEFINE_UNQUOTED, does not use a third +dnl argument for the description. Symbol definitions done with this +dnl macro are intended to be exclusively used in handcrafted *.h.in +dnl template files. Contrary to what AC_DEFINE_UNQUOTED does, this one +dnl prevents autoheader generation and insertion of symbol template +dnl stub and definition into the first configuration header file. Do +dnl not use this macro as a replacement for AC_DEFINE_UNQUOTED, each +dnl one serves different functional needs. + +AC_DEFUN([CURL_DEFINE_UNQUOTED], [ +cat >>confdefs.h <<_EOF +[@%:@define] $1 ifelse($#, 2, [$2], 1) +_EOF +]) + + +dnl CURL_CONFIGURE_LONG +dnl ------------------------------------------------- +dnl Find out the size of long as reported by sizeof() and define +dnl CURL_SIZEOF_LONG as appropriate to be used in template file +dnl include/curl/curlbuild.h.in to properly configure the library. +dnl The size of long is a build time characteristic and as such +dnl must be recorded in curlbuild.h + +AC_DEFUN([CURL_CONFIGURE_LONG], [ + if test -z "$ac_cv_sizeof_long" || + test "$ac_cv_sizeof_long" -eq "0"; then + AC_MSG_ERROR([cannot find out size of long.]) + fi + CURL_DEFINE_UNQUOTED([CURL_SIZEOF_LONG], [$ac_cv_sizeof_long]) +]) + + +dnl CURL_CONFIGURE_CURL_SOCKLEN_T +dnl ------------------------------------------------- +dnl Find out suitable curl_socklen_t data type definition and size, making +dnl appropriate definitions for template file include/curl/curlbuild.h.in +dnl to properly configure and use the library. +dnl +dnl The need for the curl_socklen_t definition arises mainly to properly +dnl interface HP-UX systems which on one hand have a typedef'ed socklen_t +dnl data type which is 32 or 64-Bit wide depending on the data model being +dnl used, and that on the other hand is only actually used when interfacing +dnl the X/Open sockets provided in the xnet library. + +AC_DEFUN([CURL_CONFIGURE_CURL_SOCKLEN_T], [ + AC_REQUIRE([CURL_INCLUDES_WS2TCPIP])dnl + AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl + AC_REQUIRE([CURL_PREPROCESS_CALLCONV])dnl + # + AC_MSG_CHECKING([for curl_socklen_t data type]) + curl_typeof_curl_socklen_t="unknown" + for arg1 in int SOCKET; do + for arg2 in 'struct sockaddr' void; do + for t in socklen_t int size_t 'unsigned int' long 'unsigned long' void; do + if test "$curl_typeof_curl_socklen_t" = "unknown"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_preprocess_callconv + extern int FUNCALLCONV getpeername($arg1, $arg2 *, $t *); + ]],[[ + $t *lenptr = 0; + if(0 != getpeername(0, 0, lenptr)) + return 1; + ]]) + ],[ + curl_typeof_curl_socklen_t="$t" + ]) + fi + done + done + done + for t in socklen_t int; do + if test "$curl_typeof_curl_socklen_t" = "void"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_sys_socket + typedef $t curl_socklen_t; + ]],[[ + curl_socklen_t dummy; + ]]) + ],[ + curl_typeof_curl_socklen_t="$t" + ]) + fi + done + AC_MSG_RESULT([$curl_typeof_curl_socklen_t]) + if test "$curl_typeof_curl_socklen_t" = "void" || + test "$curl_typeof_curl_socklen_t" = "unknown"; then + AC_MSG_ERROR([cannot find data type for curl_socklen_t.]) + fi + # + AC_MSG_CHECKING([size of curl_socklen_t]) + curl_sizeof_curl_socklen_t="unknown" + curl_pull_headers_socklen_t="unknown" + if test "$ac_cv_header_ws2tcpip_h" = "yes"; then + tst_pull_header_checks='none ws2tcpip' + tst_size_checks='4' + else + tst_pull_header_checks='none systypes syssocket' + tst_size_checks='4 8 2' + fi + for tst_size in $tst_size_checks; do + for tst_pull_headers in $tst_pull_header_checks; do + if test "$curl_sizeof_curl_socklen_t" = "unknown"; then + case $tst_pull_headers in + ws2tcpip) + tmp_includes="$curl_includes_ws2tcpip" + ;; + systypes) + tmp_includes="$curl_includes_sys_types" + ;; + syssocket) + tmp_includes="$curl_includes_sys_socket" + ;; + *) + tmp_includes="" + ;; + esac + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + $tmp_includes + typedef $curl_typeof_curl_socklen_t curl_socklen_t; + typedef char dummy_arr[sizeof(curl_socklen_t) == $tst_size ? 1 : -1]; + ]],[[ + curl_socklen_t dummy; + ]]) + ],[ + curl_sizeof_curl_socklen_t="$tst_size" + curl_pull_headers_socklen_t="$tst_pull_headers" + ]) + fi + done + done + AC_MSG_RESULT([$curl_sizeof_curl_socklen_t]) + if test "$curl_sizeof_curl_socklen_t" = "unknown"; then + AC_MSG_ERROR([cannot find out size of curl_socklen_t.]) + fi + # + case $curl_pull_headers_socklen_t in + ws2tcpip) + CURL_DEFINE_UNQUOTED([CURL_PULL_WS2TCPIP_H]) + ;; + systypes) + CURL_DEFINE_UNQUOTED([CURL_PULL_SYS_TYPES_H]) + ;; + syssocket) + CURL_DEFINE_UNQUOTED([CURL_PULL_SYS_TYPES_H]) + CURL_DEFINE_UNQUOTED([CURL_PULL_SYS_SOCKET_H]) + ;; + esac + CURL_DEFINE_UNQUOTED([CURL_TYPEOF_CURL_SOCKLEN_T], [$curl_typeof_curl_socklen_t]) + CURL_DEFINE_UNQUOTED([CURL_SIZEOF_CURL_SOCKLEN_T], [$curl_sizeof_curl_socklen_t]) +]) + + +dnl CURL_CHECK_FUNC_SELECT +dnl ------------------------------------------------- +dnl Test if the socket select() function is available, +dnl and check its return type and the types of its +dnl arguments. If the function succeeds HAVE_SELECT +dnl will be defined, defining the types of the +dnl arguments in SELECT_TYPE_ARG1, SELECT_TYPE_ARG234 +dnl and SELECT_TYPE_ARG5, defining the type of the +dnl function return value in SELECT_TYPE_RETV, and +dnl also defining the type qualifier of fifth argument +dnl in SELECT_QUAL_ARG5. + +AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ + AC_REQUIRE([CURL_CHECK_STRUCT_TIMEVAL])dnl + AC_CHECK_HEADERS(sys/select.h sys/socket.h) + # + AC_MSG_CHECKING([for select]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif +#ifndef HAVE_WINDOWS_H +#ifdef HAVE_SYS_SELECT_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#endif + ]],[[ + select(0, 0, 0, 0, 0); + ]]) + ],[ + AC_MSG_RESULT([yes]) + curl_cv_select="yes" + ],[ + AC_MSG_RESULT([no]) + curl_cv_select="no" + ]) + # + if test "$curl_cv_select" = "yes"; then + AC_CACHE_CHECK([types of args and return type for select], + [curl_cv_func_select_args], [ + curl_cv_func_select_args="unknown" + for sel_retv in 'int' 'ssize_t'; do + for sel_arg1 in 'int' 'ssize_t' 'size_t' 'unsigned long int' 'unsigned int'; do + for sel_arg234 in 'fd_set *' 'int *' 'void *'; do + for sel_arg5 in 'struct timeval *' 'const struct timeval *'; do + if test "$curl_cv_func_select_args" = "unknown"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#ifdef HAVE_WINSOCK2_H +#include +#else +#ifdef HAVE_WINSOCK_H +#include +#endif +#endif +#define SELECTCALLCONV PASCAL +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif +#ifndef HAVE_WINDOWS_H +#ifdef HAVE_SYS_SELECT_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#define SELECTCALLCONV +#endif +#ifndef HAVE_STRUCT_TIMEVAL + struct timeval { + long tv_sec; + long tv_usec; + }; +#endif + extern $sel_retv SELECTCALLCONV select($sel_arg1, + $sel_arg234, + $sel_arg234, + $sel_arg234, + $sel_arg5); + ]],[[ + $sel_arg1 nfds=0; + $sel_arg234 rfds=0; + $sel_arg234 wfds=0; + $sel_arg234 efds=0; + $sel_retv res = select(nfds, rfds, wfds, efds, 0); + ]]) + ],[ + curl_cv_func_select_args="$sel_arg1,$sel_arg234,$sel_arg5,$sel_retv" + ]) + fi + done + done + done + done + ]) # AC-CACHE-CHECK + if test "$curl_cv_func_select_args" = "unknown"; then + AC_MSG_WARN([Cannot find proper types to use for select args]) + AC_MSG_WARN([HAVE_SELECT will not be defined]) + else + select_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_select_args" | sed 's/\*/\*/g'` + IFS=$select_prev_IFS + shift + # + sel_qual_type_arg5=$[3] + # + AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG1, $[1], + [Define to the type of arg 1 for select.]) + AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG234, $[2], + [Define to the type of args 2, 3 and 4 for select.]) + AC_DEFINE_UNQUOTED(SELECT_TYPE_RETV, $[4], + [Define to the function return type for select.]) + # + prev_sh_opts=$- + # + case $prev_sh_opts in + *f*) + ;; + *) + set -f + ;; + esac + # + case "$sel_qual_type_arg5" in + const*) + sel_qual_arg5=const + sel_type_arg5=`echo $sel_qual_type_arg5 | sed 's/^const //'` + ;; + *) + sel_qual_arg5= + sel_type_arg5=$sel_qual_type_arg5 + ;; + esac + # + AC_DEFINE_UNQUOTED(SELECT_QUAL_ARG5, $sel_qual_arg5, + [Define to the type qualifier of arg 5 for select.]) + AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG5, $sel_type_arg5, + [Define to the type of arg 5 for select.]) + # + case $prev_sh_opts in + *f*) + ;; + *) + set +f + ;; + esac + # + AC_DEFINE_UNQUOTED(HAVE_SELECT, 1, + [Define to 1 if you have the select function.]) + ac_cv_func_select="yes" + fi + fi +]) + + +# This is only a temporary fix. This macro is here to replace the broken one +# delivered by the automake project (including the 1.9.6 release). As soon as +# they ship a working version we SHOULD remove this work-around. + +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} \"$am_aux_dir/missing\"" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + + +dnl CURL_VERIFY_RUNTIMELIBS +dnl ------------------------------------------------- +dnl Verify that the shared libs found so far can be used when running +dnl programs, since otherwise the situation will create odd configure errors +dnl that are misleading people. +dnl +dnl Make sure this test is run BEFORE the first test in the script that +dnl runs anything, which at the time of this writing is the AC_CHECK_SIZEOF +dnl macro. It must also run AFTER all lib-checking macros are complete. + +AC_DEFUN([CURL_VERIFY_RUNTIMELIBS], [ + + dnl this test is of course not sensible if we are cross-compiling! + if test "x$cross_compiling" != xyes; then + + dnl just run a program to verify that the libs checked for previous to this + dnl point also is available run-time! + AC_MSG_CHECKING([run-time libs availability]) + AC_TRY_RUN([ +main() +{ + return 0; +} +], + AC_MSG_RESULT([fine]), + AC_MSG_RESULT([failed]) + AC_MSG_ERROR([one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS]) + ) + + dnl if this test fails, configure has already stopped + fi +]) + + +dnl CURL_CHECK_VARIADIC_MACROS +dnl ------------------------------------------------- +dnl Check compiler support of variadic macros + +AC_DEFUN([CURL_CHECK_VARIADIC_MACROS], [ + AC_CACHE_CHECK([for compiler support of C99 variadic macro style], + [curl_cv_variadic_macros_c99], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) + int fun3(int arg1, int arg2, int arg3); + int fun2(int arg1, int arg2); + int fun3(int arg1, int arg2, int arg3) + { return arg1 + arg2 + arg3; } + int fun2(int arg1, int arg2) + { return arg1 + arg2; } + ]],[[ + int res3 = c99_vmacro3(1, 2, 3); + int res2 = c99_vmacro2(1, 2); + ]]) + ],[ + curl_cv_variadic_macros_c99="yes" + ],[ + curl_cv_variadic_macros_c99="no" + ]) + ]) + case "$curl_cv_variadic_macros_c99" in + yes) + AC_DEFINE_UNQUOTED(HAVE_VARIADIC_MACROS_C99, 1, + [Define to 1 if compiler supports C99 variadic macro style.]) + ;; + esac + AC_CACHE_CHECK([for compiler support of old gcc variadic macro style], + [curl_cv_variadic_macros_gcc], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#define gcc_vmacro3(first, args...) fun3(first, args) +#define gcc_vmacro2(first, args...) fun2(first, args) + int fun3(int arg1, int arg2, int arg3); + int fun2(int arg1, int arg2); + int fun3(int arg1, int arg2, int arg3) + { return arg1 + arg2 + arg3; } + int fun2(int arg1, int arg2) + { return arg1 + arg2; } + ]],[[ + int res3 = gcc_vmacro3(1, 2, 3); + int res2 = gcc_vmacro2(1, 2); + ]]) + ],[ + curl_cv_variadic_macros_gcc="yes" + ],[ + curl_cv_variadic_macros_gcc="no" + ]) + ]) + case "$curl_cv_variadic_macros_gcc" in + yes) + AC_DEFINE_UNQUOTED(HAVE_VARIADIC_MACROS_GCC, 1, + [Define to 1 if compiler supports old gcc variadic macro style.]) + ;; + esac +]) + + +dnl CURL_CHECK_CA_BUNDLE +dnl ------------------------------------------------- +dnl Check if a default ca-bundle should be used +dnl +dnl regarding the paths this will scan: +dnl /etc/ssl/certs/ca-certificates.crt Debian systems +dnl /etc/pki/tls/certs/ca-bundle.crt Redhat and Mandriva +dnl /usr/share/ssl/certs/ca-bundle.crt old(er) Redhat +dnl /usr/local/share/certs/ca-root.crt FreeBSD +dnl /etc/ssl/cert.pem OpenBSD +dnl /etc/ssl/certs/ (ca path) SUSE + +AC_DEFUN([CURL_CHECK_CA_BUNDLE], [ + + AC_MSG_CHECKING([default CA cert bundle/path]) + + AC_ARG_WITH(ca-bundle, +AC_HELP_STRING([--with-ca-bundle=FILE], [File name to use as CA bundle]) +AC_HELP_STRING([--without-ca-bundle], [Don't use a default CA bundle]), + [ + want_ca="$withval" + if test "x$want_ca" = "xyes"; then + AC_MSG_ERROR([--with-ca-bundle=FILE requires a path to the CA bundle]) + fi + ], + [ want_ca="unset" ]) + AC_ARG_WITH(ca-path, +AC_HELP_STRING([--with-ca-path=DIRECTORY], [Directory to use as CA path]) +AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]), + [ + want_capath="$withval" + if test "x$want_capath" = "xyes"; then + AC_MSG_ERROR([--with-ca-path=DIRECTORY requires a path to the CA path directory]) + fi + ], + [ want_capath="unset"]) + + if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \ + "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then + dnl both given + AC_MSG_ERROR([Can't specify both --with-ca-bundle and --with-ca-path.]) + elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then + dnl --with-ca-bundle given + ca="$want_ca" + capath="no" + elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then + dnl --with-ca-path given + if test "x$OPENSSL_ENABLED" != "x1"; then + AC_MSG_ERROR([--with-ca-path only works with openSSL]) + fi + capath="$want_capath" + ca="no" + else + dnl neither of --with-ca-* given + dnl first try autodetecting a CA bundle , then a CA path + dnl both autodetections can be skipped by --without-ca-* + ca="no" + capath="no" + if test "x$want_ca" = "xunset"; then + dnl the path we previously would have installed the curl ca bundle + dnl to, and thus we now check for an already existing cert in that place + dnl in case we find no other + if test "x$prefix" != xNONE; then + cac="${prefix}/share/curl/curl-ca-bundle.crt" + else + cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt" + fi + + for a in /etc/ssl/certs/ca-certificates.crt \ + /etc/pki/tls/certs/ca-bundle.crt \ + /usr/share/ssl/certs/ca-bundle.crt \ + /usr/local/share/certs/ca-root.crt \ + /etc/ssl/cert.pem \ + "$cac"; do + if test -f "$a"; then + ca="$a" + break + fi + done + fi + if test "x$want_capath" = "xunset" -a "x$ca" = "xno" -a \ + "x$OPENSSL_ENABLED" = "x1"; then + for a in /etc/ssl/certs/; do + if test -d "$a" && ls "$a"/[[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]].0 >/dev/null 2>/dev/null; then + capath="$a" + break + fi + done + fi + fi + + + + if test "x$ca" != "xno"; then + CURL_CA_BUNDLE='"'$ca'"' + AC_DEFINE_UNQUOTED(CURL_CA_BUNDLE, "$ca", [Location of default ca bundle]) + AC_SUBST(CURL_CA_BUNDLE) + AC_MSG_RESULT([$ca]) + elif test "x$capath" != "xno"; then + CURL_CA_PATH="\"$capath\"" + AC_DEFINE_UNQUOTED(CURL_CA_PATH, "$capath", [Location of default ca path]) + AC_MSG_RESULT([$capath (capath)]) + else + AC_MSG_RESULT([no]) + fi +]) + + +dnl DO_CURL_OFF_T_CHECK (TYPE, SIZE) +dnl ------------------------------------------------- +dnl Internal macro for CURL_CONFIGURE_CURL_OFF_T + +AC_DEFUN([DO_CURL_OFF_T_CHECK], [ + AC_REQUIRE([CURL_INCLUDES_INTTYPES])dnl + if test "$curl_typeof_curl_off_t" = "unknown" && test ! -z "$1"; then + tmp_includes="" + tmp_source="" + tmp_fmt="" + case AS_TR_SH([$1]) in + int64_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f@<:@@:>@ = PRId64;" + tmp_fmt="PRId64" + ;; + int32_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f@<:@@:>@ = PRId32;" + tmp_fmt="PRId32" + ;; + int16_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f@<:@@:>@ = PRId16;" + tmp_fmt="PRId16" + ;; + esac + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + $tmp_includes + typedef $1 curl_off_t; + typedef char dummy_arr[sizeof(curl_off_t) == $2 ? 1 : -1]; + ]],[[ + $tmp_source + curl_off_t dummy; + ]]) + ],[ + if test -z "$tmp_fmt"; then + curl_typeof_curl_off_t="$1" + curl_sizeof_curl_off_t="$2" + else + CURL_CHECK_DEF([$tmp_fmt], [$curl_includes_inttypes], [silent]) + AS_VAR_PUSHDEF([tmp_HaveFmtDef], [curl_cv_have_def_$tmp_fmt])dnl + AS_VAR_PUSHDEF([tmp_FmtDef], [curl_cv_def_$tmp_fmt])dnl + if test AS_VAR_GET(tmp_HaveFmtDef) = "yes"; then + curl_format_curl_off_t=AS_VAR_GET(tmp_FmtDef) + curl_typeof_curl_off_t="$1" + curl_sizeof_curl_off_t="$2" + fi + AS_VAR_POPDEF([tmp_FmtDef])dnl + AS_VAR_POPDEF([tmp_HaveFmtDef])dnl + fi + ]) + fi +]) + + +dnl DO_CURL_OFF_T_SUFFIX_CHECK (TYPE) +dnl ------------------------------------------------- +dnl Internal macro for CURL_CONFIGURE_CURL_OFF_T + +AC_DEFUN([DO_CURL_OFF_T_SUFFIX_CHECK], [ + AC_REQUIRE([CURL_INCLUDES_INTTYPES])dnl + AC_MSG_CHECKING([constant suffix string for curl_off_t]) + # + curl_suffix_curl_off_t="unknown" + curl_suffix_curl_off_tu="unknown" + # + case AS_TR_SH([$1]) in + long_long | __longlong | __longlong_t) + tst_suffixes="LL::" + ;; + long) + tst_suffixes="L::" + ;; + int) + tst_suffixes="::" + ;; + __int64 | int64_t) + tst_suffixes="LL:i64::" + ;; + __int32 | int32_t) + tst_suffixes="L:i32::" + ;; + __int16 | int16_t) + tst_suffixes="L:i16::" + ;; + *) + AC_MSG_ERROR([unexpected data type $1]) + ;; + esac + # + old_IFS=$IFS; IFS=':' + for tmp_ssuf in $tst_suffixes ; do + IFS=$old_IFS + if test "x$curl_suffix_curl_off_t" = "xunknown"; then + case $tmp_ssuf in + i64 | i32 | i16) + tmp_usuf="u$tmp_ssuf" + ;; + LL | L) + tmp_usuf="U$tmp_ssuf" + ;; + *) + tmp_usuf="" + ;; + esac + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_inttypes + typedef $1 new_t; + ]],[[ + new_t s1; + new_t s2; + s1 = -10$tmp_ssuf ; + s2 = 20$tmp_ssuf ; + if(s1 > s2) + return 1; + ]]) + ],[ + curl_suffix_curl_off_t="$tmp_ssuf" + curl_suffix_curl_off_tu="$tmp_usuf" + ]) + fi + done + IFS=$old_IFS + # + if test "x$curl_suffix_curl_off_t" = "xunknown"; then + AC_MSG_ERROR([cannot find constant suffix string for curl_off_t.]) + else + AC_MSG_RESULT([$curl_suffix_curl_off_t]) + AC_MSG_CHECKING([constant suffix string for unsigned curl_off_t]) + AC_MSG_RESULT([$curl_suffix_curl_off_tu]) + fi + # +]) + + +dnl CURL_CONFIGURE_CURL_OFF_T +dnl ------------------------------------------------- +dnl Find out suitable curl_off_t data type definition and associated +dnl items, and make the appropriate definitions used in template file +dnl include/curl/curlbuild.h.in to properly configure the library. + +AC_DEFUN([CURL_CONFIGURE_CURL_OFF_T], [ + AC_REQUIRE([CURL_INCLUDES_INTTYPES])dnl + # + AC_BEFORE([$0],[AC_SYS_LARGEFILE])dnl + AC_BEFORE([$0],[CURL_CONFIGURE_REENTRANT])dnl + AC_BEFORE([$0],[CURL_CHECK_AIX_ALL_SOURCE])dnl + # + if test -z "$SED"; then + AC_MSG_ERROR([SED not set. Cannot continue without SED being set.]) + fi + # + AC_CHECK_SIZEOF(long) + AC_CHECK_SIZEOF(void*) + # + if test -z "$ac_cv_sizeof_long" || + test "$ac_cv_sizeof_long" -eq "0"; then + AC_MSG_ERROR([cannot find out size of long.]) + fi + if test -z "$ac_cv_sizeof_voidp" || + test "$ac_cv_sizeof_voidp" -eq "0"; then + AC_MSG_ERROR([cannot find out size of void*.]) + fi + # + x_LP64_long="" + x_LP32_long="" + x_LP16_long="" + # + if test "$ac_cv_sizeof_long" -eq "8" && + test "$ac_cv_sizeof_voidp" -ge "8"; then + x_LP64_long="long" + elif test "$ac_cv_sizeof_long" -eq "4" && + test "$ac_cv_sizeof_voidp" -ge "4"; then + x_LP32_long="long" + elif test "$ac_cv_sizeof_long" -eq "2" && + test "$ac_cv_sizeof_voidp" -ge "2"; then + x_LP16_long="long" + fi + # + dnl DO_CURL_OFF_T_CHECK results are stored in next 3 vars + # + curl_typeof_curl_off_t="unknown" + curl_sizeof_curl_off_t="unknown" + curl_format_curl_off_t="unknown" + curl_format_curl_off_tu="unknown" + # + if test "$curl_typeof_curl_off_t" = "unknown"; then + AC_MSG_CHECKING([for 64-bit curl_off_t data type]) + for t8 in \ + "$x_LP64_long" \ + 'int64_t' \ + '__int64' \ + 'long long' \ + '__longlong' \ + '__longlong_t' ; do + DO_CURL_OFF_T_CHECK([$t8], [8]) + done + AC_MSG_RESULT([$curl_typeof_curl_off_t]) + fi + if test "$curl_typeof_curl_off_t" = "unknown"; then + AC_MSG_CHECKING([for 32-bit curl_off_t data type]) + for t4 in \ + "$x_LP32_long" \ + 'int32_t' \ + '__int32' \ + 'int' ; do + DO_CURL_OFF_T_CHECK([$t4], [4]) + done + AC_MSG_RESULT([$curl_typeof_curl_off_t]) + fi + if test "$curl_typeof_curl_off_t" = "unknown"; then + AC_MSG_CHECKING([for 16-bit curl_off_t data type]) + for t2 in \ + "$x_LP16_long" \ + 'int16_t' \ + '__int16' \ + 'int' ; do + DO_CURL_OFF_T_CHECK([$t2], [2]) + done + AC_MSG_RESULT([$curl_typeof_curl_off_t]) + fi + if test "$curl_typeof_curl_off_t" = "unknown"; then + AC_MSG_ERROR([cannot find data type for curl_off_t.]) + fi + # + AC_MSG_CHECKING([size of curl_off_t]) + AC_MSG_RESULT([$curl_sizeof_curl_off_t]) + # + AC_MSG_CHECKING([formatting string directive for curl_off_t]) + if test "$curl_format_curl_off_t" != "unknown"; then + x_pull_headers="yes" + curl_format_curl_off_t=`echo "$curl_format_curl_off_t" | "$SED" 's/[["]]//g'` + curl_format_curl_off_tu=`echo "$curl_format_curl_off_t" | "$SED" 's/i$/u/'` + curl_format_curl_off_tu=`echo "$curl_format_curl_off_tu" | "$SED" 's/d$/u/'` + curl_format_curl_off_tu=`echo "$curl_format_curl_off_tu" | "$SED" 's/D$/U/'` + else + x_pull_headers="no" + case AS_TR_SH([$curl_typeof_curl_off_t]) in + long_long | __longlong | __longlong_t) + curl_format_curl_off_t="lld" + curl_format_curl_off_tu="llu" + ;; + long) + curl_format_curl_off_t="ld" + curl_format_curl_off_tu="lu" + ;; + int) + curl_format_curl_off_t="d" + curl_format_curl_off_tu="u" + ;; + __int64) + curl_format_curl_off_t="I64d" + curl_format_curl_off_tu="I64u" + ;; + __int32) + curl_format_curl_off_t="I32d" + curl_format_curl_off_tu="I32u" + ;; + __int16) + curl_format_curl_off_t="I16d" + curl_format_curl_off_tu="I16u" + ;; + *) + AC_MSG_ERROR([cannot find print format string for curl_off_t.]) + ;; + esac + fi + AC_MSG_RESULT(["$curl_format_curl_off_t"]) + # + AC_MSG_CHECKING([formatting string directive for unsigned curl_off_t]) + AC_MSG_RESULT(["$curl_format_curl_off_tu"]) + # + DO_CURL_OFF_T_SUFFIX_CHECK([$curl_typeof_curl_off_t]) + # + if test "$x_pull_headers" = "yes"; then + if test "x$ac_cv_header_sys_types_h" = "xyes"; then + CURL_DEFINE_UNQUOTED([CURL_PULL_SYS_TYPES_H]) + fi + if test "x$ac_cv_header_stdint_h" = "xyes"; then + CURL_DEFINE_UNQUOTED([CURL_PULL_STDINT_H]) + fi + if test "x$ac_cv_header_inttypes_h" = "xyes"; then + CURL_DEFINE_UNQUOTED([CURL_PULL_INTTYPES_H]) + fi + fi + # + CURL_DEFINE_UNQUOTED([CURL_TYPEOF_CURL_OFF_T], [$curl_typeof_curl_off_t]) + CURL_DEFINE_UNQUOTED([CURL_FORMAT_CURL_OFF_T], ["$curl_format_curl_off_t"]) + CURL_DEFINE_UNQUOTED([CURL_FORMAT_CURL_OFF_TU], ["$curl_format_curl_off_tu"]) + CURL_DEFINE_UNQUOTED([CURL_FORMAT_OFF_T], ["%$curl_format_curl_off_t"]) + CURL_DEFINE_UNQUOTED([CURL_SIZEOF_CURL_OFF_T], [$curl_sizeof_curl_off_t]) + CURL_DEFINE_UNQUOTED([CURL_SUFFIX_CURL_OFF_T], [$curl_suffix_curl_off_t]) + CURL_DEFINE_UNQUOTED([CURL_SUFFIX_CURL_OFF_TU], [$curl_suffix_curl_off_tu]) + # +]) + + +dnl CURL_CHECK_WIN32_LARGEFILE +dnl ------------------------------------------------- +dnl Check if curl's WIN32 large file will be used + +AC_DEFUN([CURL_CHECK_WIN32_LARGEFILE], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl + AC_MSG_CHECKING([whether build target supports WIN32 file API]) + curl_win32_file_api="no" + if test "$ac_cv_header_windows_h" = "yes"; then + if test x"$enable_largefile" != "xno"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + ]],[[ +#if !defined(_WIN32_WCE) && \ + (defined(__MINGW32__) || \ + (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) + int dummy=1; +#else + WIN32 large file API not supported. +#endif + ]]) + ],[ + curl_win32_file_api="win32_large_files" + ]) + fi + if test "$curl_win32_file_api" = "no"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + ]],[[ +#if defined(_WIN32_WCE) || defined(__MINGW32__) || defined(_MSC_VER) + int dummy=1; +#else + WIN32 small file API not supported. +#endif + ]]) + ],[ + curl_win32_file_api="win32_small_files" + ]) + fi + fi + case "$curl_win32_file_api" in + win32_large_files) + AC_MSG_RESULT([yes (large file enabled)]) + AC_DEFINE_UNQUOTED(USE_WIN32_LARGE_FILES, 1, + [Define to 1 if you are building a Windows target with large file support.]) + ;; + win32_small_files) + AC_MSG_RESULT([yes (large file disabled)]) + AC_DEFINE_UNQUOTED(USE_WIN32_LARGE_FILES, 1, + [Define to 1 if you are building a Windows target without large file support.]) + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +]) + +dnl CURL_EXPORT_PCDIR ($pcdir) +dnl ------------------------ +dnl if $pcdir is not empty, set PKG_CONFIG_LIBDIR to $pcdir and export +dnl +dnl we need this macro since pkg-config distinguishes among empty and unset +dnl variable while checking PKG_CONFIG_LIBDIR +dnl + +AC_DEFUN([CURL_EXPORT_PCDIR], [ + if test -n "$1"; then + PKG_CONFIG_LIBDIR="$1" + export PKG_CONFIG_LIBDIR + fi +]) + +dnl CURL_CHECK_PKGCONFIG ($module, [$pcdir]) +dnl ------------------------ +dnl search for the pkg-config tool (if not cross-compiling). Set the PKGCONFIG +dnl variable to hold the path to it, or 'no' if not found/present. +dnl +dnl If pkg-config is present, check that it has info about the $module or +dnl return "no" anyway! +dnl +dnl Optionally PKG_CONFIG_LIBDIR may be given as $pcdir. +dnl + +AC_DEFUN([CURL_CHECK_PKGCONFIG], [ + + PKGCONFIG="no" + + if test x$cross_compiling = xyes; then + dnl see if there's a pkg-specific for this host setup + AC_PATH_PROG( PKGCONFIG, ${host}-pkg-config, no, + $PATH:/usr/bin:/usr/local/bin) + fi + + if test x$PKGCONFIG = xno; then + AC_PATH_PROG( PKGCONFIG, pkg-config, no, $PATH:/usr/bin:/usr/local/bin) + fi + + if test x$PKGCONFIG != xno; then + AC_MSG_CHECKING([for $1 options with pkg-config]) + dnl ask pkg-config about $1 + itexists=`CURL_EXPORT_PCDIR([$2]) dnl + $PKGCONFIG --exists $1 >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + dnl pkg-config does not have info about the given module! set the + dnl variable to 'no' + PKGCONFIG="no" + AC_MSG_RESULT([no]) + else + AC_MSG_RESULT([found]) + fi + fi +]) diff --git a/vendor/voclient/common/curl-7.20.1/aclocal.m4 b/vendor/voclient/common/curl-7.20.1/aclocal.m4 new file mode 100644 index 00000000..e05a1919 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/aclocal.m4 @@ -0,0 +1,903 @@ +# generated automatically by aclocal 1.9.6 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.9.6])]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 7 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 8 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH]) +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +#serial 3 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 8 + +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 12 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.58])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +]) +]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $1 | $1:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"$am_aux_dir/install-sh"} +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# From Jim Meyering + +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +AC_DEFUN([AM_MAINTAINER_MODE], +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode is disabled by default + AC_ARG_ENABLE(maintainer-mode, +[ --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer], + USE_MAINTAINER_MODE=$enableval, + USE_MAINTAINER_MODE=no) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST(MAINT)dnl +] +) + +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 3 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_MKDIR_P +# --------------- +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. +# +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) +AC_DEFUN([AM_PROG_MKDIR_P], +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi +AC_SUBST([mkdir_p])]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 3 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([m4/curl-compilers.m4]) +m4_include([m4/curl-confopts.m4]) +m4_include([m4/curl-functions.m4]) +m4_include([m4/curl-override.m4]) +m4_include([m4/curl-reentrant.m4]) +m4_include([m4/curl-system.m4]) +m4_include([m4/libtool.m4]) +m4_include([m4/ltoptions.m4]) +m4_include([m4/ltsugar.m4]) +m4_include([m4/ltversion.m4]) +m4_include([m4/lt~obsolete.m4]) +m4_include([acinclude.m4]) diff --git a/vendor/voclient/common/curl-7.20.1/buildconf b/vendor/voclient/common/curl-7.20.1/buildconf new file mode 100755 index 00000000..b6d70a67 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/buildconf @@ -0,0 +1,396 @@ +#!/bin/sh +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + +die(){ + echo "$@" + exit +} + +#-------------------------------------------------------------------------- +# findtool works as 'which' but we use a different name to make it more +# obvious we aren't using 'which'! ;-) +# +findtool(){ + file="$1" + + old_IFS=$IFS; IFS=':' + for path in $PATH + do + IFS=$old_IFS + # echo "checks for $file in $path" >&2 + if test -f "$path/$file"; then + echo "$path/$file" + return + fi + done + IFS=$old_IFS +} + +#-------------------------------------------------------------------------- +# removethis() removes all files and subdirectories with the given name, +# inside and below the current subdirectory at invocation time. +# +removethis(){ + if test "$#" = "1"; then + find . -depth -name $1 -print > buildconf.tmp.$$ + while read fdname + do + if test -f "$fdname"; then + rm -f "$fdname" + elif test -d "$fdname"; then + rm -f -r "$fdname" + fi + done < buildconf.tmp.$$ + rm -f buildconf.tmp.$$ + fi +} + +#-------------------------------------------------------------------------- +# Ensure that buildconf runs from the subdirectory where configure.ac lives +# +if test ! -f configure.ac || + test ! -f src/main.c || + test ! -f lib/urldata.h || + test ! -f include/curl/curl.h; then + echo "Can not run buildconf from outside of curl's source subdirectory!" + echo "Change to the subdirectory where buildconf is found, and try again." + exit 1 +fi + +#-------------------------------------------------------------------------- +# autoconf 2.57 or newer +# +need_autoconf="2.57" +ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|head -n 1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` +if test -z "$ac_version"; then + echo "buildconf: autoconf not found." + echo " You need autoconf version $need_autoconf or newer installed." + exit 1 +fi +old_IFS=$IFS; IFS='.'; set $ac_version; IFS=$old_IFS +if test "$1" = "2" -a "$2" -lt "57" || test "$1" -lt "2"; then + echo "buildconf: autoconf version $ac_version found." + echo " You need autoconf version $need_autoconf or newer installed." + echo " If you have a sufficient autoconf installed, but it" + echo " is not named 'autoconf', then try setting the" + echo " AUTOCONF environment variable." + exit 1 +fi + +echo "buildconf: autoconf version $ac_version (ok)" + +am4te_version=`${AUTOM4TE:-autom4te} --version 2>/dev/null|head -n 1| sed -e 's/autom4te\(.*\)/\1/' -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` +if test -z "$am4te_version"; then + echo "buildconf: autom4te not found. Weird autoconf installation!" + exit 1 +fi +if test "$am4te_version" = "$ac_version"; then + echo "buildconf: autom4te version $am4te_version (ok)" +else + echo "buildconf: autom4te version $am4te_version (ERROR: does not match autoconf version)" + exit 1 +fi + +#-------------------------------------------------------------------------- +# autoheader 2.50 or newer +# +ah_version=`${AUTOHEADER:-autoheader} --version 2>/dev/null|head -n 1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` +if test -z "$ah_version"; then + echo "buildconf: autoheader not found." + echo " You need autoheader version 2.50 or newer installed." + exit 1 +fi +old_IFS=$IFS; IFS='.'; set $ah_version; IFS=$old_IFS +if test "$1" = "2" -a "$2" -lt "50" || test "$1" -lt "2"; then + echo "buildconf: autoheader version $ah_version found." + echo " You need autoheader version 2.50 or newer installed." + echo " If you have a sufficient autoheader installed, but it" + echo " is not named 'autoheader', then try setting the" + echo " AUTOHEADER environment variable." + exit 1 +fi + +echo "buildconf: autoheader version $ah_version (ok)" + +#-------------------------------------------------------------------------- +# automake 1.7 or newer +# +need_automake="1.7" +am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|head -n 1| sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//' -e 's/\(.*\)\(-p.*\)/\1/'` +if test -z "$am_version"; then + echo "buildconf: automake not found." + echo " You need automake version $need_automake or newer installed." + exit 1 +fi +old_IFS=$IFS; IFS='.'; set $am_version; IFS=$old_IFS +if test "$1" = "1" -a "$2" -lt "7" || test "$1" -lt "1"; then + echo "buildconf: automake version $am_version found." + echo " You need automake version $need_automake or newer installed." + echo " If you have a sufficient automake installed, but it" + echo " is not named 'automake', then try setting the" + echo " AUTOMAKE environment variable." + exit 1 +fi + +echo "buildconf: automake version $am_version (ok)" + +acloc_version=`${ACLOCAL:-aclocal} --version 2>/dev/null|head -n 1| sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//' -e 's/\(.*\)\(-p.*\)/\1/'` +if test -z "$acloc_version"; then + echo "buildconf: aclocal not found. Weird automake installation!" + exit 1 +fi +if test "$acloc_version" = "$am_version"; then + echo "buildconf: aclocal version $acloc_version (ok)" +else + echo "buildconf: aclocal version $acloc_version (ERROR: does not match automake version)" + exit 1 +fi + +#-------------------------------------------------------------------------- +# libtool check +# +LIBTOOL_WANTED_MAJOR=1 +LIBTOOL_WANTED_MINOR=4 +LIBTOOL_WANTED_PATCH=2 +LIBTOOL_WANTED_VERSION=1.4.2 + +# this approach that tries 'glibtool' first is some kind of work-around for +# some BSD-systems I believe that use to provide the GNU libtool named +# glibtool, with 'libtool' being something completely different. +libtool=`findtool glibtool 2>/dev/null` +if test ! -x "$libtool"; then + libtool=`findtool ${LIBTOOL:-libtool}` +fi + +if test -z "$LIBTOOLIZE"; then + # set the LIBTOOLIZE here so that glibtoolize is used if glibtool was found + # $libtool is already the full path + libtoolize="${libtool}ize" +else + libtoolize=`findtool $LIBTOOLIZE` +fi + +lt_pver=`$libtool --version 2>/dev/null|head -n 1` +lt_qver=`echo $lt_pver|sed -e "s/([^)]*)//g" -e "s/^[^0-9]*//g"` +lt_version=`echo $lt_qver|sed -e "s/[- ].*//" -e "s/\([a-z]*\)$//"` +if test -z "$lt_version"; then + echo "buildconf: libtool not found." + echo " You need libtool version $LIBTOOL_WANTED_VERSION or newer installed" + exit 1 +fi +old_IFS=$IFS; IFS='.'; set $lt_version; IFS=$old_IFS +lt_major=$1 +lt_minor=$2 +lt_patch=$3 +lt_status="good" + +if test "$lt_major" = "$LIBTOOL_WANTED_MAJOR"; then + if test "$lt_minor" -lt "$LIBTOOL_WANTED_MINOR"; then + lt_status="bad" + elif test -n "$LIBTOOL_WANTED_PATCH"; then + if test "$lt_minor" -gt "$LIBTOOL_WANTED_MINOR"; then + lt_status="good" + elif test -n "$lt_patch"; then + if test "$lt_patch" -lt "$LIBTOOL_WANTED_PATCH"; then + lt_status="bad" + fi + else + lt_status="bad" + fi + fi +fi +if test $lt_status != "good"; then + echo "buildconf: libtool version $lt_version found." + echo " You need libtool version $LIBTOOL_WANTED_VERSION or newer installed" + exit 1 +fi + +echo "buildconf: libtool version $lt_version (ok)" + +if test -f "$libtoolize"; then + echo "buildconf: libtoolize found" +else + echo "buildconf: libtoolize not found. Weird libtool installation!" + exit 1 +fi + +#-------------------------------------------------------------------------- +# m4 check +# +m4=`${M4:-m4} --version 2>/dev/null|head -n 1`; +m4_version=`echo $m4 | sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//'` + +if { echo $m4 | grep "GNU" >/dev/null 2>&1; } then + echo "buildconf: GNU m4 version $m4_version (ok)" +else + echo "buildconf: m4 version $m4 found. You need a GNU m4 installed!" + exit 1 +fi + +#-------------------------------------------------------------------------- +# perl check +# +PERL=`findtool ${PERL:-perl}` + +#-------------------------------------------------------------------------- +# Remove files generated on previous buildconf/configure run. +# +for fname in .deps \ + .libs \ + *.la \ + *.lo \ + *.a \ + *.o \ + Makefile \ + Makefile.in \ + aclocal.m4 \ + aclocal.m4.bak \ + ares_build.h \ + ares_config.h \ + ares_config.h.in \ + autom4te.cache \ + compile \ + config.guess \ + curl_config.h \ + curl_config.h.in \ + config.log \ + config.lt \ + config.status \ + config.sub \ + configure \ + curl-config \ + curlbuild.h \ + depcomp \ + libcares.pc \ + libcurl.pc \ + libtool \ + libtool.m4 \ + ltmain.sh \ + ltoptions.m4 \ + ltsugar.m4 \ + ltversion.m4 \ + lt~obsolete.m4 \ + stamp-h1 \ + stamp-h2 \ + stamp-h3 ; do + removethis "$fname" +done + +#-------------------------------------------------------------------------- +# run the correct scripts now +# + +echo "buildconf: running libtoolize" +$libtoolize --copy --automake --force || die "The libtoolize command failed" + +if test ! -f m4/curl-functions.m4; then + echo "buildconf: cURL m4 macros not found" + exit 1 +fi + +echo "buildconf: running aclocal" +${ACLOCAL:-aclocal} -I m4 $ACLOCAL_FLAGS || die "The aclocal command line failed" + +if test -n "$PERL"; then + echo "buildconf: running aclocal hack to convert all mv to mv -f" + $PERL -i.bak -pe 's/\bmv +([^-\s])/mv -f $1/g' aclocal.m4 +else + echo "buildconf: perl not found" + exit 1 +fi + +echo "buildconf: running autoheader" +${AUTOHEADER:-autoheader} || die "The autoheader command failed" + +echo "buildconf: cp lib/curl_config.h.in src/curl_config.h.in" +cp lib/curl_config.h.in src/curl_config.h.in + +echo "buildconf: running autoconf" +${AUTOCONF:-autoconf} || die "The autoconf command failed" + +if test -d ares; then + cd ares + echo "buildconf: running in ares" + ./buildconf + cd .. +fi + +echo "buildconf: running automake" +${AUTOMAKE:-automake} -a -c || die "The automake command failed" + +#-------------------------------------------------------------------------- +# Depending on the libtool and automake versions being used, config.guess +# might not be installed in the subdirectory until automake has finished. +# So we can not attempt to use it until this very last buildconf stage. +# + +if test ! -f ./config.guess; then + echo "buildconf: config.guess not found" +else + buildhost=`./config.guess 2>/dev/null|head -n 1` + case $buildhost in + *-*-hpux*) + need_lt_major=1 + need_lt_minor=5 + need_lt_patch=24 + need_lt_check="yes" + ;; + esac + if test ! -z "$need_lt_check"; then + if test -z "$lt_major"; then + lt_status="bad" + elif test "$lt_major" -gt "$need_lt_major"; then + lt_status="good" + elif test "$lt_major" -lt "$need_lt_major"; then + lt_status="bad" + elif test -z "$lt_minor"; then + lt_status="bad" + elif test "$lt_minor" -gt "$need_lt_minor"; then + lt_status="good" + elif test "$lt_minor" -lt "$need_lt_minor"; then + lt_status="bad" + elif test -z "$lt_patch"; then + lt_status="bad" + elif test "$lt_patch" -gt "$need_lt_patch"; then + lt_status="good" + elif test "$lt_patch" -lt "$need_lt_patch"; then + lt_status="bad" + else + lt_status="good" + fi + if test "$lt_status" != "good"; then + need_lt_version="$need_lt_major.$need_lt_minor.$need_lt_patch" + echo "buildconf: libtool version $lt_version found." + echo " $buildhost requires libtool $need_lt_version or newer installed." + rm -f configure + exit 1 + fi + fi +fi + +#-------------------------------------------------------------------------- +# Finished succesfully. +# + +echo "buildconf: OK" +exit 0 diff --git a/vendor/voclient/common/curl-7.20.1/compile b/vendor/voclient/common/curl-7.20.1/compile new file mode 100755 index 00000000..1b1d2321 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/compile @@ -0,0 +1,142 @@ +#! /bin/sh +# Wrapper for compilers which do not understand `-c -o'. + +scriptversion=2005-05-14.22 + +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand `-c -o'. +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file `INSTALL'. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; +esac + +ofile= +cfile= +eat= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as `compile cc -o foo foo.c'. + # So we strip `-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no `-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # `.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` + +# Create the lock directory. +# Note: use `[/.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/vendor/voclient/common/curl-7.20.1/config.guess b/vendor/voclient/common/curl-7.20.1/config.guess new file mode 100755 index 00000000..c2246a4f --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/config.guess @@ -0,0 +1,1502 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +# Free Software Foundation, Inc. + +timestamp='2009-12-30' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Originally written by Per Bothner. Please send patches (context +# diff format) to and include a ChangeLog +# entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free +Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[456]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/vendor/voclient/common/curl-7.20.1/config.log b/vendor/voclient/common/curl-7.20.1/config.log new file mode 100644 index 00000000..398a4288 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/config.log @@ -0,0 +1,159107 @@ +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.65. Invocation command line was + + $ ./configure --prefix=/iraf/iraf/vendor/voclient/ --exec-prefix=/iraf/iraf/vendor/voclient/ --disable-shared --disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-manual --disable-ipv6 --disable-ares --disable-sspi --disable-crypto-auth --without-krb4 --without-ssl --without-zlib --without-libssh2 --without-gnutls --without-nss --without-ca-path --without-libidn + +## --------- ## +## Platform. ## +## --------- ## + +hostname = munch.local +uname -m = x86_64 +uname -r = 12.5.0 +uname -s = Darwin +uname -v = Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 + +/usr/bin/uname -p = i386 +/bin/uname -X = unknown + +/bin/arch = unknown +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +/usr/bin/hostinfo = Mach kernel version: + Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 +Kernel configured for up to 2 processors. +2 processors are physically available. +2 processors are logically available. +Processor type: i486 (Intel 80486) +Processors active: 0 1 +Primary memory available: 4.00 gigabytes +Default processor set: 166 tasks, 763 threads, 2 processors +Load average: 2.13, Mach factor: 0.52 +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: /Users/fitz/.iraf/bin +PATH: . +PATH: /Users/fitz/bin +PATH: /sbin +PATH: /bin +PATH: /usr/sbin +PATH: /usr/bin +PATH: /usr/games +PATH: /usr/local/bin +PATH: /opt/local/bin +PATH: /usr/local/sbin +PATH: /usr/local/pvm/pvm3/bin +PATH: /usr/local/pvm/pvm3/lib +PATH: /usr/local/ch/bin +PATH: /usr/local/astrometry/bin +PATH: /usr/local/mysql/bin +PATH: /Developer/NVIDIA/CUDA-5.0/bin +PATH: /usr/X11R6/bin +PATH: /usr/local/git/bin + + +## ----------- ## +## Core tests. ## +## ----------- ## + +configure:2771: checking whether to enable maintainer-specific portions of Makefiles +configure:2780: result: no +configure:2797: checking whether to enable debug build options +configure:2816: result: no +configure:2820: checking whether to enable compiler optimizer +configure:2841: result: (assumed) yes +configure:2853: checking whether to enable strict compiler warnings +configure:2872: result: no +configure:2876: checking whether to enable curl debug memory tracking +configure:2895: result: no +configure:2909: checking whether to enable c-ares for DNS lookups +configure:2931: result: no +configure:2946: checking for sed +configure:2965: found /usr/bin/sed +configure:2978: result: /usr/bin/sed +configure:2993: checking for grep +configure:3012: found /usr/bin/grep +configure:3025: result: /usr/bin/grep +configure:3039: checking for egrep +configure:3042: result: /usr/bin/grep -E +configure:3140: checking for ar +configure:3159: found /usr/bin/ar +configure:3171: result: /usr/bin/ar +configure:3243: checking for a BSD-compatible install +configure:3311: result: /usr/bin/install -c +configure:3322: checking whether build environment is sane +configure:3359: result: yes +configure:3421: checking for gawk +configure:3451: result: no +configure:3421: checking for mawk +configure:3451: result: no +configure:3421: checking for nawk +configure:3451: result: no +configure:3421: checking for awk +configure:3437: found /usr/bin/awk +configure:3448: result: awk +configure:3459: checking whether make sets $(MAKE) +configure:3481: result: yes +configure:3659: checking curl version +configure:3661: result: 7.20.1 +configure:3697: checking build system type +configure:3711: result: x86_64-apple-darwin12.5.0 +configure:3731: checking host system type +configure:3744: result: x86_64-apple-darwin12.5.0 +configure:3782: checking for style of include used by make +configure:3810: result: GNU +configure:3886: checking for gcc +configure:3913: result: gcc +configure:4142: checking for C compiler version +configure:4151: gcc --version >&5 +i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) +Copyright (C) 2007 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +configure:4162: $? = 0 +configure:4151: gcc -v >&5 +Using built-in specs. +Target: i686-apple-darwin11 +Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 +Thread model: posix +gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) +configure:4162: $? = 0 +configure:4151: gcc -V >&5 +llvm-gcc-4.2: argument to `-V' is missing +configure:4162: $? = 1 +configure:4151: gcc -qversion >&5 +i686-apple-darwin11-llvm-gcc-4.2: no input files +configure:4162: $? = 1 +configure:4181: checking whether the C compiler works +configure:4203: gcc -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4207: $? = 0 +configure:4256: result: yes +configure:4259: checking for C compiler default output file name +configure:4261: result: a.out +configure:4267: checking for suffix of executables +configure:4274: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4278: $? = 0 +configure:4300: result: +configure:4321: checking whether we are cross compiling +configure:4329: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4333: $? = 0 +configure:4340: ./conftest +configure:4344: $? = 0 +configure:4359: result: no +configure:4364: checking for suffix of object files +configure:4385: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4389: $? = 0 +configure:4410: result: o +configure:4414: checking whether we are using the GNU C compiler +configure:4432: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4432: $? = 0 +configure:4441: result: yes +configure:4450: checking whether gcc accepts -g +configure:4469: gcc -c -g conftest.c >&5 +configure:4469: $? = 0 +configure:4508: result: yes +configure:4525: checking for gcc option to accept ISO C89 +configure:4588: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4588: $? = 0 +configure:4601: result: none needed +configure:4623: checking dependency style of gcc +configure:4713: result: gcc3 +configure:4756: checking for sys/types.h +configure:4756: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4756: $? = 0 +configure:4756: result: yes +configure:4756: checking for stdint.h +configure:4756: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4756: $? = 0 +configure:4756: result: yes +configure:4756: checking for inttypes.h +configure:4756: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:4756: $? = 0 +configure:4756: result: yes +configure:4774: checking how to run the C preprocessor +configure:4805: gcc -E conftest.c +configure:4805: $? = 0 +configure:4819: gcc -E conftest.c +conftest.c:15:28: error: ac_nonexistent.h: No such file or directory +configure:4819: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| /* end confdefs.h. */ +| #include +configure:4844: result: gcc -E +configure:4864: gcc -E conftest.c +configure:4864: $? = 0 +configure:4878: gcc -E conftest.c +conftest.c:15:28: error: ac_nonexistent.h: No such file or directory +configure:4878: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| /* end confdefs.h. */ +| #include +configure:4907: checking for grep that handles long lines and -e +configure:4965: result: /usr/bin/grep +configure:4970: checking for egrep +configure:5032: result: /usr/bin/grep -E +configure:5037: checking for ANSI C header files +configure:5056: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5056: $? = 0 +configure:5129: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5129: $? = 0 +configure:5129: ./conftest +configure:5129: $? = 0 +configure:5140: result: yes +configure:5153: checking for sys/types.h +configure:5153: result: yes +configure:5153: checking for sys/stat.h +configure:5153: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5153: $? = 0 +configure:5153: result: yes +configure:5153: checking for stdlib.h +configure:5153: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5153: $? = 0 +configure:5153: result: yes +configure:5153: checking for string.h +configure:5153: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5153: $? = 0 +configure:5153: result: yes +configure:5153: checking for memory.h +configure:5153: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5153: $? = 0 +configure:5153: result: yes +configure:5153: checking for strings.h +configure:5153: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5153: $? = 0 +configure:5153: result: yes +configure:5153: checking for inttypes.h +configure:5153: result: yes +configure:5153: checking for stdint.h +configure:5153: result: yes +configure:5153: checking for unistd.h +configure:5153: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5153: $? = 0 +configure:5153: result: yes +configure:5177: checking size of long +configure:5182: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5182: $? = 0 +configure:5182: ./conftest +configure:5182: $? = 0 +configure:5197: result: 4 +configure:5211: checking size of void* +configure:5216: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5216: $? = 0 +configure:5216: ./conftest +configure:5216: $? = 0 +configure:5231: result: 4 +configure:5273: checking for 64-bit curl_off_t data type +configure:5323: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5323: $? = 0 +configure:5350: gcc -E conftest.c +configure:5350: $? = 0 +configure:5385: result: int64_t +configure:5620: checking size of curl_off_t +configure:5622: result: 8 +configure:5625: checking formatting string directive for curl_off_t +configure:5665: result: "lld" +configure:5668: checking formatting string directive for unsigned curl_off_t +configure:5670: result: "llu" +configure:5674: checking constant suffix string for curl_off_t +configure:5741: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:5741: $? = 0 +configure:5755: result: LL +configure:5757: checking constant suffix string for unsigned curl_off_t +configure:5759: result: ULL +configure:5829: checking if OS is AIX (to define _ALL_SOURCE) +configure:5849: result: no +configure:5859: checking if _THREAD_SAFE is already defined +configure:5880: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:46: error: 'force' undeclared (first use in this function) +conftest.c:46: error: (Each undeclared identifier is reported only once +conftest.c:46: error: for each function it appears in.) +conftest.c:46: error: expected ';' before 'compilation' +configure:5880: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| /* end confdefs.h. */ +| +| +| +| int main (void) +| { +| +| #ifdef _THREAD_SAFE +| int dummy=1; +| #else +| force compilation error +| #endif +| +| ; +| return 0; +| } +| +configure:5888: result: no +configure:5896: checking if _THREAD_SAFE is actually needed +configure:5915: result: no +configure:5920: checking if _THREAD_SAFE is onwards defined +configure:5937: result: no +configure:5944: checking if _REENTRANT is already defined +configure:5965: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:46: error: 'force' undeclared (first use in this function) +conftest.c:46: error: (Each undeclared identifier is reported only once +conftest.c:46: error: for each function it appears in.) +conftest.c:46: error: expected ';' before 'compilation' +configure:5965: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| /* end confdefs.h. */ +| +| +| +| int main (void) +| { +| +| #ifdef _REENTRANT +| int dummy=1; +| #else +| force compilation error +| #endif +| +| ; +| return 0; +| } +| +configure:5973: result: no +configure:5981: checking if _REENTRANT is actually needed +configure:6012: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:6012: $? = 0 +configure:6043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:6043: $? = 0 +configure:6114: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:6114: $? = 0 +configure:6193: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:6193: $? = 0 +configure:6272: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:6272: $? = 0 +configure:6351: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:6351: $? = 0 +configure:6430: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_inet_ntoa_r", referenced from: + _main in ccKCRaAS.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:6430: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| /* 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:6513: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_gethostbyaddr_r", referenced from: + _main in ccig1Y6t.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:6513: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| /* end confdefs.h. */ +| +| +| #define gethostbyaddr_r innocuous_gethostbyaddr_r +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| #undef gethostbyaddr_r +| #ifdef __cplusplus +| extern "C" +| #endif +| char gethostbyaddr_r (); +| #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r +| choke me +| #endif +| +| int main (void) +| { +| return gethostbyaddr_r (); +| ; +| return 0; +| } +| +configure:6592: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_gethostbyname_r", referenced from: + _main in ccLHhZtX.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:6592: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| /* end confdefs.h. */ +| +| +| #define gethostbyname_r innocuous_gethostbyname_r +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| #undef gethostbyname_r +| #ifdef __cplusplus +| extern "C" +| #endif +| char gethostbyname_r (); +| #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r +| choke me +| #endif +| +| int main (void) +| { +| return gethostbyname_r (); +| ; +| return 0; +| } +| +configure:6671: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_getprotobyname_r", referenced from: + _main in ccUIMrJf.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:6671: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| /* 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:6750: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_getservbyport_r", referenced from: + _main in ccI9KbKP.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:6750: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| /* end confdefs.h. */ +| +| +| #define getservbyport_r innocuous_getservbyport_r +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| #undef getservbyport_r +| #ifdef __cplusplus +| extern "C" +| #endif +| char getservbyport_r (); +| #if defined __stub_getservbyport_r || defined __stub___getservbyport_r +| choke me +| #endif +| +| int main (void) +| { +| return getservbyport_r (); +| ; +| return 0; +| } +| +configure:6806: result: no +configure:6811: checking if _REENTRANT is onwards defined +configure:6828: result: no +configure:6841: checking for special C compiler options needed for large files +configure:6885: result: no +configure:6891: checking for _FILE_OFFSET_BITS value needed for large files +configure:6915: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:6915: $? = 0 +configure:6946: result: no +configure:7332: checking if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC) +configure:7341: result: no +configure:7346: checking if compiler is icc (to build with PIC) +configure:7355: result: no +configure:7385: checking for a sed that does not truncate output +configure:7449: result: /usr/bin/sed +configure:7467: checking for fgrep +configure:7529: result: /usr/bin/grep -F +configure:7564: checking for ld used by gcc +configure:7631: result: /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld +configure:7638: checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld +configure:7653: result: no +configure:7665: checking for BSD- or MS-compatible name lister (nm) +configure:7714: result: /usr/bin/nm +configure:7832: checking the name lister (/usr/bin/nm) interface +configure:7839: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:7842: /usr/bin/nm "conftest.o" +configure:7845: output +00000000 S _some_variable +configure:7852: result: BSD nm +configure:7855: checking whether ln -s works +configure:7859: result: yes +configure:7867: checking the maximum length of command line arguments +configure:7987: result: 196608 +configure:8004: checking whether the shell understands some XSI constructs +configure:8014: result: yes +configure:8018: checking whether the shell understands "+=" +configure:8024: result: yes +configure:8059: checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files +configure:8066: result: -r +configure:8135: checking for objdump +configure:8162: result: objdump +configure:8191: checking how to recognize dependent libraries +configure:8387: result: pass_all +configure:8447: checking for ar +configure:8474: result: /usr/bin/ar +configure:8552: checking for strip +configure:8568: found /usr/bin/strip +configure:8579: result: strip +configure:8651: checking for ranlib +configure:8678: result: ranlib +configure:8768: checking command to parse /usr/bin/nm output from gcc object +configure:8886: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:8889: $? = 0 +configure:8893: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm +configure:8896: $? = 0 +cannot find nm_test_var in conftest.nm +configure:8886: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:8889: $? = 0 +configure:8893: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> conftest.nm +configure:8896: $? = 0 +configure:8950: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c conftstm.o >&5 +configure:8953: $? = 0 +configure:8991: result: ok +configure:9254: checking for dsymutil +configure:9270: found /usr/bin/dsymutil +configure:9281: result: dsymutil +configure:9346: checking for nmedit +configure:9362: found /usr/bin/nmedit +configure:9373: result: nmedit +configure:9438: checking for lipo +configure:9454: found /usr/bin/lipo +configure:9465: result: lipo +configure:9530: checking for otool +configure:9546: found /usr/bin/otool +configure:9557: result: otool +configure:9622: checking for otool64 +configure:9652: result: no +configure:9697: checking for -single_module linker flag +gcc -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c +configure:9724: result: yes +configure:9726: checking for -exported_symbols_list linker flag +configure:9745: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -arch i386 -m32 -mmacosx-version-min=10.4 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5 +configure:9745: $? = 0 +configure:9755: result: yes +configure:9794: checking for dlfcn.h +configure:9794: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:9794: $? = 0 +configure:9794: result: yes +configure:9976: checking for objdir +configure:9991: result: .libs +configure:10287: checking if gcc supports -fno-rtti -fno-exceptions +configure:10305: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -fno-rtti -fno-exceptions conftest.c >&5 +cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C +configure:10309: $? = 0 +configure:10322: result: no +configure:10342: checking for gcc option to produce PIC +configure:10614: result: -fno-common -DPIC +configure:10626: checking if gcc PIC flag -fno-common -DPIC works +configure:10644: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -fno-common -DPIC -DPIC conftest.c >&5 +configure:10648: $? = 0 +configure:10661: result: yes +configure:10685: checking if gcc static flag -static works +configure:10713: result: no +configure:10728: checking if gcc supports -c -o file.o +configure:10749: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -o out/conftest2.o conftest.c >&5 +configure:10753: $? = 0 +configure:10775: result: yes +configure:10783: checking if gcc supports -c -o file.o +configure:10830: result: yes +configure:10863: checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries +configure:11852: result: yes +configure:12091: checking dynamic linker characteristics +configure:12753: result: darwin12.5.0 dyld +configure:12855: checking how to hardcode library paths into programs +configure:12880: result: immediate +configure:13385: checking whether stripping libraries is possible +configure:13399: result: yes +configure:13425: checking if libtool supports shared libraries +configure:13427: result: yes +configure:13430: checking whether to build shared libraries +configure:13451: result: no +configure:13454: checking whether to build static libraries +configure:13458: result: yes +configure:13494: checking if we need -mimpure-text +configure:13506: result: no +configure:13529: checking if we need BUILDING_LIBCURL +configure:13563: result: no +configure:13577: checking whether make sets $(MAKE) +configure:13599: result: yes +configure:13609: checking for inline +configure:13625: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:13625: $? = 0 +configure:13633: result: inline +configure:13666: checking if compiler is DEC/Compaq/HP C +configure:13687: gcc -E conftest.c +configure:13687: $? = 0 +configure:13727: gcc -E conftest.c +configure:13727: $? = 0 +configure:13760: result: no +configure:13765: checking if compiler is HP-UX C +configure:13786: gcc -E conftest.c +configure:13786: $? = 0 +configure:13818: result: no +configure:13823: checking if compiler is IBM C +configure:13844: gcc -E conftest.c +configure:13844: $? = 0 +configure:13883: result: no +configure:13888: checking if compiler is Intel C +configure:13909: gcc -E conftest.c +configure:13909: $? = 0 +configure:13999: result: no +configure:14004: checking if compiler is clang +configure:14025: gcc -E conftest.c +configure:14025: $? = 0 +configure:14068: result: no +configure:14073: checking if compiler is GNU C +configure:14094: gcc -E conftest.c +configure:14094: $? = 0 +configure:14117: result: yes +configure:14143: checking if compiler is LCC +configure:14164: gcc -E conftest.c +configure:14164: $? = 0 +configure:14196: result: no +configure:14201: checking if compiler is SGI MIPSpro C +configure:14222: gcc -E conftest.c +configure:14222: $? = 0 +configure:14262: gcc -E conftest.c +configure:14262: $? = 0 +configure:14302: gcc -E conftest.c +configure:14302: $? = 0 +configure:14336: result: no +configure:14341: checking if compiler is SGI MIPS C +configure:14362: gcc -E conftest.c +configure:14362: $? = 0 +configure:14402: gcc -E conftest.c +configure:14402: $? = 0 +configure:14436: result: no +configure:14441: checking if compiler is SunPro C +configure:14462: gcc -E conftest.c +configure:14462: $? = 0 +configure:14494: result: no +configure:14499: checking if compiler is Tiny C +configure:14520: gcc -E conftest.c +configure:14520: $? = 0 +configure:14552: result: no +configure:14557: checking if compiler is Watcom C +configure:14578: gcc -E conftest.c +configure:14578: $? = 0 +configure:14660: result: no +configure:15011: checking if compiler accepts debug disabling options +configure:15038: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 conftest.c >&5 +configure:15038: $? = 0 +configure:15068: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:15068: $? = 0 +configure:15110: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:15110: $? = 0 +configure:15110: ./conftest +configure:15110: $? = 0 +configure:15129: result: yes +configure:15131: compiler options added: -g0 +configure:15163: checking if compiler optimizer assumed setting might be used +configure:15201: result: yes +configure:15247: checking if compiler accepts optimizer enabling options +configure:15278: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 conftest.c >&5 +configure:15278: $? = 0 +configure:15308: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:15308: $? = 0 +configure:15350: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:15350: $? = 0 +configure:15350: ./conftest +configure:15350: $? = 0 +configure:15369: result: yes +configure:15371: compiler options added: -O2 +configure:15613: checking if compiler accepts strict warning options +configure:15637: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:15637: $? = 0 +configure:15667: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:15667: $? = 0 +configure:15709: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:15709: $? = 0 +configure:15709: ./conftest +configure:15709: $? = 0 +configure:15728: result: yes +configure:15730: compiler options added: -Wno-system-headers +configure:15760: checking if compiler halts on compilation errors +configure:15777: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:45: error: 'force' undeclared (first use in this function) +conftest.c:45: error: (Each undeclared identifier is reported only once +conftest.c:45: error: for each function it appears in.) +conftest.c:45: error: expected ';' before 'compilation' +configure:15777: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| /* end confdefs.h. */ +| +| +| +| int main (void) +| { +| +| force compilation error +| +| ; +| return 0; +| } +| +configure:15785: result: yes +configure:15792: checking if compiler halts on negative sized arrays +configure:15810: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:41: error: size of array 'bad_t' is negative +configure:15810: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #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:15818: result: yes +configure:15826: checking if shared libraries need -no-undefined +configure:15839: result: no +configure:15914: checking for windows.h +configure:15944: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:45:21: error: windows.h: No such file or directory +conftest.c: In function 'main': +conftest.c:53: error: 'WINVER' undeclared (first use in this function) +conftest.c:53: error: (Each undeclared identifier is reported only once +conftest.c:53: error: for each function it appears in.) +configure:15944: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #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:15956: result: no +configure:15974: checking whether build target is a native Windows one +configure:16016: result: no +configure:16329: checking whether build target supports WIN32 file API +configure:16410: result: no +configure:16416: checking whether to support http +configure:16442: result: yes +configure:16447: checking whether to support ftp +configure:16453: result: no +configure:16471: checking whether to support file +configure:16477: result: no +configure:16495: checking whether to support ldap +configure:16501: result: no +configure:16547: checking whether to support ldaps +configure:16553: result: no +configure:16591: checking whether to support rtsp +configure:16616: result: yes +configure:16627: checking whether to support proxies +configure:16633: result: no +configure:16652: checking whether to support dict +configure:16658: result: no +configure:16676: checking whether to support telnet +configure:16682: result: no +configure:16700: checking whether to support tftp +configure:16706: result: no +configure:16725: checking whether to support pop3 +configure:16744: result: yes +configure:16751: checking whether to support imap +configure:16770: result: yes +configure:16777: checking whether to support smtp +configure:16796: result: yes +configure:16804: checking whether to provide built-in manual +configure:16810: result: no +configure:16828: checking if X/Open network library is required +configure:16848: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:56: error: 'force' undeclared (first use in this function) +conftest.c:56: error: (Each undeclared identifier is reported only once +conftest.c:56: error: for each function it appears in.) +conftest.c:56: error: expected ';' before 'compilation' +configure:16848: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 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:16855: result: no +configure:16859: checking for gethostbyname +configure:16859: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:16859: $? = 0 +configure:16859: result: yes +configure:17222: checking for strcasecmp +configure:17222: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c:58: warning: conflicting types for built-in function 'strcasecmp' +configure:17222: $? = 0 +configure:17222: result: yes +configure:17330: checking for windows.h +configure:17372: result: no +configure:17390: checking for winsock.h +configure:17433: result: no +configure:17446: checking for winsock2.h +configure:17489: result: no +configure:17503: checking for connect in libraries +configure:17530: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:17530: $? = 0 +configure:17548: result: yes +configure:17559: checking whether time.h and sys/time.h may both be included +configure:17578: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:17578: $? = 0 +configure:17585: result: yes +configure:17597: checking for sys/types.h +configure:17597: result: yes +configure:17597: checking sys/time.h usability +configure:17597: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:17597: $? = 0 +configure:17597: result: yes +configure:17597: checking sys/time.h presence +configure:17597: gcc -E conftest.c +configure:17597: $? = 0 +configure:17597: result: yes +configure:17597: checking for sys/time.h +configure:17597: result: yes +configure:17597: checking time.h usability +configure:17597: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:17597: $? = 0 +configure:17597: result: yes +configure:17597: checking time.h presence +configure:17597: gcc -E conftest.c +configure:17597: $? = 0 +configure:17597: result: yes +configure:17597: checking for time.h +configure:17597: result: yes +configure:17608: checking for monotonic clock_gettime +configure:17639: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:71: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) +conftest.c:71: error: (Each undeclared identifier is reported only once +conftest.c:71: error: for each function it appears in.) +configure:17639: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| /* end confdefs.h. */ +| +| +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_TIME_H +| #include +| #ifdef TIME_WITH_SYS_TIME +| #include +| #endif +| #else +| #ifdef HAVE_TIME_H +| #include +| #endif +| #endif +| +| int main (void) +| { +| +| struct timespec ts; +| (void)clock_gettime(CLOCK_MONOTONIC, &ts); +| +| ; +| return 0; +| } +| +configure:17647: result: no +configure:17819: checking whether to use libgcc +configure:17834: result: no +configure:18466: checking whether to enable ipv6 +configure:18472: result: no +configure:18555: checking if argv can be written to +configure:18573: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:18573: $? = 0 +configure:18573: ./conftest +configure:18573: $? = 0 +configure:18590: result: yes +configure:18648: checking if Kerberos4 support is requested +configure:18859: result: no +configure:18876: checking if SPNEGO support is requested +configure:18899: result: no +configure:18940: checking if GSSAPI support is requested +configure:19050: result: no +configure:19713: WARNING: zlib disabled +configure:20449: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more. +configure:20451: WARNING: Use --with-ssl, --with-gnutls or --with-nss to address this. +configure:20462: checking default CA cert bundle/path +configure:20559: result: no +configure:20819: checking whether to build with libidn +configure:20830: result: no +configure:20981: checking for ANSI C header files +configure:21084: result: yes +configure:21094: checking for malloc.h +configure:21119: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:55:20: error: malloc.h: No such file or directory +conftest.c: In function 'main': +conftest.c:60: warning: incompatible implicit declaration of built-in function 'malloc' +conftest.c:61: warning: incompatible implicit declaration of built-in function 'calloc' +configure:21119: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| /* end confdefs.h. */ +| +| +| #include +| +| int main (void) +| { +| +| void *p = malloc(10); +| void *q = calloc(10,10); +| free(p); +| free(q); +| +| ; +| return 0; +| } +| +configure:21131: result: no +configure:21182: checking for memory.h +configure:21219: result: yes +configure:21247: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21247: $? = 0 +configure:21312: checking for sys/types.h +configure:21312: result: yes +configure:21312: checking for sys/time.h +configure:21312: result: yes +configure:21312: checking for sys/select.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for sys/socket.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for sys/ioctl.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for sys/uio.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for assert.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for unistd.h +configure:21312: result: yes +configure:21312: checking for stdlib.h +configure:21312: result: yes +configure:21312: checking for limits.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for arpa/inet.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for net/if.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for netinet/in.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for sys/un.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for netinet/tcp.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for netdb.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for sys/sockio.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for sys/stat.h +configure:21312: result: yes +configure:21312: checking for sys/param.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for termios.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for termio.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:96:20: error: termio.h: No such file or directory +configure:21312: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_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:21312: result: no +configure:21312: checking for sgtty.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for fcntl.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for alloca.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for time.h +configure:21312: result: yes +configure:21312: checking for io.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:100:16: error: io.h: No such file or directory +configure:21312: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| /* end confdefs.h. */ +| +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_TIME_H +| #include +| #endif +| #ifdef HAVE_SYS_SELECT_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #ifdef HAVE_NETINET_IN_H +| #include +| #endif +| #ifdef HAVE_SYS_UN_H +| #include +| #endif +| +| +| +| #include +configure:21312: result: no +configure:21312: checking for pwd.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for utime.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for sys/utime.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:102:23: error: sys/utime.h: No such file or directory +configure:21312: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| /* end confdefs.h. */ +| +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_TIME_H +| #include +| #endif +| #ifdef HAVE_SYS_SELECT_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #ifdef HAVE_NETINET_IN_H +| #include +| #endif +| #ifdef HAVE_SYS_UN_H +| #include +| #endif +| +| +| +| #include +configure:21312: result: no +configure:21312: checking for sys/poll.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for poll.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for socket.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:104:20: error: socket.h: No such file or directory +configure:21312: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| /* end confdefs.h. */ +| +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_TIME_H +| #include +| #endif +| #ifdef HAVE_SYS_SELECT_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #ifdef HAVE_NETINET_IN_H +| #include +| #endif +| #ifdef HAVE_SYS_UN_H +| #include +| #endif +| +| +| +| #include +configure:21312: result: no +configure:21312: checking for sys/resource.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for libgen.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for locale.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for errno.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for stdbool.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for arpa/tftp.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for sys/filio.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21312: checking for setjmp.h +configure:21312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21312: $? = 0 +configure:21312: result: yes +configure:21345: checking for an ANSI C-conforming const +configure:21409: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21409: $? = 0 +configure:21416: result: yes +configure:21425: checking for compiler support of C99 variadic macro style +configure:21455: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21455: $? = 0 +configure:21467: result: yes +configure:21478: checking for compiler support of old gcc variadic macro style +configure:21508: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21508: $? = 0 +configure:21520: result: yes +configure:21532: checking for size_t +configure:21532: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21532: $? = 0 +configure:21532: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:127: error: expected expression before ')' token +configure:21532: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_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:21532: result: yes +configure:21543: checking whether time.h and sys/time.h may both be included +configure:21569: result: yes +configure:21581: checking for sys/types.h +configure:21581: result: yes +configure:21581: checking for sys/time.h +configure:21581: result: yes +configure:21581: checking for time.h +configure:21581: result: yes +configure:21581: checking for sys/socket.h +configure:21581: result: yes +configure:21592: checking for struct timeval +configure:21645: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21645: $? = 0 +configure:21657: result: yes +configure:21673: checking run-time libs availability +configure:21690: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:21690: $? = 0 +configure:21690: ./conftest +configure:21690: $? = 0 +configure:21691: result: fine +configure:21711: checking size of size_t +configure:21716: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:21716: $? = 0 +configure:21716: ./conftest +configure:21716: $? = 0 +configure:21731: result: 4 +configure:21745: checking size of long +configure:21765: result: 4 +configure:21779: checking size of int +configure:21784: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:21784: $? = 0 +configure:21784: ./conftest +configure:21784: $? = 0 +configure:21799: result: 4 +configure:21813: checking size of short +configure:21818: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:21818: $? = 0 +configure:21818: ./conftest +configure:21818: $? = 0 +configure:21833: result: 2 +configure:21858: checking size of time_t +configure:21863: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:21863: $? = 0 +configure:21863: ./conftest +configure:21863: $? = 0 +configure:21878: result: 4 +configure:21892: checking size of off_t +configure:21897: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:21897: $? = 0 +configure:21897: ./conftest +configure:21897: $? = 0 +configure:21912: result: 8 +configure:21934: checking for long long +configure:21934: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21934: $? = 0 +configure:21934: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:140: error: expected expression before ')' token +configure:21934: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #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:21934: result: yes +configure:21945: checking if numberLL works +configure:21951: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21951: $? = 0 +configure:21955: result: yes +configure:21967: checking for ssize_t +configure:21967: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21967: $? = 0 +configure:21967: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:142: error: expected expression before ')' token +configure:21967: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #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:21967: result: yes +configure:21978: checking for bool +configure:21978: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:21978: $? = 0 +configure:21978: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:118: error: expected expression before ')' token +configure:21978: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #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:21978: result: yes +configure:22013: checking for windows.h +configure:22055: result: no +configure:22073: checking for winsock2.h +configure:22116: result: no +configure:22129: checking for ws2tcpip.h +configure:22173: result: no +configure:22199: checking for sys/types.h +configure:22199: result: yes +configure:22199: checking for sys/socket.h +configure:22199: result: yes +configure:22224: checking for curl_socklen_t data type +configure:22252: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:22252: $? = 0 +configure:22289: result: socklen_t +configure:22296: checking size of curl_socklen_t +configure:22342: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'curl_socklen_t' +conftest.c:114: error: 'curl_socklen_t' undeclared here (not in a function) +conftest.c: In function 'main': +conftest.c:119: error: expected ';' before 'dummy' +configure:22342: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define 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:22342: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'curl_socklen_t' +conftest.c:114: error: 'curl_socklen_t' undeclared here (not in a function) +conftest.c: In function 'main': +conftest.c:119: error: expected ';' before 'dummy' +configure:22342: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define 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:22342: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:22342: $? = 0 +configure:22352: result: 4 +configure:22399: checking for in_addr_t +configure:22399: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:22399: $? = 0 +configure:22399: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:146: error: expected expression before ')' token +configure:22399: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| /* end confdefs.h. */ +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef 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:22399: result: yes +configure:22515: checking for struct sockaddr_storage +configure:22515: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:22515: $? = 0 +configure:22515: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:142: error: expected expression before ')' token +configure:22515: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| /* end confdefs.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:22515: result: yes +configure:22552: checking signal.h usability +configure:22552: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:22552: $? = 0 +configure:22552: result: yes +configure:22552: checking signal.h presence +configure:22552: gcc -E conftest.c +configure:22552: $? = 0 +configure:22552: result: yes +configure:22552: checking for signal.h +configure:22552: result: yes +configure:22562: checking for sig_atomic_t +configure:22562: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:22562: $? = 0 +configure:22562: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:124: error: expected expression before ')' token +configure:22562: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #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:22562: result: yes +configure:22579: checking if sig_atomic_t is already defined as volatile +configure:22599: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:22599: $? = 0 +configure:22601: result: no +configure:22624: checking return type of signal handlers +configure:22641: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:122: error: void value not ignored as it ought to be +configure:22641: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #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:22648: result: void +configure:22661: checking for sys/select.h +configure:22661: result: yes +configure:22661: checking for sys/socket.h +configure:22661: result: yes +configure:22673: checking for select +configure:22725: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:22725: $? = 0 +configure:22727: result: yes +configure:22742: checking types of args and return type for select +configure:22821: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:22821: $? = 0 +configure:22834: result: int,fd_set *,struct timeval *,int +configure:22919: checking for sys/types.h +configure:22919: result: yes +configure:22919: checking for sys/socket.h +configure:22919: result: yes +configure:22931: checking for recv +configure:22969: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:22969: $? = 0 +configure:22971: result: yes +configure:22986: checking types of args and return type for recv +configure:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:159: error: 'SOCKET' undeclared (first use in this function) +conftest.c:159: error: (Each undeclared identifier is reported only once +conftest.c:159: error: for each function it appears in.) +conftest.c:159: error: expected ';' before 's' +conftest.c:163: error: 's' undeclared (first use in this function) +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:154: error: conflicting types for 'recv' +/usr/include/sys/socket.h:620: error: previous declaration of 'recv' was here +configure:23043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_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:23043: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:23043: $? = 0 +configure:23057: result: int,void *,size_t,int,ssize_t +configure:23108: checking for sys/types.h +configure:23108: result: yes +configure:23108: checking for sys/socket.h +configure:23108: result: yes +configure:23120: checking for recvfrom +configure:23158: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:23158: $? = 0 +configure:23160: result: yes +configure:23175: checking types of args and return type for recvfrom +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| size_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| socklen_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(int, void *, +| unsigned int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| size_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| socklen_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, char *, +| unsigned int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| size_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| socklen_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(ssize_t, void *, +| unsigned int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| ssize_t s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| size_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| socklen_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, char *, +| unsigned int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| size_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| socklen_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +conftest.c:176: warning: passing argument 6 of 'recvfrom' from incompatible pointer type +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:162: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:169: error: 'SOCKET' undeclared (first use in this function) +conftest.c:169: error: (Each undeclared identifier is reported only once +conftest.c:169: error: for each function it appears in.) +conftest.c:169: error: expected ';' before 's' +conftest.c:176: error: 's' undeclared (first use in this function) +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern int RECVFROMCALLCONV +| recvfrom(SOCKET, void *, +| unsigned int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| SOCKET s=0; +| void * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| int res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| size_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| size_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| socklen_t, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| socklen_t len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| int flags=0; +| void * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| struct sockaddr *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| struct sockaddr * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, socklen_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| socklen_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, unsigned int *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| unsigned int * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, size_t *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| size_t * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:164: error: conflicting types for 'recvfrom' +/usr/include/sys/socket.h:622: error: previous declaration of 'recvfrom' was here +configure:23239: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 RECVFROMCALLCONV PASCAL +| #else +| #ifdef HAVE_SYS_TYPES_H +| #include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #define RECVFROMCALLCONV +| #endif +| extern ssize_t RECVFROMCALLCONV +| recvfrom(int, char *, +| unsigned int, unsigned int, +| void *, void *); +| +| int main (void) +| { +| +| int s=0; +| char * buf=0; +| unsigned int len=0; +| unsigned int flags=0; +| void * addr=0; +| void * addrlen=0; +| ssize_t res=0; +| res = recvfrom(s, buf, len, flags, addr, addrlen); +| +| ; +| return 0; +| } +| +configure:23239: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:23239: $? = 0 +configure:23255: result: int,void *,size_t,int,struct sockaddr *,socklen_t *,ssize_t +configure:23375: checking for sys/types.h +configure:23375: result: yes +configure:23375: checking for sys/socket.h +configure:23375: result: yes +configure:23387: checking for send +configure:23425: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:23425: $? = 0 +configure:23427: result: yes +configure:23442: checking types of args and return type for send +configure:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'char' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'void' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: expected ')' before 'const' +conftest.c: In function 'main': +conftest.c:179: error: 'SOCKET' undeclared (first use in this function) +conftest.c:179: error: (Each undeclared identifier is reported only once +conftest.c:179: error: for each function it appears in.) +conftest.c:179: error: expected ';' before 's' +conftest.c:182: error: 's' undeclared (first use in this function) +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:174: error: conflicting types for 'send' +/usr/include/sys/socket.h:624: error: previous declaration of 'send' was here +configure:23498: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef WIN32_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:23498: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:23498: $? = 0 +configure:23512: result: int,const void *,size_t,int,ssize_t +configure:23600: checking for sys/types.h +configure:23600: result: yes +configure:23600: checking for sys/socket.h +configure:23600: result: yes +configure:23611: checking for MSG_NOSIGNAL +configure:23653: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:184: error: 'MSG_NOSIGNAL' undeclared (first use in this function) +conftest.c:184: error: (Each undeclared identifier is reported only once +conftest.c:184: error: for each function it appears in.) +configure:23653: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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 +| /* end confdefs.h. */ +| +| +| #undef inline +| #ifdef HAVE_WINDOWS_H +| #ifndef 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 +| #endif +| +| int main (void) +| { +| +| int flag=MSG_NOSIGNAL; +| +| ; +| return 0; +| } +| +configure:23665: result: no +configure:23691: checking for sys/types.h +configure:23691: result: yes +configure:23691: checking for unistd.h +configure:23691: result: yes +configure:23711: checking if alarm can be linked +configure:23740: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:23740: $? = 0 +configure:23742: result: yes +configure:23757: checking if alarm is prototyped +configure:23768: result: yes +configure:23784: checking if alarm is compilable +configure:23803: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:23803: $? = 0 +configure:23805: result: yes +configure:23820: checking if alarm usage allowed +configure:23823: result: yes +configure:23833: checking if alarm might be used +configure:23839: result: yes +configure:23869: checking for sys/types.h +configure:23869: result: yes +configure:23869: checking for string.h +configure:23869: result: yes +configure:23869: checking for strings.h +configure:23869: result: yes +configure:23895: checking for sys/types.h +configure:23895: result: yes +configure:23895: checking for libgen.h +configure:23895: result: yes +configure:23915: checking if basename can be linked +configure:23944: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:23944: $? = 0 +configure:23946: result: yes +configure:23961: checking if basename is prototyped +configure:23974: result: yes +configure:23990: checking if basename is compilable +configure:24011: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:24011: $? = 0 +configure:24013: result: yes +configure:24028: checking if basename usage allowed +configure:24031: result: yes +configure:24041: checking if basename might be used +configure:24047: result: yes +configure:24074: checking for sys/types.h +configure:24074: result: yes +configure:24074: checking for socket.h +configure:24074: result: no +configure:24094: checking if closesocket can be linked +configure:24114: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_closesocket", referenced from: + _main in ccsVmJba.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:24114: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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:24122: result: no +configure:24209: checking if closesocket might be used +configure:24224: result: no +configure:24236: checking if CloseSocket can be linked +configure:24255: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_CloseSocket", referenced from: + _main in ccvlqw7A.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:24255: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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:24263: result: no +configure:24348: checking if CloseSocket might be used +configure:24363: result: no +configure:24375: checking if connect can be linked +configure:24396: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:24396: $? = 0 +configure:24398: result: yes +configure:24413: checking if connect is prototyped +configure:24426: result: yes +configure:24442: checking if connect is compilable +configure:24463: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:24463: $? = 0 +configure:24465: result: yes +configure:24480: checking if connect usage allowed +configure:24483: result: yes +configure:24493: checking if connect might be used +configure:24499: result: yes +configure:24529: checking for sys/types.h +configure:24529: result: yes +configure:24529: checking for unistd.h +configure:24529: result: yes +configure:24529: checking for fcntl.h +configure:24529: result: yes +configure:24549: checking if fcntl can be linked +configure:24578: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:24578: $? = 0 +configure:24580: result: yes +configure:24595: checking if fcntl is prototyped +configure:24606: result: yes +configure:24622: checking if fcntl is compilable +configure:24641: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:24641: $? = 0 +configure:24643: result: yes +configure:24658: checking if fcntl usage allowed +configure:24661: result: yes +configure:24671: checking if fcntl might be used +configure:24677: result: yes +configure:24697: checking if fcntl O_NONBLOCK is compilable +configure:24717: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:24717: $? = 0 +configure:24719: result: yes +configure:24734: checking if fcntl O_NONBLOCK usage allowed +configure:24737: result: yes +configure:24747: checking if fcntl O_NONBLOCK might be used +configure:24751: result: yes +configure:24784: checking for sys/types.h +configure:24784: result: yes +configure:24784: checking for stdio.h +configure:24784: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:24784: $? = 0 +configure:24784: result: yes +configure:24804: checking if fdopen can be linked +configure:24833: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:24833: $? = 0 +configure:24835: result: yes +configure:24850: checking if fdopen is prototyped +configure:24861: result: yes +configure:24877: checking if fdopen is compilable +configure:24896: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:24896: $? = 0 +configure:24898: result: yes +configure:24913: checking if fdopen usage allowed +configure:24916: result: yes +configure:24926: checking if fdopen might be used +configure:24932: result: yes +configure:24959: checking for sys/types.h +configure:24959: result: yes +configure:24959: checking for netdb.h +configure:24959: result: yes +configure:24979: checking if freeaddrinfo can be linked +configure:24999: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:24999: $? = 0 +configure:25001: result: yes +configure:25016: checking if freeaddrinfo is prototyped +configure:25029: result: yes +configure:25045: checking if freeaddrinfo is compilable +configure:25065: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:25065: $? = 0 +configure:25067: result: yes +configure:25082: checking if freeaddrinfo usage allowed +configure:25085: result: yes +configure:25095: checking if freeaddrinfo might be used +configure:25101: result: yes +configure:25134: checking for sys/types.h +configure:25134: result: yes +configure:25134: checking for sys/socket.h +configure:25134: result: yes +configure:25134: checking for netinet/in.h +configure:25134: result: yes +configure:25134: checking for ifaddrs.h +configure:25134: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:25134: $? = 0 +configure:25134: result: yes +configure:25154: checking if freeifaddrs can be linked +configure:25183: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:25183: $? = 0 +configure:25185: result: yes +configure:25200: checking if freeifaddrs is prototyped +configure:25211: result: yes +configure:25227: checking if freeifaddrs is compilable +configure:25245: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:25245: $? = 0 +configure:25247: result: yes +configure:25262: checking if freeifaddrs usage allowed +configure:25265: result: yes +configure:25275: checking if freeifaddrs might be used +configure:25281: result: yes +configure:25302: checking if ftruncate can be linked +configure:25331: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:25331: $? = 0 +configure:25333: result: yes +configure:25348: checking if ftruncate is prototyped +configure:25359: result: yes +configure:25375: checking if ftruncate is compilable +configure:25394: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:25394: $? = 0 +configure:25396: result: yes +configure:25411: checking if ftruncate usage allowed +configure:25414: result: yes +configure:25424: checking if ftruncate might be used +configure:25430: result: yes +configure:25457: checking for sys/types.h +configure:25457: result: yes +configure:25457: checking for stdlib.h +configure:25457: result: yes +configure:25479: checking if getaddrinfo can be linked +configure:25500: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:25500: $? = 0 +configure:25502: result: yes +configure:25517: checking if getaddrinfo is prototyped +configure:25530: result: yes +configure:25546: checking if getaddrinfo is compilable +configure:25567: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:25567: $? = 0 +configure:25569: result: yes +configure:25585: checking if getaddrinfo seems to work +configure:25625: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:25625: $? = 0 +configure:25625: ./conftest +configure:25625: $? = 0 +configure:25627: result: yes +configure:25646: checking if getaddrinfo usage allowed +configure:25649: result: yes +configure:25659: checking if getaddrinfo might be used +configure:25666: result: yes +configure:25682: checking if getaddrinfo is threadsafe +configure:25769: result: yes +configure:25790: checking if gethostbyaddr can be linked +configure:25810: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:25810: $? = 0 +configure:25812: result: yes +configure:25827: checking if gethostbyaddr is prototyped +configure:25839: result: yes +configure:25855: checking if gethostbyaddr is compilable +configure:25875: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:25875: $? = 0 +configure:25877: result: yes +configure:25892: checking if gethostbyaddr usage allowed +configure:25895: result: yes +configure:25905: checking if gethostbyaddr might be used +configure:25911: result: yes +configure:25933: checking if gethostbyaddr_r can be linked +configure:25962: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_gethostbyaddr_r", referenced from: + _main in ccdVwDtU.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:25962: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| /* end confdefs.h. */ +| +| +| #define gethostbyaddr_r innocuous_gethostbyaddr_r +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| #undef gethostbyaddr_r +| #ifdef __cplusplus +| extern "C" +| #endif +| char gethostbyaddr_r (); +| #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r +| choke me +| #endif +| +| int main (void) +| { +| return gethostbyaddr_r (); +| ; +| return 0; +| } +| +configure:25970: result: no +configure:26139: checking if gethostbyaddr_r might be used +configure:26169: result: no +configure:26181: checking if gethostbyname can be linked +configure:26201: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:26201: $? = 0 +configure:26203: result: yes +configure:26218: checking if gethostbyname is prototyped +configure:26230: result: yes +configure:26246: checking if gethostbyname is compilable +configure:26266: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:26266: $? = 0 +configure:26268: result: yes +configure:26283: checking if gethostbyname usage allowed +configure:26286: result: yes +configure:26296: checking if gethostbyname might be used +configure:26302: result: yes +configure:26324: checking if gethostbyname_r can be linked +configure:26353: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_gethostbyname_r", referenced from: + _main in ccPra1h2.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:26353: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| /* end confdefs.h. */ +| +| +| #define gethostbyname_r innocuous_gethostbyname_r +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| #undef gethostbyname_r +| #ifdef __cplusplus +| extern "C" +| #endif +| char gethostbyname_r (); +| #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r +| choke me +| #endif +| +| int main (void) +| { +| return gethostbyname_r (); +| ; +| return 0; +| } +| +configure:26361: result: no +configure:26530: checking if gethostbyname_r might be used +configure:26560: result: no +configure:26572: checking if gethostname can be linked +configure:26592: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:26592: $? = 0 +configure:26594: result: yes +configure:26609: checking if gethostname is prototyped +configure:26621: result: yes +configure:26637: checking if gethostname is compilable +configure:26657: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:26657: $? = 0 +configure:26659: result: yes +configure:26674: checking if gethostname usage allowed +configure:26677: result: yes +configure:26687: checking if gethostname might be used +configure:26693: result: yes +configure:26715: checking if getifaddrs can be linked +configure:26744: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:26744: $? = 0 +configure:26746: result: yes +configure:26761: checking if getifaddrs is prototyped +configure:26772: result: yes +configure:26788: checking if getifaddrs is compilable +configure:26807: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:26807: $? = 0 +configure:26809: result: yes +configure:26825: checking if getifaddrs seems to work +configure:26857: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:26857: $? = 0 +configure:26857: ./conftest +configure:26857: $? = 0 +configure:26859: result: yes +configure:26878: checking if getifaddrs usage allowed +configure:26881: result: yes +configure:26891: checking if getifaddrs might be used +configure:26898: result: yes +configure:26920: checking if getservbyport_r can be linked +configure:26949: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_getservbyport_r", referenced from: + _main in ccsUhmwo.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:26949: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| /* end confdefs.h. */ +| +| +| #define getservbyport_r innocuous_getservbyport_r +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| #undef getservbyport_r +| #ifdef __cplusplus +| extern "C" +| #endif +| char getservbyport_r (); +| #if defined __stub_getservbyport_r || defined __stub___getservbyport_r +| choke me +| #endif +| +| int main (void) +| { +| return getservbyport_r (); +| ; +| return 0; +| } +| +configure:26957: result: no +configure:27126: checking if getservbyport_r might be used +configure:27155: result: no +configure:27180: checking for sys/types.h +configure:27180: result: yes +configure:27180: checking for sys/time.h +configure:27180: result: yes +configure:27180: checking for time.h +configure:27180: result: yes +configure:27201: checking if gmtime_r can be linked +configure:27230: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:27230: $? = 0 +configure:27232: result: yes +configure:27247: checking if gmtime_r is prototyped +configure:27258: result: yes +configure:27274: checking if gmtime_r is compilable +configure:27293: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:27293: $? = 0 +configure:27295: result: yes +configure:27311: checking if gmtime_r seems to work +configure:27343: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:27343: $? = 0 +configure:27343: ./conftest +configure:27343: $? = 0 +configure:27345: result: yes +configure:27364: checking if gmtime_r usage allowed +configure:27367: result: yes +configure:27377: checking if gmtime_r might be used +configure:27384: result: yes +configure:27417: checking for sys/types.h +configure:27417: result: yes +configure:27417: checking for sys/socket.h +configure:27417: result: yes +configure:27417: checking for netinet/in.h +configure:27417: result: yes +configure:27417: checking for arpa/inet.h +configure:27417: result: yes +configure:27438: checking if inet_ntoa_r can be linked +configure:27467: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_inet_ntoa_r", referenced from: + _main in cc3X5E5E.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:27467: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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:27475: result: no +configure:27610: checking if inet_ntoa_r might be used +configure:27636: result: no +configure:27649: checking if inet_ntop can be linked +configure:27678: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:27678: $? = 0 +configure:27680: result: yes +configure:27695: checking if inet_ntop is prototyped +configure:27706: result: yes +configure:27722: checking if inet_ntop is compilable +configure:27741: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:27741: $? = 0 +configure:27743: result: yes +configure:27759: checking if inet_ntop seems to work +configure:27833: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:254: warning: assignment discards qualifiers from pointer target type +conftest.c:278: warning: assignment discards qualifiers from pointer target type +configure:27833: $? = 0 +configure:27833: ./conftest +configure:27833: $? = 0 +configure:27835: result: yes +configure:27854: checking if inet_ntop usage allowed +configure:27857: result: yes +configure:27867: checking if inet_ntop might be used +configure:27874: result: yes +configure:27896: checking if inet_pton can be linked +configure:27925: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:27925: $? = 0 +configure:27927: result: yes +configure:27942: checking if inet_pton is prototyped +configure:27953: result: yes +configure:27969: checking if inet_pton is compilable +configure:27988: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:27988: $? = 0 +configure:27990: result: yes +configure:28006: checking if inet_pton seems to work +configure:28073: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:28073: $? = 0 +configure:28073: ./conftest +configure:28073: $? = 0 +configure:28075: result: yes +configure:28094: checking if inet_pton usage allowed +configure:28097: result: yes +configure:28107: checking if inet_pton might be used +configure:28114: result: yes +configure:28150: checking for sys/types.h +configure:28150: result: yes +configure:28150: checking for unistd.h +configure:28150: result: yes +configure:28150: checking for sys/socket.h +configure:28150: result: yes +configure:28150: checking for sys/ioctl.h +configure:28150: result: yes +configure:28150: checking for stropts.h +configure:28150: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:225:21: error: stropts.h: No such file or directory +configure:28150: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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 +| /* end confdefs.h. */ +| /* includes start */ +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #ifdef HAVE_SYS_SOCKET_H +| # include +| #endif +| #ifdef HAVE_SYS_IOCTL_H +| # include +| #endif +| #ifdef HAVE_STROPTS_H +| # include +| #endif +| /* includes end */ +| +| #include +configure:28150: result: no +configure:28170: checking if ioctl can be linked +configure:28199: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:28199: $? = 0 +configure:28201: result: yes +configure:28216: checking if ioctl is prototyped +configure:28227: result: yes +configure:28243: checking if ioctl is compilable +configure:28262: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:28262: $? = 0 +configure:28264: result: yes +configure:28279: checking if ioctl usage allowed +configure:28282: result: yes +configure:28292: checking if ioctl might be used +configure:28298: result: yes +configure:28312: checking if ioctl FIONBIO is compilable +configure:28332: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:28332: $? = 0 +configure:28334: result: yes +configure:28349: checking if ioctl FIONBIO usage allowed +configure:28352: result: yes +configure:28362: checking if ioctl FIONBIO might be used +configure:28366: result: yes +configure:28386: checking if ioctl SIOCGIFADDR is compilable +configure:28407: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:28407: $? = 0 +configure:28409: result: yes +configure:28424: checking if ioctl SIOCGIFADDR usage allowed +configure:28427: result: yes +configure:28437: checking if ioctl SIOCGIFADDR might be used +configure:28441: result: yes +configure:28468: checking if ioctlsocket can be linked +configure:28487: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_ioctlsocket", referenced from: + _main in ccgqtAgv.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:28487: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_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:28495: result: no +configure:28580: checking if ioctlsocket might be used +configure:28669: result: no +configure:28681: checking if IoctlSocket can be linked +configure:28710: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_IoctlSocket", referenced from: + _main in ccueYCL7.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:28710: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_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:28718: result: no +configure:28803: checking if IoctlSocket might be used +configure:28892: result: no +configure:28905: checking if localtime_r can be linked +configure:28934: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:28934: $? = 0 +configure:28936: result: yes +configure:28951: checking if localtime_r is prototyped +configure:28962: result: yes +configure:28978: checking if localtime_r is compilable +configure:28997: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:28997: $? = 0 +configure:28999: result: yes +configure:29015: checking if localtime_r seems to work +configure:29047: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:29047: $? = 0 +configure:29047: ./conftest +configure:29047: $? = 0 +configure:29049: result: yes +configure:29068: checking if localtime_r usage allowed +configure:29071: result: yes +configure:29081: checking if localtime_r might be used +configure:29088: result: yes +configure:29110: checking if memrchr can be linked +configure:29139: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_memrchr", referenced from: + _main in cczTArfD.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:29139: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| /* end confdefs.h. */ +| +| +| #define memrchr innocuous_memrchr +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| #undef memrchr +| #ifdef __cplusplus +| extern "C" +| #endif +| char memrchr (); +| #if defined __stub_memrchr || defined __stub___memrchr +| choke me +| #endif +| +| int main (void) +| { +| return memrchr (); +| ; +| return 0; +| } +| +configure:29147: result: no +configure:29156: checking if memrchr seems a macro +configure:29175: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_memrchr", referenced from: + _main in ccsJNqaT.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:29175: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 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 */ +| +| int main (void) +| { +| +| if(0 != memrchr(0, 0, 0)) +| return 1; +| +| ; +| return 0; +| } +| +configure:29183: result: no +configure:29270: checking if memrchr might be used +configure:29285: result: no +configure:29306: checking for sys/types.h +configure:29306: result: yes +configure:29306: checking for poll.h +configure:29306: result: yes +configure:29306: checking for sys/poll.h +configure:29306: result: yes +configure:29333: checking if poll can be linked +configure:29352: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:29352: $? = 0 +configure:29354: result: yes +configure:29369: checking if poll is prototyped +configure:29380: result: yes +configure:29396: checking if poll is compilable +configure:29415: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:29415: $? = 0 +configure:29417: result: yes +configure:29433: checking if poll seems to work +configure:29461: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:29461: $? = 0 +configure:29461: ./conftest +configure:29461: $? = 0 +configure:29463: result: yes +configure:29482: checking if poll usage allowed +configure:29489: result: no +configure:29495: checking if poll might be used +configure:29516: result: no +configure:29528: checking if setsockopt can be linked +configure:29548: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:29548: $? = 0 +configure:29550: result: yes +configure:29565: checking if setsockopt is prototyped +configure:29577: result: yes +configure:29593: checking if setsockopt is compilable +configure:29613: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:29613: $? = 0 +configure:29615: result: yes +configure:29630: checking if setsockopt usage allowed +configure:29633: result: yes +configure:29643: checking if setsockopt might be used +configure:29649: result: yes +configure:29663: checking if setsockopt SO_NONBLOCK is compilable +configure:29683: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:244: error: 'SO_NONBLOCK' undeclared (first use in this function) +conftest.c:244: error: (Each undeclared identifier is reported only once +conftest.c:244: error: for each function it appears in.) +configure:29683: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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:29691: result: no +configure:29713: checking if setsockopt SO_NONBLOCK might be used +configure:29726: result: no +configure:29750: checking for sys/types.h +configure:29750: result: yes +configure:29750: checking for signal.h +configure:29750: result: yes +configure:29770: checking if sigaction can be linked +configure:29799: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:29799: $? = 0 +configure:29801: result: yes +configure:29816: checking if sigaction is prototyped +configure:29827: result: yes +configure:29843: checking if sigaction is compilable +configure:29862: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:29862: $? = 0 +configure:29864: result: yes +configure:29879: checking if sigaction usage allowed +configure:29882: result: yes +configure:29892: checking if sigaction might be used +configure:29898: result: yes +configure:29919: checking if siginterrupt can be linked +configure:29948: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:29948: $? = 0 +configure:29950: result: yes +configure:29965: checking if siginterrupt is prototyped +configure:29976: result: yes +configure:29992: checking if siginterrupt is compilable +configure:30011: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:30011: $? = 0 +configure:30013: result: yes +configure:30028: checking if siginterrupt usage allowed +configure:30031: result: yes +configure:30041: checking if siginterrupt might be used +configure:30047: result: yes +configure:30068: checking if signal can be linked +configure:30097: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:30097: $? = 0 +configure:30099: result: yes +configure:30114: checking if signal is prototyped +configure:30125: result: yes +configure:30141: checking if signal is compilable +configure:30160: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:30160: $? = 0 +configure:30162: result: yes +configure:30177: checking if signal usage allowed +configure:30180: result: yes +configure:30190: checking if signal might be used +configure:30196: result: yes +configure:30223: checking for sys/types.h +configure:30223: result: yes +configure:30223: checking for setjmp.h +configure:30223: result: yes +configure:30244: checking if sigsetjmp can be linked +configure:30273: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:30273: $? = 0 +configure:30275: result: yes +configure:30328: checking if sigsetjmp is prototyped +configure:30339: result: yes +configure:30356: checking if sigsetjmp is compilable +configure:30376: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:30376: $? = 0 +configure:30378: result: yes +configure:30393: checking if sigsetjmp usage allowed +configure:30396: result: yes +configure:30406: checking if sigsetjmp might be used +configure:30412: result: yes +configure:30433: checking if socket can be linked +configure:30454: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:30454: $? = 0 +configure:30456: result: yes +configure:30471: checking if socket is prototyped +configure:30484: result: yes +configure:30500: checking if socket is compilable +configure:30521: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:30521: $? = 0 +configure:30523: result: yes +configure:30538: checking if socket usage allowed +configure:30541: result: yes +configure:30551: checking if socket might be used +configure:30557: result: yes +configure:30578: checking if strcasecmp can be linked +configure:30607: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c:236: warning: conflicting types for built-in function 'strcasecmp' +configure:30607: $? = 0 +configure:30609: result: yes +configure:30624: checking if strcasecmp is prototyped +configure:30635: result: yes +configure:30651: checking if strcasecmp is compilable +configure:30670: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:30670: $? = 0 +configure:30672: result: yes +configure:30687: checking if strcasecmp usage allowed +configure:30690: result: yes +configure:30700: checking if strcasecmp might be used +configure:30706: result: yes +configure:30727: checking if strcasestr can be linked +configure:30756: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:30756: $? = 0 +configure:30758: result: yes +configure:30773: checking if strcasestr is prototyped +configure:30784: result: yes +configure:30800: checking if strcasestr is compilable +configure:30819: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:30819: $? = 0 +configure:30821: result: yes +configure:30836: checking if strcasestr usage allowed +configure:30839: result: yes +configure:30849: checking if strcasestr might be used +configure:30855: result: yes +configure:30876: checking if strcmpi can be linked +configure:30905: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_strcmpi", referenced from: + _main in cc22v6Ng.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:30905: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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:30913: result: no +configure:30998: checking if strcmpi might be used +configure:31013: result: no +configure:31025: checking if strdup can be linked +configure:31054: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c:238: warning: conflicting types for built-in function 'strdup' +configure:31054: $? = 0 +configure:31056: result: yes +configure:31071: checking if strdup is prototyped +configure:31082: result: yes +configure:31098: checking if strdup is compilable +configure:31117: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:31117: $? = 0 +configure:31119: result: yes +configure:31134: checking if strdup usage allowed +configure:31137: result: yes +configure:31147: checking if strdup might be used +configure:31153: result: yes +configure:31180: checking if strerror_r can be linked +configure:31209: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:31209: $? = 0 +configure:31211: result: yes +configure:31226: checking if strerror_r is prototyped +configure:31237: result: yes +configure:31253: checking if strerror_r is compilable +configure:31272: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:31272: $? = 0 +configure:31274: result: yes +configure:31289: checking if strerror_r is glibc like +configure:31312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:244: error: conflicting types for 'strerror_r' +/usr/include/string.h:126: error: previous declaration of 'strerror_r' was here +configure:31312: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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 */ +| +| int main (void) +| { +| +| char *strerror_r(int errnum, char *workbuf, size_t bufsize); +| if(0 != strerror_r(0, 0, 0)) +| return 1; +| +| ; +| return 0; +| } +| +configure:31312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:244: error: conflicting types for 'strerror_r' +/usr/include/string.h:126: error: previous declaration of 'strerror_r' was here +configure:31312: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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 */ +| +| int main (void) +| { +| +| char *strerror_r(int errnum, char *workbuf, int bufsize); +| if(0 != strerror_r(0, 0, 0)) +| return 1; +| +| ; +| return 0; +| } +| +configure:31312: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c: In function 'main': +conftest.c:244: error: conflicting types for 'strerror_r' +/usr/include/string.h:126: error: previous declaration of 'strerror_r' was here +configure:31312: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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 */ +| +| int main (void) +| { +| +| char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); +| if(0 != strerror_r(0, 0, 0)) +| return 1; +| +| ; +| return 0; +| } +| +configure:31322: result: no +configure:31392: checking if strerror_r is POSIX like +configure:31415: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:31415: $? = 0 +configure:31430: result: yes +configure:31439: checking if strerror_r seems to work +configure:31474: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:31474: $? = 0 +configure:31474: ./conftest +configure:31474: $? = 0 +configure:31476: result: yes +configure:31510: checking if strerror_r usage allowed +configure:31513: result: yes +configure:31523: checking if strerror_r might be used +configure:31529: result: yes +configure:31586: checking if stricmp can be linked +configure:31615: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_stricmp", referenced from: + _main in ccjGyUH4.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:31615: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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:31623: result: no +configure:31708: checking if stricmp might be used +configure:31723: result: no +configure:31735: checking if strlcat can be linked +configure:31764: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:31764: $? = 0 +configure:31766: result: yes +configure:31781: checking if strlcat is prototyped +configure:31792: result: yes +configure:31808: checking if strlcat is compilable +configure:31827: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:31827: $? = 0 +configure:31829: result: yes +configure:31844: checking if strlcat usage allowed +configure:31847: result: yes +configure:31857: checking if strlcat might be used +configure:31863: result: yes +configure:31884: checking if strncasecmp can be linked +configure:31913: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c:243: warning: conflicting types for built-in function 'strncasecmp' +configure:31913: $? = 0 +configure:31915: result: yes +configure:31930: checking if strncasecmp is prototyped +configure:31941: result: yes +configure:31957: checking if strncasecmp is compilable +configure:31976: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:31976: $? = 0 +configure:31978: result: yes +configure:31993: checking if strncasecmp usage allowed +configure:31996: result: yes +configure:32006: checking if strncasecmp might be used +configure:32012: result: yes +configure:32033: checking if strncmpi can be linked +configure:32062: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_strncmpi", referenced from: + _main in cc20FX15.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:32062: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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:32070: result: no +configure:32155: checking if strncmpi might be used +configure:32170: result: no +configure:32182: checking if strnicmp can be linked +configure:32211: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_strnicmp", referenced from: + _main in ccjBELBm.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:32211: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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:32219: result: no +configure:32304: checking if strnicmp might be used +configure:32319: result: no +configure:32331: checking if strstr can be linked +configure:32360: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c:244: warning: conflicting types for built-in function 'strstr' +configure:32360: $? = 0 +configure:32362: result: yes +configure:32377: checking if strstr is prototyped +configure:32388: result: yes +configure:32404: checking if strstr is compilable +configure:32423: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:32423: $? = 0 +configure:32425: result: yes +configure:32440: checking if strstr usage allowed +configure:32443: result: yes +configure:32453: checking if strstr might be used +configure:32459: result: yes +configure:32480: checking if strtok_r can be linked +configure:32509: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32509: $? = 0 +configure:32511: result: yes +configure:32526: checking if strtok_r is prototyped +configure:32537: result: yes +configure:32553: checking if strtok_r is compilable +configure:32572: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:32572: $? = 0 +configure:32574: result: yes +configure:32589: checking if strtok_r usage allowed +configure:32592: result: yes +configure:32602: checking if strtok_r might be used +configure:32608: result: yes +configure:32629: checking if strtoll can be linked +configure:32658: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32658: $? = 0 +configure:32660: result: yes +configure:32675: checking if strtoll is prototyped +configure:32686: result: yes +configure:32702: checking if strtoll is compilable +configure:32721: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:32721: $? = 0 +configure:32723: result: yes +configure:32738: checking if strtoll usage allowed +configure:32741: result: yes +configure:32751: checking if strtoll might be used +configure:32757: result: yes +configure:32784: checking for sys/types.h +configure:32784: result: yes +configure:32784: checking for sys/uio.h +configure:32784: result: yes +configure:32804: checking if writev can be linked +configure:32833: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32833: $? = 0 +configure:32835: result: yes +configure:32850: checking if writev is prototyped +configure:32861: result: yes +configure:32877: checking if writev is compilable +configure:32896: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:32896: $? = 0 +configure:32898: result: yes +configure:32913: checking if writev usage allowed +configure:32916: result: yes +configure:32926: checking if writev might be used +configure:32932: result: yes +configure:32976: checking for fork +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +conftest.c:249: warning: conflicting types for built-in function 'fork' +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for geteuid +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for getpass_r +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_getpass_r", referenced from: + _main in ccGaHJnO.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:32976: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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:32976: result: no +configure:32989: checking deeper for getpass_r +configure:33006: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +Undefined symbols for architecture i386: + "_getpass_r", referenced from: + _main in ccEMyOwr.o +ld: symbol(s) not found for architecture i386 +collect2: ld returned 1 exit status +configure:33006: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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:33019: result: but still no +configure:32976: checking for getppid +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for getprotobyname +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for getpwuid +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for getrlimit +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for gettimeofday +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for inet_addr +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for perror +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for pipe +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for setlocale +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for setmode +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for setrlimit +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for uname +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:32976: checking for utime +configure:32976: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:32976: $? = 0 +configure:32976: result: yes +configure:33035: checking for sys/types.h +configure:33035: result: yes +configure:33035: checking for sys/socket.h +configure:33035: result: yes +configure:33035: checking for netdb.h +configure:33035: result: yes +configure:33047: checking for getnameinfo +configure:33076: gcc -o conftest -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers -arch i386 -m32 -mmacosx-version-min=10.4 conftest.c >&5 +configure:33076: $? = 0 +configure:33078: result: yes +configure:33186: checking types of arguments for getnameinfo +configure:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:288: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:289: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +conftest.c: In function 'main': +conftest.c:296: error: 'DWORD' undeclared (first use in this function) +conftest.c:296: error: (Each undeclared identifier is reported only once +conftest.c:296: error: for each function it appears in.) +conftest.c:296: error: expected ';' before 'hostlen' +conftest.c:297: error: expected ';' before 'servlen' +conftest.c:299: error: 'hostlen' undeclared (first use in this function) +conftest.c:299: error: 'servlen' undeclared (first use in this function) +conftest.c:299: error: too many arguments to function 'getnameinfo' +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:288: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:289: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +conftest.c: In function 'main': +conftest.c:296: error: 'DWORD' undeclared (first use in this function) +conftest.c:296: error: (Each undeclared identifier is reported only once +conftest.c:296: error: for each function it appears in.) +conftest.c:296: error: expected ';' before 'hostlen' +conftest.c:297: error: expected ';' before 'servlen' +conftest.c:299: error: 'hostlen' undeclared (first use in this function) +conftest.c:299: error: 'servlen' undeclared (first use in this function) +conftest.c:299: error: too many arguments to function 'getnameinfo' +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:288: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:289: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +conftest.c: In function 'main': +conftest.c:296: error: 'DWORD' undeclared (first use in this function) +conftest.c:296: error: (Each undeclared identifier is reported only once +conftest.c:296: error: for each function it appears in.) +conftest.c:296: error: expected ';' before 'hostlen' +conftest.c:297: error: expected ';' before 'servlen' +conftest.c:299: error: 'hostlen' undeclared (first use in this function) +conftest.c:299: error: 'servlen' undeclared (first use in this function) +conftest.c:299: error: too many arguments to function 'getnameinfo' +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:288: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:289: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +conftest.c: In function 'main': +conftest.c:296: error: 'DWORD' undeclared (first use in this function) +conftest.c:296: error: (Each undeclared identifier is reported only once +conftest.c:296: error: for each function it appears in.) +conftest.c:296: error: expected ';' before 'hostlen' +conftest.c:297: error: expected ';' before 'servlen' +conftest.c:299: error: 'hostlen' undeclared (first use in this function) +conftest.c:299: error: 'servlen' undeclared (first use in this function) +conftest.c:299: error: too many arguments to function 'getnameinfo' +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:288: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:289: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +conftest.c: In function 'main': +conftest.c:296: error: 'DWORD' undeclared (first use in this function) +conftest.c:296: error: (Each undeclared identifier is reported only once +conftest.c:296: error: for each function it appears in.) +conftest.c:296: error: expected ';' before 'hostlen' +conftest.c:297: error: expected ';' before 'servlen' +conftest.c:299: error: 'hostlen' undeclared (first use in this function) +conftest.c:299: error: 'servlen' undeclared (first use in this function) +conftest.c:299: error: too many arguments to function 'getnameinfo' +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:288: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:289: error: expected declaration specifiers or '...' before 'DWORD' +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +conftest.c: In function 'main': +conftest.c:296: error: 'DWORD' undeclared (first use in this function) +conftest.c:296: error: (Each undeclared identifier is reported only once +conftest.c:296: error: for each function it appears in.) +conftest.c:296: error: expected ';' before 'hostlen' +conftest.c:297: error: expected ';' before 'servlen' +conftest.c:299: error: 'hostlen' undeclared (first use in this function) +conftest.c:299: error: 'servlen' undeclared (first use in this function) +conftest.c:299: error: too many arguments to function 'getnameinfo' +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +conftest.c:290: error: conflicting types for 'getnameinfo' +/usr/include/netdb.h:281: error: previous declaration of 'getnameinfo' was here +configure:33250: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "curl" +| #define PACKAGE_TARNAME "curl" +| #define PACKAGE_VERSION "-" +| #define PACKAGE_STRING "curl -" +| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" +| #define PACKAGE_URL "" +| #define PACKAGE "curl" +| #define VERSION "7.20.1" +| #define OS "x86_64-apple-darwin12.5.0" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_INTTYPES_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define SIZEOF_LONG 4 +| #define SIZEOF_VOIDP 4 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_STDINT_H 1 +| #define CURL_PULL_INTTYPES_H 1 +| #define CURL_TYPEOF_CURL_OFF_T int64_t +| #define CURL_FORMAT_CURL_OFF_T "lld" +| #define CURL_FORMAT_CURL_OFF_TU "llu" +| #define CURL_FORMAT_OFF_T "%lld" +| #define CURL_SIZEOF_CURL_OFF_T 8 +| #define CURL_SUFFIX_CURL_OFF_T LL +| #define CURL_SUFFIX_CURL_OFF_TU ULL +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define CURL_DISABLE_FTP 1 +| #define CURL_DISABLE_FILE 1 +| #define CURL_DISABLE_LDAP 1 +| #define CURL_DISABLE_LDAPS 1 +| #define CURL_DISABLE_PROXY 1 +| #define CURL_DISABLE_DICT 1 +| #define CURL_DISABLE_TELNET 1 +| #define CURL_DISABLE_TFTP 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_WRITABLE_ARGV 1 +| #define STDC_HEADERS 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_UIO_H 1 +| #define HAVE_ASSERT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_ARPA_INET_H 1 +| #define HAVE_NET_IF_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_SYS_UN_H 1 +| #define HAVE_NETINET_TCP_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKIO_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_ALLOCA_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_SYS_POLL_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_LIBGEN_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_STDBOOL_H 1 +| #define HAVE_ARPA_TFTP_H 1 +| #define HAVE_SYS_FILIO_H 1 +| #define HAVE_SETJMP_H 1 +| #define HAVE_VARIADIC_MACROS_C99 1 +| #define HAVE_VARIADIC_MACROS_GCC 1 +| #define TIME_WITH_SYS_TIME 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_STRUCT_TIMEVAL 1 +| #define SIZEOF_SIZE_T 4 +| #define SIZEOF_LONG 4 +| #define SIZEOF_INT 4 +| #define SIZEOF_SHORT 2 +| #define CURL_SIZEOF_LONG 4 +| #define SIZEOF_TIME_T 4 +| #define SIZEOF_OFF_T 8 +| #define HAVE_LONGLONG 1 +| #define HAVE_LL 1 +| #define HAVE_BOOL_T 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define CURL_PULL_SYS_TYPES_H 1 +| #define CURL_PULL_SYS_SOCKET_H 1 +| #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +| #define CURL_SIZEOF_CURL_SOCKLEN_T 4 +| #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_SIG_ATOMIC_T 1 +| #define RETSIGTYPE void +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define SELECT_TYPE_ARG1 int +| #define SELECT_TYPE_ARG234 fd_set * +| #define SELECT_TYPE_RETV int +| #define SELECT_QUAL_ARG5 +| #define SELECT_TYPE_ARG5 struct timeval * +| #define HAVE_SELECT 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define RECV_TYPE_ARG1 int +| #define RECV_TYPE_ARG2 void * +| #define RECV_TYPE_ARG3 size_t +| #define RECV_TYPE_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 HAVE_RECVFROM 1 +| #define RECVFROM_TYPE_ARG1 int +| #define RECVFROM_TYPE_ARG3 size_t +| #define RECVFROM_TYPE_ARG4 int +| #define RECVFROM_TYPE_RETV ssize_t +| #define RECVFROM_TYPE_ARG2 void +| #define RECVFROM_TYPE_ARG5 struct sockaddr +| #define RECVFROM_TYPE_ARG6 socklen_t +| #define RECVFROM_TYPE_ARG2_IS_VOID 1 +| #define HAVE_RECVFROM 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_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_FTRUNCATE 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_GETADDRINFO 1 +| #define HAVE_GETADDRINFO_THREADSAFE 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_GETIFADDRS 1 +| #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_IOCTL 1 +| #define HAVE_IOCTL_FIONBIO 1 +| #define HAVE_IOCTL_SIOCGIFADDR 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_POLL_H 1 +| #define HAVE_SYS_POLL_H 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_STRCASECMP 1 +| #define HAVE_STRCASESTR 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_STRLCAT 1 +| #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_GETRLIMIT 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_INET_ADDR 1 +| #define HAVE_PERROR 1 +| #define HAVE_PIPE 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_SETMODE 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:33250: gcc -c -arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers conftest.c >&5 +configure:33250: $? = 0 +configure:33263: result: const struct sockaddr *,socklen_t,socklen_t,int +configure:33504: checking whether to enable non-blocking communications +configure:33523: result: yes +configure:33530: checking how to set a socket into non-blocking mode +configure:33543: result: fcntl O_NONBLOCK +configure:33564: checking for perl +configure:33583: found /usr/bin/perl +configure:33595: result: /usr/bin/perl +configure:33609: checking for gnroff +configure:33643: result: no +configure:33609: checking for nroff +configure:33628: found /usr/bin/nroff +configure:33640: result: /usr/bin/nroff +configure:33655: checking how to use *nroff to get plain text from man pages +configure:33673: result: -man +configure:33807: checking whether to enable verbose strings +configure:33825: result: yes +configure:33831: checking whether to enable SSPI support (Windows native builds only) +configure:33854: result: no +configure:33865: checking whether to enable cryptographic authentication methods +configure:33871: result: no +configure:33888: checking whether to enable support for cookies +configure:33905: result: yes +configure:33911: checking whether to enable hidden symbols in the library +configure:33959: result: no +configure:33966: checking whether to enforce SONAME bump +configure:33981: result: no +configure:34288: creating ./config.status + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by curl config.status -, which was +generated by GNU Autoconf 2.65. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status + +on munch.local + +config.status:1391: creating Makefile +config.status:1391: creating docs/Makefile +config.status:1391: creating docs/examples/Makefile +config.status:1391: creating docs/libcurl/Makefile +config.status:1391: creating include/Makefile +config.status:1391: creating include/curl/Makefile +config.status:1391: creating src/Makefile +config.status:1391: creating lib/Makefile +config.status:1391: creating tests/Makefile +config.status:1391: creating tests/data/Makefile +config.status:1391: creating tests/server/Makefile +config.status:1391: creating tests/libtest/Makefile +config.status:1391: creating packages/Makefile +config.status:1391: creating packages/Win32/Makefile +config.status:1391: creating packages/Win32/cygwin/Makefile +config.status:1391: creating packages/Linux/Makefile +config.status:1391: creating packages/Linux/RPM/Makefile +config.status:1391: creating packages/Linux/RPM/curl.spec +config.status:1391: creating packages/Linux/RPM/curl-ssl.spec +config.status:1391: creating packages/Solaris/Makefile +config.status:1391: creating packages/EPM/curl.list +config.status:1391: creating packages/EPM/Makefile +config.status:1391: creating packages/vms/Makefile +config.status:1391: creating packages/AIX/Makefile +config.status:1391: creating packages/AIX/RPM/Makefile +config.status:1391: creating packages/AIX/RPM/curl.spec +config.status:1391: creating curl-config +config.status:1391: creating libcurl.pc +config.status:1391: creating lib/curl_config.h +config.status:1557: lib/curl_config.h is unchanged +config.status:1391: creating src/curl_config.h +config.status:1557: src/curl_config.h is unchanged +config.status:1391: creating include/curl/curlbuild.h +config.status:1604: executing depfiles commands +config.status:1604: executing libtool commands +configure:36670: Configured to build curl/libcurl: + + curl version: 7.20.1 + Host setup: x86_64-apple-darwin12.5.0 + Install prefix: /iraf/iraf/vendor/voclient + Compiler: gcc + SSL support: no (--with-ssl / --with-gnutls / --with-nss) + SSH support: no (--with-libssh2) + zlib support: no (--with-zlib) + krb4 support: no (--with-krb4*) + GSSAPI support: no (--with-gssapi) + SPNEGO support: no (--with-spnego) + c-ares support: no (--enable-ares) + ipv6 support: no (--enable-ipv6) + IDN support: no (--with-libidn) + Build libcurl: Shared=no, Static=yes + Built-in manual: no (--enable-manual) + Verbose errors: enabled (--disable-verbose) + SSPI support: no (--enable-sspi) + ca cert bundle: no + ca cert path: no + LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) + LDAPS support: no (--enable-ldaps) + RTSP support: enabled + Protocols: HTTP IMAP POP3 RTSP SMTP + + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv_build=x86_64-apple-darwin12.5.0 +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=gcc +ac_cv_env_CFLAGS_set=set +ac_cv_env_CFLAGS_value='-arch i386 -m32 -mmacosx-version-min=10.4' +ac_cv_env_CPPFLAGS_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='-arch i386 -m32 -mmacosx-version-min=10.4' +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= +ac_cv_env_build_alias_set=set +ac_cv_env_build_alias_value= +ac_cv_env_host_alias_set=set +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set=set +ac_cv_env_target_alias_value= +ac_cv_func_alarm=yes +ac_cv_func_basename=yes +ac_cv_func_clock_gettime=no +ac_cv_func_closesocket=no +ac_cv_func_closesocket_camel=no +ac_cv_func_connect=yes +ac_cv_func_fcntl=yes +ac_cv_func_fcntl_o_nonblock=yes +ac_cv_func_fdopen=yes +ac_cv_func_fork=yes +ac_cv_func_freeaddrinfo=yes +ac_cv_func_freeifaddrs=yes +ac_cv_func_ftruncate=yes +ac_cv_func_getaddrinfo=yes +ac_cv_func_getaddrinfo_threadsafe=yes +ac_cv_func_geteuid=yes +ac_cv_func_gethostbyaddr=yes +ac_cv_func_gethostbyaddr_r=no +ac_cv_func_gethostbyname=yes +ac_cv_func_gethostbyname_r=no +ac_cv_func_gethostname=yes +ac_cv_func_getifaddrs=yes +ac_cv_func_getnameinfo=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_getrlimit=yes +ac_cv_func_getservbyport_r=no +ac_cv_func_gettimeofday=yes +ac_cv_func_gmtime_r=yes +ac_cv_func_inet_addr=yes +ac_cv_func_inet_ntoa_r=no +ac_cv_func_inet_ntop=yes +ac_cv_func_inet_pton=yes +ac_cv_func_ioctl=yes +ac_cv_func_ioctl_fionbio=yes +ac_cv_func_ioctl_siocgifaddr=yes +ac_cv_func_ioctlsocket=no +ac_cv_func_ioctlsocket_camel=no +ac_cv_func_localtime_r=yes +ac_cv_func_memrchr=no +ac_cv_func_perror=yes +ac_cv_func_pipe=yes +ac_cv_func_poll=no +ac_cv_func_recv=yes +ac_cv_func_recvfrom=yes +ac_cv_func_select=yes +ac_cv_func_send=yes +ac_cv_func_setlocale=yes +ac_cv_func_setmode=yes +ac_cv_func_setrlimit=yes +ac_cv_func_setsockopt=yes +ac_cv_func_setsockopt_so_nonblock=no +ac_cv_func_sigaction=yes +ac_cv_func_siginterrupt=yes +ac_cv_func_signal=yes +ac_cv_func_sigsetjmp=yes +ac_cv_func_socket=yes +ac_cv_func_strcasecmp=yes +ac_cv_func_strcasestr=yes +ac_cv_func_strcmpi=no +ac_cv_func_strdup=yes +ac_cv_func_strerror_r=yes +ac_cv_func_stricmp=no +ac_cv_func_strlcat=yes +ac_cv_func_strncasecmp=yes +ac_cv_func_strncmpi=no +ac_cv_func_strnicmp=no +ac_cv_func_strstr=yes +ac_cv_func_strtok_r=yes +ac_cv_func_strtoll=yes +ac_cv_func_uname=yes +ac_cv_func_utime=yes +ac_cv_func_writev=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_ifaddrs_h=yes +ac_cv_header_inttypes_h=yes +ac_cv_header_io_h=no +ac_cv_header_libgen_h=yes +ac_cv_header_limits_h=yes +ac_cv_header_locale_h=yes +ac_cv_header_malloc_h=no +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_pwd_h=yes +ac_cv_header_setjmp_h=yes +ac_cv_header_sgtty_h=yes +ac_cv_header_signal_h=yes +ac_cv_header_socket_h=no +ac_cv_header_stdbool_h=yes +ac_cv_header_stdc=yes +ac_cv_header_stdint_h=yes +ac_cv_header_stdio_h=yes +ac_cv_header_stdlib_h=yes +ac_cv_header_string_h=yes +ac_cv_header_strings_h=yes +ac_cv_header_stropts_h=no +ac_cv_header_sys_filio_h=yes +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=yes +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_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_winber_h=no +ac_cv_header_windows_h=no +ac_cv_header_winldap_h=no +ac_cv_header_winsock2_h=no +ac_cv_header_winsock_h=no +ac_cv_header_ws2tcpip_h=no +ac_cv_host=x86_64-apple-darwin12.5.0 +ac_cv_msg_nosignal=no +ac_cv_native_windows=no +ac_cv_objext=o +ac_cv_path_EGREP='/usr/bin/grep -E' +ac_cv_path_FGREP='/usr/bin/grep -F' +ac_cv_path_GREP=/usr/bin/grep +ac_cv_path_NROFF=/usr/bin/nroff +ac_cv_path_PERL=/usr/bin/perl +ac_cv_path_SED=/usr/bin/sed +ac_cv_path_ac_pt_AR=/usr/bin/ar +ac_cv_path_install='/usr/bin/install -c' +ac_cv_prog_AWK=awk +ac_cv_prog_CPP='gcc -E' +ac_cv_prog_ac_ct_AR=/usr/bin/ar +ac_cv_prog_ac_ct_CC=gcc +ac_cv_prog_ac_ct_DSYMUTIL=dsymutil +ac_cv_prog_ac_ct_LIPO=lipo +ac_cv_prog_ac_ct_NMEDIT=nmedit +ac_cv_prog_ac_ct_OBJDUMP=objdump +ac_cv_prog_ac_ct_OTOOL=otool +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_sig_atomic_t_volatile=no +ac_cv_sizeof_int=4 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_time_t=4 +ac_cv_sizeof_voidp=4 +ac_cv_struct_timeval=yes +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 +curl_cv_PATH_SEPARATOR=: +curl_cv_def_PRId64='"lld"' +curl_cv_def___GNUC__=4 +curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,socklen_t,int' +curl_cv_func_recv_args='int,void *,size_t,int,ssize_t' +curl_cv_func_recvfrom_args='int,void *,size_t,int,struct sockaddr *,socklen_t *,ssize_t' +curl_cv_func_select_args='int,fd_set *,struct timeval *,int' +curl_cv_func_send_args='int,const void *,size_t,int,ssize_t' +curl_cv_getnameinfo=yes +curl_cv_have_def_PRId64=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__=no +curl_cv_have_def___sgi=no +curl_cv_need_header_memory_h=no +curl_cv_recv=yes +curl_cv_recvfrom=yes +curl_cv_select=yes +curl_cv_send=yes +curl_cv_variadic_macros_c99=yes +curl_cv_variadic_macros_gcc=yes +curl_cv_writable_argv=yes +lt_cv_apple_cc_single_mod=yes +lt_cv_deplibs_check_method=pass_all +lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_ld_exported_symbols_list=yes +lt_cv_ld_reload_flag=-r +lt_cv_nm_interface='BSD nm' +lt_cv_objdir=.libs +lt_cv_path_LD=/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld +lt_cv_path_NM=/usr/bin/nm +lt_cv_prog_compiler_c_o=yes +lt_cv_prog_compiler_pic_works=yes +lt_cv_prog_compiler_rtti_exceptions=no +lt_cv_prog_compiler_static_works=no +lt_cv_prog_gnu_ld=no +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\''' +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' +lt_cv_sys_max_cmd_len=196608 + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +ACLOCAL='${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run aclocal-1.9' +AMDEPBACKSLASH='\' +AMDEP_FALSE='#' +AMDEP_TRUE='' +AMTAR='${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run tar' +AR='/usr/bin/ar' +AS='as' +AUTOCONF='${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run autoconf' +AUTOHEADER='${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run autoheader' +AUTOMAKE='${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run automake-1.9' +AWK='awk' +CC='gcc' +CCDEPMODE='depmode=gcc3' +CFLAGS='-arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers' +CONFIGURE_OPTIONS='" '\''--prefix=/iraf/iraf/vendor/voclient/'\'' '\''--exec-prefix=/iraf/iraf/vendor/voclient/'\'' '\''--disable-shared'\'' '\'''\'' '\''--disable-ftp'\'' '\'''\'' '\''--disable-file'\'' '\'''\'' '\''--disable-ldap'\'' '\'''\'' '\''--disable-ldaps'\'' '\'''\'' '\''--disable-proxy'\'' '\'''\'' '\''--disable-dict'\'' '\'''\'' '\''--disable-telnet'\'' '\'''\'' '\''--disable-tftp'\'' '\'''\'' '\''--disable-manual'\'' '\'''\'' '\''--disable-ipv6'\'' '\'''\'' '\''--disable-ares'\'' '\'''\'' '\''--disable-sspi'\'' '\'''\'' '\''--disable-crypto-auth'\'' '\'''\'' '\''--without-krb4'\'' '\'''\'' '\''--without-ssl'\'' '\'''\'' '\''--without-zlib'\'' '\'''\'' '\''--without-libssh2'\'' '\'''\'' '\''--without-gnutls'\'' '\'''\'' '\''--without-nss'\'' '\'''\'' '\''--without-ca-path'\'' '\'''\'' '\''--without-libidn'\'' '\''build_alias='\'' '\''host_alias='\'' '\''target_alias='\'' '\''CC=gcc'\'' '\''CFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4'\'' '\''LDFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4'\''"' +CPP='gcc -E' +CPPFLAGS='' +CROSSCOMPILING_FALSE='' +CROSSCOMPILING_TRUE='#' +CURLDEBUG_FALSE='' +CURLDEBUG_TRUE='#' +CURL_CA_BUNDLE='' +CURL_DISABLE_DICT='1' +CURL_DISABLE_FILE='1' +CURL_DISABLE_FTP='1' +CURL_DISABLE_HTTP='' +CURL_DISABLE_IMAP='' +CURL_DISABLE_LDAP='1' +CURL_DISABLE_LDAPS='1' +CURL_DISABLE_POP3='' +CURL_DISABLE_PROXY='1' +CURL_DISABLE_RTSP='' +CURL_DISABLE_SMTP='' +CURL_DISABLE_TELNET='1' +CURL_DISABLE_TFTP='1' +CURL_LIBS='' +CYGPATH_W='echo' +DEFS='-DHAVE_CONFIG_H' +DEPDIR='.deps' +DLLTOOL='dlltool' +DSYMUTIL='dsymutil' +DUMPBIN='' +ECHO_C='\c' +ECHO_N='' +ECHO_T='' +EGREP='/usr/bin/grep -E' +EXEEXT='' +FGREP='/usr/bin/grep -F' +GREP='/usr/bin/grep' +HAVE_LIBZ='' +HAVE_LIBZ_FALSE='' +HAVE_LIBZ_TRUE='#' +HAVE_PK11_CREATEGENERICOBJECT='' +IDN_ENABLED='' +INSTALL_DATA='${INSTALL} -m 644' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' +INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' +IPV6_ENABLED='' +KRB4_ENABLED='' +LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld' +LDFLAGS='-arch i386 -m32 -mmacosx-version-min=10.4' +LIBCURL_LIBS='' +LIBOBJS='' +LIBS='' +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +LIPO='lipo' +LN_S='ln -s' +LTLIBOBJS='' +MAINT='#' +MAINTAINER_MODE_FALSE='' +MAINTAINER_MODE_TRUE='#' +MAKEINFO='${SHELL} "/iraf/iraf/vendor/voclient/common/curl/missing" --run makeinfo' +MANOPT='-man' +MIMPURE_FALSE='' +MIMPURE_TRUE='#' +NM='/usr/bin/nm' +NMEDIT='nmedit' +NO_UNDEFINED_FALSE='' +NO_UNDEFINED_TRUE='#' +NROFF='/usr/bin/nroff' +OBJDUMP='objdump' +OBJEXT='o' +OTOOL64=':' +OTOOL='otool' +PACKAGE='curl' +PACKAGE_BUGREPORT='a suitable curl mailing list => http://curl.haxx.se/mail/' +PACKAGE_NAME='curl' +PACKAGE_STRING='curl -' +PACKAGE_TARNAME='curl' +PACKAGE_URL='' +PACKAGE_VERSION='-' +PATH='/Users/fitz/.iraf/bin:.:/Users/fitz/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/opt/local/bin:/usr/local/sbin:/usr/local/pvm/pvm3/bin:/usr/local/pvm/pvm3/lib:/usr/local/ch/bin:/usr/local/astrometry/bin:/usr/local/mysql/bin:/Developer/NVIDIA/CUDA-5.0/bin:/usr/X11R6/bin:/usr/local/git/bin' +PATH_SEPARATOR=':' +PERL='/usr/bin/perl' +PKGADD_NAME='cURL - a client that groks URLs' +PKGADD_PKG='HAXXcurl' +PKGADD_VENDOR='curl.haxx.se' +PKGCONFIG='' +RANDOM_FILE='' +RANLIB='ranlib' +REQUIRE_LIB_DEPS='yes' +SED='/usr/bin/sed' +SET_MAKE='' +SHELL='/bin/sh' +SONAME_BUMP_FALSE='' +SONAME_BUMP_TRUE='#' +SSL_ENABLED='' +STATICLIB_FALSE='' +STATICLIB_TRUE='#' +STRIP='strip' +SUPPORT_FEATURES='' +SUPPORT_PROTOCOLS='HTTP IMAP POP3 RTSP SMTP' +TEST_SERVER_LIBS='' +USE_ARES='' +USE_EMBEDDED_ARES_FALSE='' +USE_EMBEDDED_ARES_TRUE='#' +USE_GNUTLS='' +USE_LIBSSH2='' +USE_MANUAL_FALSE='' +USE_MANUAL_TRUE='#' +USE_NSS='' +USE_SSLEAY='' +USE_WINDOWS_SSPI='' +VERSION='7.20.1' +VERSIONNUM='071401' +ac_ct_CC='gcc' +ac_ct_DUMPBIN='' +am__fastdepCC_FALSE='#' +am__fastdepCC_TRUE='' +am__include='include' +am__leading_dot='.' +am__quote='' +am__tar='${AMTAR} chof - "$$tardir"' +am__untar='${AMTAR} xf -' +bindir='${exec_prefix}/bin' +build='x86_64-apple-darwin12.5.0' +build_alias='' +build_cpu='x86_64' +build_os='darwin12.5.0' +build_vendor='apple' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +dvidir='${docdir}' +exec_prefix='/iraf/iraf/vendor/voclient' +host='x86_64-apple-darwin12.5.0' +host_alias='' +host_cpu='x86_64' +host_os='darwin12.5.0' +host_vendor='apple' +htmldir='${docdir}' +includedir='${prefix}/include' +infodir='${datarootdir}/info' +install_sh='/iraf/iraf/vendor/voclient/common/curl/install-sh' +libdir='${exec_prefix}/lib' +libexecdir='${exec_prefix}/libexec' +libext='a' +localedir='${datarootdir}/locale' +localstatedir='${prefix}/var' +lt_ECHO='/bin/echo' +mandir='${datarootdir}/man' +mkdir_p='$(mkinstalldirs)' +oldincludedir='/usr/include' +pdfdir='${docdir}' +prefix='/iraf/iraf/vendor/voclient' +program_transform_name='s,x,x,' +psdir='${docdir}' +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 => http://curl.haxx.se/mail/" +#define PACKAGE_URL "" +#define PACKAGE "curl" +#define VERSION "7.20.1" +#define OS "x86_64-apple-darwin12.5.0" +#define HAVE_SYS_TYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_INTTYPES_H 1 +#define STDC_HEADERS 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_UNISTD_H 1 +#define SIZEOF_LONG 4 +#define SIZEOF_VOIDP 4 +#define CURL_PULL_SYS_TYPES_H 1 +#define CURL_PULL_STDINT_H 1 +#define CURL_PULL_INTTYPES_H 1 +#define CURL_TYPEOF_CURL_OFF_T int64_t +#define CURL_FORMAT_CURL_OFF_T "lld" +#define CURL_FORMAT_CURL_OFF_TU "llu" +#define CURL_FORMAT_OFF_T "%lld" +#define CURL_SIZEOF_CURL_OFF_T 8 +#define CURL_SUFFIX_CURL_OFF_T LL +#define CURL_SUFFIX_CURL_OFF_TU ULL +#define HAVE_DLFCN_H 1 +#define LT_OBJDIR ".libs/" +#define CURL_DISABLE_FTP 1 +#define CURL_DISABLE_FILE 1 +#define CURL_DISABLE_LDAP 1 +#define CURL_DISABLE_LDAPS 1 +#define CURL_DISABLE_PROXY 1 +#define CURL_DISABLE_DICT 1 +#define CURL_DISABLE_TELNET 1 +#define CURL_DISABLE_TFTP 1 +#define TIME_WITH_SYS_TIME 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_TIME_H 1 +#define HAVE_WRITABLE_ARGV 1 +#define STDC_HEADERS 1 +#define HAVE_MEMORY_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_SELECT_H 1 +#define HAVE_SYS_SOCKET_H 1 +#define HAVE_SYS_IOCTL_H 1 +#define HAVE_SYS_UIO_H 1 +#define HAVE_ASSERT_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_ARPA_INET_H 1 +#define HAVE_NET_IF_H 1 +#define HAVE_NETINET_IN_H 1 +#define HAVE_SYS_UN_H 1 +#define HAVE_NETINET_TCP_H 1 +#define HAVE_NETDB_H 1 +#define HAVE_SYS_SOCKIO_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_TERMIOS_H 1 +#define HAVE_SGTTY_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_ALLOCA_H 1 +#define HAVE_TIME_H 1 +#define HAVE_PWD_H 1 +#define HAVE_UTIME_H 1 +#define HAVE_SYS_POLL_H 1 +#define HAVE_POLL_H 1 +#define HAVE_SYS_RESOURCE_H 1 +#define HAVE_LIBGEN_H 1 +#define HAVE_LOCALE_H 1 +#define HAVE_ERRNO_H 1 +#define HAVE_STDBOOL_H 1 +#define HAVE_ARPA_TFTP_H 1 +#define HAVE_SYS_FILIO_H 1 +#define HAVE_SETJMP_H 1 +#define HAVE_VARIADIC_MACROS_C99 1 +#define HAVE_VARIADIC_MACROS_GCC 1 +#define TIME_WITH_SYS_TIME 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_TIME_H 1 +#define HAVE_SYS_SOCKET_H 1 +#define HAVE_STRUCT_TIMEVAL 1 +#define SIZEOF_SIZE_T 4 +#define SIZEOF_LONG 4 +#define SIZEOF_INT 4 +#define SIZEOF_SHORT 2 +#define CURL_SIZEOF_LONG 4 +#define SIZEOF_TIME_T 4 +#define SIZEOF_OFF_T 8 +#define HAVE_LONGLONG 1 +#define HAVE_LL 1 +#define HAVE_BOOL_T 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_SOCKET_H 1 +#define CURL_PULL_SYS_TYPES_H 1 +#define CURL_PULL_SYS_SOCKET_H 1 +#define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t +#define CURL_SIZEOF_CURL_SOCKLEN_T 4 +#define HAVE_STRUCT_SOCKADDR_STORAGE 1 +#define HAVE_SIGNAL_H 1 +#define HAVE_SIG_ATOMIC_T 1 +#define RETSIGTYPE void +#define HAVE_SYS_SELECT_H 1 +#define HAVE_SYS_SOCKET_H 1 +#define SELECT_TYPE_ARG1 int +#define SELECT_TYPE_ARG234 fd_set * +#define SELECT_TYPE_RETV int +#define SELECT_QUAL_ARG5 +#define SELECT_TYPE_ARG5 struct timeval * +#define HAVE_SELECT 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_SOCKET_H 1 +#define RECV_TYPE_ARG1 int +#define RECV_TYPE_ARG2 void * +#define RECV_TYPE_ARG3 size_t +#define RECV_TYPE_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 HAVE_RECVFROM 1 +#define RECVFROM_TYPE_ARG1 int +#define RECVFROM_TYPE_ARG3 size_t +#define RECVFROM_TYPE_ARG4 int +#define RECVFROM_TYPE_RETV ssize_t +#define RECVFROM_TYPE_ARG2 void +#define RECVFROM_TYPE_ARG5 struct sockaddr +#define RECVFROM_TYPE_ARG6 socklen_t +#define RECVFROM_TYPE_ARG2_IS_VOID 1 +#define HAVE_RECVFROM 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_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_FTRUNCATE 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_GETADDRINFO 1 +#define HAVE_GETADDRINFO_THREADSAFE 1 +#define HAVE_GETHOSTBYADDR 1 +#define HAVE_GETHOSTBYNAME 1 +#define HAVE_GETHOSTNAME 1 +#define HAVE_GETIFADDRS 1 +#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_IOCTL 1 +#define HAVE_IOCTL_FIONBIO 1 +#define HAVE_IOCTL_SIOCGIFADDR 1 +#define HAVE_LOCALTIME_R 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_POLL_H 1 +#define HAVE_SYS_POLL_H 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_STRCASECMP 1 +#define HAVE_STRCASESTR 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_STRLCAT 1 +#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_GETRLIMIT 1 +#define HAVE_GETTIMEOFDAY 1 +#define HAVE_INET_ADDR 1 +#define HAVE_PERROR 1 +#define HAVE_PIPE 1 +#define HAVE_SETLOCALE 1 +#define HAVE_SETMODE 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 CURL_DISABLE_CRYPTO_AUTH 1 + +configure: exit 0 diff --git a/vendor/voclient/common/curl-7.20.1/config.status b/vendor/voclient/common/curl-7.20.1/config.status new file mode 100755 index 00000000..3ab7bebf --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/config.status @@ -0,0 +1,2340 @@ +#! /bin/sh +# Generated by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by curl $as_me -, which was +generated by GNU Autoconf 2.65. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +# Files that config.status was made for. +config_files=" Makefile docs/Makefile docs/examples/Makefile docs/libcurl/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile tests/Makefile tests/data/Makefile tests/server/Makefile tests/libtest/Makefile packages/Makefile packages/Win32/Makefile packages/Win32/cygwin/Makefile packages/Linux/Makefile packages/Linux/RPM/Makefile packages/Linux/RPM/curl.spec packages/Linux/RPM/curl-ssl.spec packages/Solaris/Makefile packages/EPM/curl.list packages/EPM/Makefile packages/vms/Makefile packages/AIX/Makefile packages/AIX/RPM/Makefile packages/AIX/RPM/curl.spec curl-config libcurl.pc" +config_headers=" lib/curl_config.h src/curl_config.h include/curl/curlbuild.h" +config_commands=" depfiles libtool" + +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to http://curl.haxx.se/mail/>." + +ac_cs_config="'--prefix=/iraf/iraf/vendor/voclient/' '--exec-prefix=/iraf/iraf/vendor/voclient/' '--disable-shared' '' '--disable-ftp' '' '--disable-file' '' '--disable-ldap' '' '--disable-ldaps' '' '--disable-proxy' '' '--disable-dict' '' '--disable-telnet' '' '--disable-tftp' '' '--disable-manual' '' '--disable-ipv6' '' '--disable-ares' '' '--disable-sspi' '' '--disable-crypto-auth' '' '--without-krb4' '' '--without-ssl' '' '--without-zlib' '' '--without-libssh2' '' '--without-gnutls' '' '--without-nss' '' '--without-ca-path' '' '--without-libidn' 'build_alias=' 'host_alias=' 'target_alias=' 'CC=gcc' 'CFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4' 'LDFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4'" +ac_cs_version="\ +curl config.status - +configured by ./configure, generated by GNU Autoconf 2.65, + with options \"$ac_cs_config\" + +Copyright (C) 2009 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='/iraf/iraf/vendor/voclient/common/curl' +srcdir='.' +INSTALL='/usr/bin/install -c' +AWK='awk' +test -n "$AWK" || AWK=awk +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +if $ac_cs_recheck; then + set X '/bin/sh' './configure' '--prefix=/iraf/iraf/vendor/voclient/' '--exec-prefix=/iraf/iraf/vendor/voclient/' '--disable-shared' '' '--disable-ftp' '' '--disable-file' '' '--disable-ldap' '' '--disable-ldaps' '' '--disable-proxy' '' '--disable-dict' '' '--disable-telnet' '' '--disable-tftp' '' '--disable-manual' '' '--disable-ipv6' '' '--disable-ares' '' '--disable-sspi' '' '--disable-crypto-auth' '' '--without-krb4' '' '--without-ssl' '' '--without-zlib' '' '--without-libssh2' '' '--without-gnutls' '' '--without-nss' '' '--without-ca-path' '' '--without-libidn' 'build_alias=' 'host_alias=' 'target_alias=' 'CC=gcc' 'CFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4' 'LDFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4' $ac_configure_extra_args --no-create --no-recursion + shift + $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 + CONFIG_SHELL='/bin/sh' + export CONFIG_SHELL + exec "$@" +fi + +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +# +# INIT-COMMANDS +# +AMDEP_TRUE="" ac_aux_dir="." + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' +double_quote_subst='s/\(["`\\]\)/\\\1/g' +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' +AS='as' +DLLTOOL='dlltool' +OBJDUMP='objdump' +macro_version='2.2.6b' +macro_revision='1.3017' +enable_shared='no' +enable_static='yes' +pic_mode='default' +enable_fast_install='needless' +host_alias='' +host='x86_64-apple-darwin12.5.0' +host_os='darwin12.5.0' +build_alias='' +build='x86_64-apple-darwin12.5.0' +build_os='darwin12.5.0' +SED='/usr/bin/sed' +Xsed='/usr/bin/sed -e 1s/^X//' +GREP='/usr/bin/grep' +EGREP='/usr/bin/grep -E' +FGREP='/usr/bin/grep -F' +LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld' +NM='/usr/bin/nm' +LN_S='ln -s' +max_cmd_len='196608' +ac_objext='o' +exeext='' +lt_unset='unset' +lt_SP2NL='tr \040 \012' +lt_NL2SP='tr \015\012 \040\040' +reload_flag=' -r' +reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' +deplibs_check_method='pass_all' +file_magic_cmd='$MAGIC_CMD' +AR='/usr/bin/ar' +AR_FLAGS='cru' +STRIP='strip' +RANLIB='ranlib' +old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib' +old_postuninstall_cmds='' +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib' +CC='gcc' +CFLAGS='-arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers' +compiler='gcc' +GCC='yes' +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\''' +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' +objdir='.libs' +SHELL='/bin/sh' +ECHO='/bin/echo' +MAGIC_CMD='file' +lt_prog_compiler_no_builtin_flag=' -fno-builtin' +lt_prog_compiler_wl='-Wl,' +lt_prog_compiler_pic=' -fno-common -DPIC' +lt_prog_compiler_static='' +lt_cv_prog_compiler_c_o='yes' +need_locks='no' +DSYMUTIL='dsymutil' +NMEDIT='nmedit' +LIPO='lipo' +OTOOL='otool' +OTOOL64=':' +libext='a' +shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +extract_expsyms_cmds='' +archive_cmds_need_lc='no' +enable_shared_with_static_runtimes='no' +export_dynamic_flag_spec='' +whole_archive_flag_spec='' +compiler_needs_object='no' +old_archive_from_new_cmds='' +old_archive_from_expsyms_cmds='' +archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module~$DSYMUTIL $lib || :' +archive_expsym_cmds='sed '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym~$DSYMUTIL $lib || :' +module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags~$DSYMUTIL $lib || :' +module_expsym_cmds='sed -e '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym~$DSYMUTIL $lib || :' +with_gnu_ld='no' +allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' +no_undefined_flag='' +hardcode_libdir_flag_spec='' +hardcode_libdir_flag_spec_ld='' +hardcode_libdir_separator='' +hardcode_direct='no' +hardcode_direct_absolute='no' +hardcode_minus_L='no' +hardcode_shlibpath_var='unsupported' +hardcode_automatic='yes' +inherit_rpath='no' +link_all_deplibs='yes' +fix_srcfile_path='' +always_export_symbols='no' +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' +exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' +include_expsyms='' +prelink_cmds='' +file_list_spec='' +variables_saved_for_relink='PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' +need_lib_prefix='no' +need_version='no' +version_type='darwin' +runpath_var='' +shlibpath_var='DYLD_LIBRARY_PATH' +shlibpath_overrides_runpath='yes' +libname_spec='lib$name' +library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' +soname_spec='${libname}${release}${major}$shared_ext' +postinstall_cmds='' +postuninstall_cmds='' +finish_cmds='' +finish_eval='' +hardcode_into_libs='no' +sys_lib_search_path_spec='/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 /usr/lib /usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1 /usr/llvm-gcc-4.2/lib/gcc /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1 /usr/llvm-gcc-4.2/lib /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib /usr/local/lib' +sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' +hardcode_action='immediate' +enable_dlopen='unknown' +enable_dlopen_self='unknown' +enable_dlopen_self_static='unknown' +old_striplib='strip -S' +striplib='strip -x' + +LTCC='gcc' +LTCFLAGS='-arch i386 -m32 -mmacosx-version-min=10.4' +compiler='gcc' + +# Quote evaled strings. +for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do + case `eval \\$ECHO "X\\$$var"` in + *[\\\`\"\$]*) + eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\$$var\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do + case `eval \\$ECHO "X\\$$var"` in + *[\\\`\"\$]*) + eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\$$var\\\"" + ;; + esac +done + +# Fix-up fallback echo if it was mangled by the above quoting rules. +case $lt_ECHO in +*'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; +esac + +ac_aux_dir='.' +xsi_shell='yes' +lt_shell_append='yes' + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='curl' + VERSION='7.20.1' + TIMESTAMP='' + RM='rm -f' + ofile='libtool' + + + + + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "lib/curl_config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/curl_config.h" ;; + "src/curl_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/curl_config.h" ;; + "include/curl/curlbuild.h") CONFIG_HEADERS="$CONFIG_HEADERS include/curl/curlbuild.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; + "docs/examples/Makefile") CONFIG_FILES="$CONFIG_FILES docs/examples/Makefile" ;; + "docs/libcurl/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libcurl/Makefile" ;; + "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; + "include/curl/Makefile") CONFIG_FILES="$CONFIG_FILES include/curl/Makefile" ;; + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;; + "tests/server/Makefile") CONFIG_FILES="$CONFIG_FILES tests/server/Makefile" ;; + "tests/libtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libtest/Makefile" ;; + "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; + "packages/Win32/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Win32/Makefile" ;; + "packages/Win32/cygwin/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Win32/cygwin/Makefile" ;; + "packages/Linux/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Linux/Makefile" ;; + "packages/Linux/RPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/Makefile" ;; + "packages/Linux/RPM/curl.spec") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/curl.spec" ;; + "packages/Linux/RPM/curl-ssl.spec") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/curl-ssl.spec" ;; + "packages/Solaris/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Solaris/Makefile" ;; + "packages/EPM/curl.list") CONFIG_FILES="$CONFIG_FILES packages/EPM/curl.list" ;; + "packages/EPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/EPM/Makefile" ;; + "packages/vms/Makefile") CONFIG_FILES="$CONFIG_FILES packages/vms/Makefile" ;; + "packages/AIX/Makefile") CONFIG_FILES="$CONFIG_FILES packages/AIX/Makefile" ;; + "packages/AIX/RPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/AIX/RPM/Makefile" ;; + "packages/AIX/RPM/curl.spec") CONFIG_FILES="$CONFIG_FILES packages/AIX/RPM/curl.spec" ;; + "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;; + "libcurl.pc") CONFIG_FILES="$CONFIG_FILES libcurl.pc" ;; + + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +cat >>"$tmp/subs1.awk" <<\_ACAWK && +S["LTLIBOBJS"]="" +S["LIBOBJS"]="" +S["SUPPORT_PROTOCOLS"]="HTTP IMAP POP3 RTSP SMTP" +S["SUPPORT_FEATURES"]="" +S["CROSSCOMPILING_FALSE"]="" +S["CROSSCOMPILING_TRUE"]="#" +S["TEST_SERVER_LIBS"]="" +S["CURL_LIBS"]="" +S["LIBCURL_LIBS"]="" +S["SONAME_BUMP_FALSE"]="" +S["SONAME_BUMP_TRUE"]="#" +S["USE_WINDOWS_SSPI"]="" +S["USE_EMBEDDED_ARES_FALSE"]="" +S["USE_EMBEDDED_ARES_TRUE"]="#" +S["USE_ARES"]="" +S["subdirs"]="" +S["USE_MANUAL_FALSE"]="" +S["USE_MANUAL_TRUE"]="#" +S["MANOPT"]="-man" +S["NROFF"]="/usr/bin/nroff" +S["PERL"]="/usr/bin/perl" +S["IPV6_ENABLED"]="" +S["IDN_ENABLED"]="" +S["USE_LIBSSH2"]="" +S["CURL_CA_BUNDLE"]="" +S["SSL_ENABLED"]="" +S["USE_NSS"]="" +S["HAVE_PK11_CREATEGENERICOBJECT"]="" +S["USE_GNUTLS"]="" +S["RANDOM_FILE"]="" +S["HAVE_LIBZ_FALSE"]="" +S["HAVE_LIBZ_TRUE"]="#" +S["HAVE_LIBZ"]="" +S["USE_SSLEAY"]="" +S["PKGCONFIG"]="" +S["KRB4_ENABLED"]="" +S["CURL_DISABLE_SMTP"]="" +S["CURL_DISABLE_IMAP"]="" +S["CURL_DISABLE_POP3"]="" +S["CURL_DISABLE_TFTP"]="1" +S["CURL_DISABLE_TELNET"]="1" +S["CURL_DISABLE_DICT"]="1" +S["CURL_DISABLE_PROXY"]="1" +S["CURL_DISABLE_LDAPS"]="1" +S["CURL_DISABLE_LDAP"]="1" +S["CURL_DISABLE_FILE"]="1" +S["CURL_DISABLE_FTP"]="1" +S["CURL_DISABLE_RTSP"]="" +S["CURL_DISABLE_HTTP"]="" +S["CURLDEBUG_FALSE"]="" +S["CURLDEBUG_TRUE"]="#" +S["NO_UNDEFINED_FALSE"]="" +S["NO_UNDEFINED_TRUE"]="#" +S["REQUIRE_LIB_DEPS"]="yes" +S["STATICLIB_FALSE"]="" +S["STATICLIB_TRUE"]="#" +S["MIMPURE_FALSE"]="" +S["MIMPURE_TRUE"]="#" +S["OTOOL64"]=":" +S["OTOOL"]="otool" +S["LIPO"]="lipo" +S["NMEDIT"]="nmedit" +S["DSYMUTIL"]="dsymutil" +S["lt_ECHO"]="/bin/echo" +S["RANLIB"]="ranlib" +S["LN_S"]="ln -s" +S["NM"]="/usr/bin/nm" +S["ac_ct_DUMPBIN"]="" +S["DUMPBIN"]="" +S["LD"]="/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld" +S["FGREP"]="/usr/bin/grep -F" +S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" +S["OBJDUMP"]="objdump" +S["DLLTOOL"]="dlltool" +S["AS"]="as" +S["CPP"]="gcc -E" +S["am__fastdepCC_FALSE"]="#" +S["am__fastdepCC_TRUE"]="" +S["CCDEPMODE"]="depmode=gcc3" +S["AMDEPBACKSLASH"]="\\" +S["AMDEP_FALSE"]="#" +S["AMDEP_TRUE"]="" +S["am__quote"]="" +S["am__include"]="include" +S["DEPDIR"]=".deps" +S["OBJEXT"]="o" +S["EXEEXT"]="" +S["ac_ct_CC"]="gcc" +S["CPPFLAGS"]="" +S["LDFLAGS"]="-arch i386 -m32 -mmacosx-version-min=10.4" +S["CFLAGS"]="-arch i386 -m32 -mmacosx-version-min=10.4 -g0 -O2 -Wno-system-headers" +S["CC"]="gcc" +S["host_os"]="darwin12.5.0" +S["host_vendor"]="apple" +S["host_cpu"]="x86_64" +S["host"]="x86_64-apple-darwin12.5.0" +S["build_os"]="darwin12.5.0" +S["build_vendor"]="apple" +S["build_cpu"]="x86_64" +S["build"]="x86_64-apple-darwin12.5.0" +S["PKGADD_VENDOR"]="curl.haxx.se" +S["PKGADD_NAME"]="cURL - a client that groks URLs" +S["PKGADD_PKG"]="HAXXcurl" +S["VERSIONNUM"]="071401" +S["am__untar"]="${AMTAR} xf -" +S["am__tar"]="${AMTAR} chof - \"$$tardir\"" +S["AMTAR"]="${SHELL} \"/iraf/iraf/vendor/voclient/common/curl/missing\" --run tar" +S["am__leading_dot"]="." +S["SET_MAKE"]="" +S["AWK"]="awk" +S["mkdir_p"]="$(mkinstalldirs)" +S["INSTALL_STRIP_PROGRAM"]="${SHELL} $(install_sh) -c -s" +S["STRIP"]="strip" +S["install_sh"]="/iraf/iraf/vendor/voclient/common/curl/install-sh" +S["MAKEINFO"]="${SHELL} \"/iraf/iraf/vendor/voclient/common/curl/missing\" --run makeinfo" +S["AUTOHEADER"]="${SHELL} \"/iraf/iraf/vendor/voclient/common/curl/missing\" --run autoheader" +S["AUTOMAKE"]="${SHELL} \"/iraf/iraf/vendor/voclient/common/curl/missing\" --run automake-1.9" +S["AUTOCONF"]="${SHELL} \"/iraf/iraf/vendor/voclient/common/curl/missing\" --run autoconf" +S["ACLOCAL"]="${SHELL} \"/iraf/iraf/vendor/voclient/common/curl/missing\" --run aclocal-1.9" +S["VERSION"]="7.20.1" +S["PACKAGE"]="curl" +S["CYGPATH_W"]="echo" +S["INSTALL_DATA"]="${INSTALL} -m 644" +S["INSTALL_SCRIPT"]="${INSTALL}" +S["INSTALL_PROGRAM"]="${INSTALL}" +S["libext"]="a" +S["AR"]="/usr/bin/ar" +S["EGREP"]="/usr/bin/grep -E" +S["GREP"]="/usr/bin/grep" +S["SED"]="/usr/bin/sed" +S["CONFIGURE_OPTIONS"]="\" '--prefix=/iraf/iraf/vendor/voclient/' '--exec-prefix=/iraf/iraf/vendor/voclient/' '--disable-shared' '' '--disable-ftp' '' '--disable-file' '' '-"\ +"-disable-ldap' '' '--disable-ldaps' '' '--disable-proxy' '' '--disable-dict' '' '--disable-telnet' '' '--disable-tftp' '' '--disable-manual' '' '--d"\ +"isable-ipv6' '' '--disable-ares' '' '--disable-sspi' '' '--disable-crypto-auth' '' '--without-krb4' '' '--without-ssl' '' '--without-zlib' '' '--wit"\ +"hout-libssh2' '' '--without-gnutls' '' '--without-nss' '' '--without-ca-path' '' '--without-libidn' 'build_alias=' 'host_alias=' 'target_alias=' 'CC"\ +"=gcc' 'CFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4' 'LDFLAGS=-arch i386 -m32 -mmacosx-version-min=10.4'\"" +S["MAINT"]="#" +S["MAINTAINER_MODE_FALSE"]="" +S["MAINTAINER_MODE_TRUE"]="#" +S["target_alias"]="" +S["host_alias"]="" +S["build_alias"]="" +S["LIBS"]="" +S["ECHO_T"]="" +S["ECHO_N"]="" +S["ECHO_C"]="\\c" +S["DEFS"]="-DHAVE_CONFIG_H" +S["mandir"]="${datarootdir}/man" +S["localedir"]="${datarootdir}/locale" +S["libdir"]="${exec_prefix}/lib" +S["psdir"]="${docdir}" +S["pdfdir"]="${docdir}" +S["dvidir"]="${docdir}" +S["htmldir"]="${docdir}" +S["infodir"]="${datarootdir}/info" +S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" +S["oldincludedir"]="/usr/include" +S["includedir"]="${prefix}/include" +S["localstatedir"]="${prefix}/var" +S["sharedstatedir"]="${prefix}/com" +S["sysconfdir"]="${prefix}/etc" +S["datadir"]="${datarootdir}" +S["datarootdir"]="${prefix}/share" +S["libexecdir"]="${exec_prefix}/libexec" +S["sbindir"]="${exec_prefix}/sbin" +S["bindir"]="${exec_prefix}/bin" +S["program_transform_name"]="s,x,x," +S["prefix"]="/iraf/iraf/vendor/voclient" +S["exec_prefix"]="/iraf/iraf/vendor/voclient" +S["PACKAGE_URL"]="" +S["PACKAGE_BUGREPORT"]="a suitable curl mailing list => http://curl.haxx.se/mail/" +S["PACKAGE_STRING"]="curl -" +S["PACKAGE_VERSION"]="-" +S["PACKAGE_TARNAME"]="curl" +S["PACKAGE_NAME"]="curl" +S["SHELL"]="/bin/sh" +S["PATH"]="/Users/fitz/.iraf/bin:.:/Users/fitz/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/opt/local/bin:/usr/local/sbin:/usr/local/pvm/pvm3/b"\ +"in:/usr/local/pvm/pvm3/lib:/usr/local/ch/bin:/usr/local/astrometry/bin:/usr/local/mysql/bin:/Developer/NVIDIA/CUDA-5.0/bin:/usr/X11R6/bin:/usr/local"\ +"/git/bin" +S["PATH_SEPARATOR"]=":" +_ACAWK +cat >>"$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || as_fn_error "could not setup config files machinery" "$LINENO" 5 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$tmp/defines.awk" <<\_ACAWK || +BEGIN { +D["PACKAGE_NAME"]=" \"curl\"" +D["PACKAGE_TARNAME"]=" \"curl\"" +D["PACKAGE_VERSION"]=" \"-\"" +D["PACKAGE_STRING"]=" \"curl -\"" +D["PACKAGE_BUGREPORT"]=" \"a suitable curl mailing list => http://curl.haxx.se/mail/\"" +D["PACKAGE_URL"]=" \"\"" +D["PACKAGE"]=" \"curl\"" +D["VERSION"]=" \"7.20.1\"" +D["OS"]=" \"x86_64-apple-darwin12.5.0\"" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_STDINT_H"]=" 1" +D["HAVE_INTTYPES_H"]=" 1" +D["STDC_HEADERS"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_STAT_H"]=" 1" +D["HAVE_STDLIB_H"]=" 1" +D["HAVE_STRING_H"]=" 1" +D["HAVE_MEMORY_H"]=" 1" +D["HAVE_STRINGS_H"]=" 1" +D["HAVE_INTTYPES_H"]=" 1" +D["HAVE_STDINT_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["SIZEOF_LONG"]=" 4" +D["SIZEOF_VOIDP"]=" 4" +D["CURL_PULL_SYS_TYPES_H"]=" 1" +D["CURL_PULL_STDINT_H"]=" 1" +D["CURL_PULL_INTTYPES_H"]=" 1" +D["CURL_TYPEOF_CURL_OFF_T"]=" int64_t" +D["CURL_FORMAT_CURL_OFF_T"]=" \"lld\"" +D["CURL_FORMAT_CURL_OFF_TU"]=" \"llu\"" +D["CURL_FORMAT_OFF_T"]=" \"%lld\"" +D["CURL_SIZEOF_CURL_OFF_T"]=" 8" +D["CURL_SUFFIX_CURL_OFF_T"]=" LL" +D["CURL_SUFFIX_CURL_OFF_TU"]=" ULL" +D["HAVE_DLFCN_H"]=" 1" +D["LT_OBJDIR"]=" \".libs/\"" +D["CURL_DISABLE_FTP"]=" 1" +D["CURL_DISABLE_FILE"]=" 1" +D["CURL_DISABLE_LDAP"]=" 1" +D["CURL_DISABLE_LDAPS"]=" 1" +D["CURL_DISABLE_PROXY"]=" 1" +D["CURL_DISABLE_DICT"]=" 1" +D["CURL_DISABLE_TELNET"]=" 1" +D["CURL_DISABLE_TFTP"]=" 1" +D["TIME_WITH_SYS_TIME"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_TIME_H"]=" 1" +D["HAVE_TIME_H"]=" 1" +D["HAVE_WRITABLE_ARGV"]=" 1" +D["STDC_HEADERS"]=" 1" +D["HAVE_MEMORY_H"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_TIME_H"]=" 1" +D["HAVE_SYS_SELECT_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["HAVE_SYS_IOCTL_H"]=" 1" +D["HAVE_SYS_UIO_H"]=" 1" +D["HAVE_ASSERT_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_STDLIB_H"]=" 1" +D["HAVE_LIMITS_H"]=" 1" +D["HAVE_ARPA_INET_H"]=" 1" +D["HAVE_NET_IF_H"]=" 1" +D["HAVE_NETINET_IN_H"]=" 1" +D["HAVE_SYS_UN_H"]=" 1" +D["HAVE_NETINET_TCP_H"]=" 1" +D["HAVE_NETDB_H"]=" 1" +D["HAVE_SYS_SOCKIO_H"]=" 1" +D["HAVE_SYS_STAT_H"]=" 1" +D["HAVE_SYS_PARAM_H"]=" 1" +D["HAVE_TERMIOS_H"]=" 1" +D["HAVE_SGTTY_H"]=" 1" +D["HAVE_FCNTL_H"]=" 1" +D["HAVE_ALLOCA_H"]=" 1" +D["HAVE_TIME_H"]=" 1" +D["HAVE_PWD_H"]=" 1" +D["HAVE_UTIME_H"]=" 1" +D["HAVE_SYS_POLL_H"]=" 1" +D["HAVE_POLL_H"]=" 1" +D["HAVE_SYS_RESOURCE_H"]=" 1" +D["HAVE_LIBGEN_H"]=" 1" +D["HAVE_LOCALE_H"]=" 1" +D["HAVE_ERRNO_H"]=" 1" +D["HAVE_STDBOOL_H"]=" 1" +D["HAVE_ARPA_TFTP_H"]=" 1" +D["HAVE_SYS_FILIO_H"]=" 1" +D["HAVE_SETJMP_H"]=" 1" +D["HAVE_VARIADIC_MACROS_C99"]=" 1" +D["HAVE_VARIADIC_MACROS_GCC"]=" 1" +D["TIME_WITH_SYS_TIME"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_TIME_H"]=" 1" +D["HAVE_TIME_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["HAVE_STRUCT_TIMEVAL"]=" 1" +D["SIZEOF_SIZE_T"]=" 4" +D["SIZEOF_LONG"]=" 4" +D["SIZEOF_INT"]=" 4" +D["SIZEOF_SHORT"]=" 2" +D["CURL_SIZEOF_LONG"]=" 4" +D["SIZEOF_TIME_T"]=" 4" +D["SIZEOF_OFF_T"]=" 8" +D["HAVE_LONGLONG"]=" 1" +D["HAVE_LL"]=" 1" +D["HAVE_BOOL_T"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["CURL_PULL_SYS_TYPES_H"]=" 1" +D["CURL_PULL_SYS_SOCKET_H"]=" 1" +D["CURL_TYPEOF_CURL_SOCKLEN_T"]=" socklen_t" +D["CURL_SIZEOF_CURL_SOCKLEN_T"]=" 4" +D["HAVE_STRUCT_SOCKADDR_STORAGE"]=" 1" +D["HAVE_SIGNAL_H"]=" 1" +D["HAVE_SIG_ATOMIC_T"]=" 1" +D["RETSIGTYPE"]=" void" +D["HAVE_SYS_SELECT_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["SELECT_TYPE_ARG1"]=" int" +D["SELECT_TYPE_ARG234"]=" fd_set *" +D["SELECT_TYPE_RETV"]=" int" +D["SELECT_QUAL_ARG5"]=" " +D["SELECT_TYPE_ARG5"]=" struct timeval *" +D["HAVE_SELECT"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["RECV_TYPE_ARG1"]=" int" +D["RECV_TYPE_ARG2"]=" void *" +D["RECV_TYPE_ARG3"]=" size_t" +D["RECV_TYPE_ARG4"]=" int" +D["RECV_TYPE_RETV"]=" ssize_t" +D["HAVE_RECV"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["HAVE_RECVFROM"]=" 1" +D["RECVFROM_TYPE_ARG1"]=" int" +D["RECVFROM_TYPE_ARG3"]=" size_t" +D["RECVFROM_TYPE_ARG4"]=" int" +D["RECVFROM_TYPE_RETV"]=" ssize_t" +D["RECVFROM_TYPE_ARG2"]=" void" +D["RECVFROM_TYPE_ARG5"]=" struct sockaddr" +D["RECVFROM_TYPE_ARG6"]=" socklen_t" +D["RECVFROM_TYPE_ARG2_IS_VOID"]=" 1" +D["HAVE_RECVFROM"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["SEND_TYPE_ARG1"]=" int" +D["SEND_TYPE_ARG3"]=" size_t" +D["SEND_TYPE_ARG4"]=" int" +D["SEND_TYPE_RETV"]=" ssize_t" +D["SEND_QUAL_ARG2"]=" const" +D["SEND_TYPE_ARG2"]=" void *" +D["HAVE_SEND"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_ALARM"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_STRING_H"]=" 1" +D["HAVE_STRINGS_H"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_LIBGEN_H"]=" 1" +D["HAVE_BASENAME"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_CONNECT"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_FCNTL_H"]=" 1" +D["HAVE_FCNTL"]=" 1" +D["HAVE_FCNTL_O_NONBLOCK"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_STDIO_H"]=" 1" +D["HAVE_FDOPEN"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_NETDB_H"]=" 1" +D["HAVE_FREEADDRINFO"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["HAVE_NETINET_IN_H"]=" 1" +D["HAVE_IFADDRS_H"]=" 1" +D["HAVE_FREEIFADDRS"]=" 1" +D["HAVE_FTRUNCATE"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_STDLIB_H"]=" 1" +D["HAVE_GETADDRINFO"]=" 1" +D["HAVE_GETADDRINFO_THREADSAFE"]=" 1" +D["HAVE_GETHOSTBYADDR"]=" 1" +D["HAVE_GETHOSTBYNAME"]=" 1" +D["HAVE_GETHOSTNAME"]=" 1" +D["HAVE_GETIFADDRS"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_TIME_H"]=" 1" +D["HAVE_TIME_H"]=" 1" +D["HAVE_GMTIME_R"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["HAVE_NETINET_IN_H"]=" 1" +D["HAVE_ARPA_INET_H"]=" 1" +D["HAVE_INET_NTOP"]=" 1" +D["HAVE_INET_PTON"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["HAVE_SYS_IOCTL_H"]=" 1" +D["HAVE_IOCTL"]=" 1" +D["HAVE_IOCTL_FIONBIO"]=" 1" +D["HAVE_IOCTL_SIOCGIFADDR"]=" 1" +D["HAVE_LOCALTIME_R"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_POLL_H"]=" 1" +D["HAVE_SYS_POLL_H"]=" 1" +D["HAVE_SETSOCKOPT"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SIGNAL_H"]=" 1" +D["HAVE_SIGACTION"]=" 1" +D["HAVE_SIGINTERRUPT"]=" 1" +D["HAVE_SIGNAL"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SETJMP_H"]=" 1" +D["HAVE_SIGSETJMP"]=" 1" +D["HAVE_SOCKET"]=" 1" +D["HAVE_STRCASECMP"]=" 1" +D["HAVE_STRCASESTR"]=" 1" +D["HAVE_STRDUP"]=" 1" +D["HAVE_STRERROR_R"]=" 1" +D["HAVE_POSIX_STRERROR_R"]=" 1" +D["STRERROR_R_TYPE_ARG3"]=" size_t" +D["HAVE_STRLCAT"]=" 1" +D["HAVE_STRNCASECMP"]=" 1" +D["HAVE_STRSTR"]=" 1" +D["HAVE_STRTOK_R"]=" 1" +D["HAVE_STRTOLL"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_UIO_H"]=" 1" +D["HAVE_WRITEV"]=" 1" +D["HAVE_FORK"]=" 1" +D["HAVE_GETEUID"]=" 1" +D["HAVE_GETPPID"]=" 1" +D["HAVE_GETPROTOBYNAME"]=" 1" +D["HAVE_GETPWUID"]=" 1" +D["HAVE_GETRLIMIT"]=" 1" +D["HAVE_GETTIMEOFDAY"]=" 1" +D["HAVE_INET_ADDR"]=" 1" +D["HAVE_PERROR"]=" 1" +D["HAVE_PIPE"]=" 1" +D["HAVE_SETLOCALE"]=" 1" +D["HAVE_SETMODE"]=" 1" +D["HAVE_SETRLIMIT"]=" 1" +D["HAVE_UNAME"]=" 1" +D["HAVE_UTIME"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_SOCKET_H"]=" 1" +D["HAVE_NETDB_H"]=" 1" +D["GETNAMEINFO_TYPE_ARG2"]=" socklen_t" +D["GETNAMEINFO_TYPE_ARG46"]=" socklen_t" +D["GETNAMEINFO_TYPE_ARG7"]=" int" +D["GETNAMEINFO_QUAL_ARG1"]=" const" +D["GETNAMEINFO_TYPE_ARG1"]=" struct sockaddr *" +D["HAVE_GETNAMEINFO"]=" 1" +D["CURL_DISABLE_CRYPTO_AUTH"]=" 1" + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { + line = $ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK + as_fn_error "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + ac_datarootdir_hack=' + s&@datadir@&${datarootdir}&g + s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g + s&@infodir@&${datarootdir}/info&g + s&@localedir@&${datarootdir}/locale&g + s&@mandir@&${datarootdir}/man&g + s&\${datarootdir}&${prefix}/share&g' ;; +esac +ac_sed_extra="/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +} + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + "$ac_file" | "$ac_file":* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + "libtool":C) + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="" + +# ### BEGIN LIBTOOL CONFIG + +# Assembler program. +AS=$AS + +# DLL creation program. +DLLTOOL=$DLLTOOL + +# Object dumper program. +OBJDUMP=$OBJDUMP + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that does not interpret backslashes. +ECHO=$lt_ECHO + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into a binary +# during linking. This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + case $xsi_shell in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac +} + +# func_basename file +func_basename () +{ + func_basename_result="${1##*/}" +} + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}" +} + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +func_stripname () +{ + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"} +} + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=${1%%=*} + func_opt_split_arg=${1#*=} +} + +# func_lo2o object +func_lo2o () +{ + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=${1%.*}.lo +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=$(( $* )) +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=${#1} +} + +_LT_EOF + ;; + *) # Bourne compatible functions. + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` +} + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; + esac +} + +# sed scripts: +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' +my_sed_long_arg='1s/^-[^=]*=//' + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` +} + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "$@"` +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` +} + +_LT_EOF +esac + +case $lt_shell_append in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1+=\$2" +} +_LT_EOF + ;; + *) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1=\$$1\$2" +} + +_LT_EOF + ;; + esac + + + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 diff --git a/vendor/voclient/common/curl-7.20.1/config.sub b/vendor/voclient/common/curl-7.20.1/config.sub new file mode 100755 index 00000000..c2d12572 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/config.sub @@ -0,0 +1,1714 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +# Free Software Foundation, Inc. + +timestamp='2010-01-22' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Please send patches to . Submit a context +# diff and a properly formatted GNU ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free +Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nios | nios2 \ + | ns16k | ns32k \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e \ + | we32k \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | picochip) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile-* | tilegx-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze) + basic_machine=microblaze-xilinx + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc) basic_machine=powerpc-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; + # This must be matched before tile*. + tilegx*) + basic_machine=tilegx-unknown + os=-linux-gnu + ;; + tile*) + basic_machine=tile-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/vendor/voclient/common/curl-7.20.1/configure b/vendor/voclient/common/curl-7.20.1/configure new file mode 100755 index 00000000..ca128eca --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/configure @@ -0,0 +1,36707 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.65 for curl -. +# +# Report bugs to http://curl.haxx.se/mail/>. +# +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +# +# Copyright (c) 1998 - 2010 Daniel Stenberg, +# This configure script may be copied, distributed and modified under the +# terms of the curl license; see COPYING for more details +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + + + if test -z "$curl_cv_PATH_SEPARATOR"; then + if test -z "$PATH"; then + as_fn_error "PATH not set. Cannot continue without PATH being set." + fi + tst_dirs_col=0 + tst_save_IFS=$IFS; IFS=':' + for tst_dir in $PATH; do + IFS=$tst_save_IFS + test -d "$tst_dir" && tst_dirs_col=`expr $tst_dirs_col + 1` + done + IFS=$tst_save_IFS + tst_dirs_sem=0 + tst_save_IFS=$IFS; IFS=';' + for tst_dir in $PATH; do + IFS=$tst_save_IFS + test -d "$tst_dir" && tst_dirs_sem=`expr $tst_dirs_sem + 1` + done + IFS=$tst_save_IFS + if test $tst_dirs_sem -eq $tst_dirs_col; then + if test -z "$PATH_SEPARATOR"; then + as_fn_error "PATH_SEPARATOR not set. Cannot continue without it." + fi + else + if test $tst_dirs_sem -gt $tst_dirs_col; then + tst_auto_separator=';' + else + tst_auto_separator=':' + fi + if test -z "$PATH_SEPARATOR"; then + PATH_SEPARATOR="$tst_auto_separator" + fi + fi + curl_cv_PATH_SEPARATOR="$PATH_SEPARATOR" + fi + + + + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and a suitable curl +$0: mailing list => http://curl.haxx.se/mail/ about your +$0: system, including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + + +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$lt_ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` + ;; +esac + +ECHO=${lt_ECHO-echo} +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then + # Yippee, $ECHO works! + : +else + # Restart under the correct shell. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <<_LT_EOF +$* +_LT_EOF + exit 0 +fi + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test -z "$lt_ECHO"; then + if test "X${echo_test_string+set}" != Xset; then + # find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... + if { echo_test_string=`eval $cmd`; } 2>/dev/null && + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null + then + break + fi + done + fi + + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : + else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + ECHO="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$ECHO" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + ECHO='print -r' + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} + else + # Try using printf. + ECHO='printf %s\n' + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + ECHO="$CONFIG_SHELL $0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + ECHO="$CONFIG_SHELL $0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "$0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} + else + # Oops. We lost completely, so just stick with echo. + ECHO=echo + fi + fi + fi + fi + fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +lt_ECHO=$ECHO +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then + lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" +fi + + + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='curl' +PACKAGE_TARNAME='curl' +PACKAGE_VERSION='-' +PACKAGE_STRING='curl -' +PACKAGE_BUGREPORT='a suitable curl mailing list => http://curl.haxx.se/mail/' +PACKAGE_URL='' + +ac_unique_file="lib/urldata.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#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" + +enable_option_checking=no +ac_subst_vars='LTLIBOBJS +LIBOBJS +SUPPORT_PROTOCOLS +SUPPORT_FEATURES +CROSSCOMPILING_FALSE +CROSSCOMPILING_TRUE +TEST_SERVER_LIBS +CURL_LIBS +LIBCURL_LIBS +SONAME_BUMP_FALSE +SONAME_BUMP_TRUE +USE_WINDOWS_SSPI +USE_EMBEDDED_ARES_FALSE +USE_EMBEDDED_ARES_TRUE +USE_ARES +subdirs +USE_MANUAL_FALSE +USE_MANUAL_TRUE +MANOPT +NROFF +PERL +IPV6_ENABLED +IDN_ENABLED +USE_LIBSSH2 +CURL_CA_BUNDLE +SSL_ENABLED +USE_NSS +HAVE_PK11_CREATEGENERICOBJECT +USE_GNUTLS +RANDOM_FILE +HAVE_LIBZ_FALSE +HAVE_LIBZ_TRUE +HAVE_LIBZ +USE_SSLEAY +PKGCONFIG +KRB4_ENABLED +CURL_DISABLE_SMTP +CURL_DISABLE_IMAP +CURL_DISABLE_POP3 +CURL_DISABLE_TFTP +CURL_DISABLE_TELNET +CURL_DISABLE_DICT +CURL_DISABLE_PROXY +CURL_DISABLE_LDAPS +CURL_DISABLE_LDAP +CURL_DISABLE_FILE +CURL_DISABLE_FTP +CURL_DISABLE_RTSP +CURL_DISABLE_HTTP +CURLDEBUG_FALSE +CURLDEBUG_TRUE +NO_UNDEFINED_FALSE +NO_UNDEFINED_TRUE +REQUIRE_LIB_DEPS +STATICLIB_FALSE +STATICLIB_TRUE +MIMPURE_FALSE +MIMPURE_TRUE +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +lt_ECHO +RANLIB +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +LIBTOOL +OBJDUMP +DLLTOOL +AS +CPP +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +PKGADD_VENDOR +PKGADD_NAME +PKGADD_PKG +VERSIONNUM +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +libext +AR +EGREP +GREP +SED +CONFIGURE_OPTIONS +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +SHELL +PATH +PATH_SEPARATOR' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_maintainer_mode +enable_debug +enable_optimize +enable_warnings +enable_curldebug +enable_ares +enable_dependency_tracking +enable_largefile +enable_shared +enable_static +with_pic +enable_fast_install +with_gnu_ld +enable_libtool_lock +enable_http +enable_ftp +enable_file +enable_ldap +enable_ldaps +enable_rtsp +enable_proxy +enable_dict +enable_telnet +enable_tftp +enable_pop3 +enable_imap +enable_smtp +enable_manual +enable_libgcc +with_ldap_lib +with_lber_lib +enable_ipv6 +with_krb4_includes +with_krb4_libs +with_krb4 +with_spnego +with_gssapi_includes +with_gssapi_libs +with_gssapi +with_ssl +with_zlib +with_egd_socket +with_random +with_gnutls +with_nss +with_ca_bundle +with_ca_path +with_libssh2 +with_libidn +enable_nonblocking +enable_verbose +enable_sspi +enable_crypto_auth +enable_cookies +enable_hidden_symbols +enable_soname_bump +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP' +ac_subdirs_all='ares' + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information." + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures curl - to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/curl] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of curl -:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer + --enable-debug Enable debug build options + --disable-debug Disable debug build options + --enable-optimize Enable compiler optimizations + --disable-optimize Disable compiler optimizations + --enable-warnings Enable strict compiler warnings + --disable-warnings Disable strict compiler warnings + --enable-curldebug Enable curl debug memory tracking + --disable-curldebug Disable curl debug memory tracking + --enable-ares[=PATH] Enable c-ares for DNS lookups + --disable-ares Disable c-ares for DNS lookups + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-largefile omit support for large files + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-http Enable HTTP support + --disable-http Disable HTTP support + --enable-ftp Enable FTP support + --disable-ftp Disable FTP support + --enable-file Enable FILE support + --disable-file Disable FILE support + --enable-ldap Enable LDAP support + --disable-ldap Disable LDAP support + --enable-ldaps Enable LDAPS support + --disable-ldaps Disable LDAPS support + --enable-rtsp Enable RTSP support + --disable-rtsp Disable RTSP support + --enable-proxy Enable proxy support + --disable-proxy Disable proxy support + --enable-dict Enable DICT support + --disable-dict Disable DICT support + --enable-telnet Enable TELNET support + --disable-telnet Disable TELNET support + --enable-tftp Enable TFTP support + --disable-tftp Disable TFTP support + --enable-pop3 Enable POP3 support + --disable-pop3 Disable POP3 support + --enable-imap Enable IMAP support + --disable-imap Disable IMAP support + --enable-smtp Enable SMTP support + --disable-smtp Disable SMTP support + --enable-manual Enable built-in manual + --disable-manual Disable built-in manual + --enable-libgcc use libgcc when linking + --enable-ipv6 Enable ipv6 (with ipv4) support + --disable-ipv6 Disable ipv6 support + --enable-nonblocking Enable non-blocking communications + --disable-nonblocking Disable non-blocking communications + --enable-verbose Enable verbose strings + --disable-verbose Disable verbose strings + --enable-sspi Enable SSPI + --disable-sspi Disable SSPI + --enable-crypto-auth Enable cryptographic authentication + --disable-crypto-auth Disable cryptographic authentication + --enable-cookies Enable cookies support + --disable-cookies Disable cookies support + --enable-hidden-symbols Hide internal symbols in library + --disable-hidden-symbols + Leave all symbols with default visibility in library + --enable-soname-bump Enable enforced SONAME bump + --disable-soname-bump Disable enforced SONAME bump + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-ldap-lib=libname Specify name of ldap lib file + --with-lber-lib=libname Specify name of lber lib file + --with-krb4-includes=DIR + Specify location of kerberos4 headers + --with-krb4-libs=DIR Specify location of kerberos4 libs + --with-krb4=DIR where to look for Kerberos4 + --with-spnego=DIR Specify location of SPNEGO library fbopenssl + --with-gssapi-includes=DIR + Specify location of GSSAPI header + --with-gssapi-libs=DIR Specify location of GSSAPI libs + --with-gssapi=DIR Where to look for GSSAPI + --with-ssl=PATH Where to look for OpenSSL, PATH points to the SSL + installation (default: /usr/local/ssl); when + possible, set the PKG_CONFIG_PATH environment + variable instead of using this option + --without-ssl disable OpenSSL + --with-zlib=PATH search for zlib in PATH + --without-zlib disable use of zlib + --with-egd-socket=FILE Entropy Gathering Daemon socket pathname + --with-random=FILE read randomness from FILE (default=/dev/urandom) + --with-gnutls=PATH where to look for GnuTLS, PATH points to the + installation root (default: /usr/local/) + --without-gnutls disable GnuTLS detection + --with-nss=PATH where to look for NSS, PATH points to the + installation root (default: /usr/local/) + --without-nss disable NSS detection + --with-ca-bundle=FILE File name to use as CA bundle + --without-ca-bundle Don't use a default CA bundle + --with-ca-path=DIRECTORY + Directory to use as CA path + --without-ca-path Don't use a default CA path + --with-libssh2=PATH Where to look for libssh2, PATH points to the + LIBSSH2 installation (default: /usr/local/lib); when + possible, set the PKG_CONFIG_PATH environment + variable instead of using this option + --without-libssh2 disable LIBSSH2 + --with-libidn=PATH Enable libidn usage + --without-libidn Disable libidn usage + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to http://curl.haxx.se/mail/>. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +curl configure - +generated by GNU Autoconf 2.65 + +Copyright (C) 2009 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. + +Copyright (c) 1998 - 2010 Daniel Stenberg, +This configure script may be copied, distributed and modified under the +terms of the curl license; see COPYING for more details +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES +# -------------------------------------------- +# Tries to find the compile-time value of EXPR in a program that includes +# INCLUDES, setting VAR accordingly. Returns whether the value could be +# computed +ac_fn_c_compute_int () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int main (void) +{ +static int test_array [1 - 2 * !(($2) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=0 ac_mid=0 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int main (void) +{ +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid; break +else + as_fn_arith $ac_mid + 1 && ac_lo=$as_val + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int main (void) +{ +static int test_array [1 - 2 * !(($2) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=-1 ac_mid=-1 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int main (void) +{ +static int test_array [1 - 2 * !(($2) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=$ac_mid; break +else + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + ac_lo= ac_hi= +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int main (void) +{ +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid +else + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in #(( +?*) eval "$3=\$ac_lo"; ac_retval=0 ;; +'') ac_retval=1 ;; +esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +static long int longval () { return $2; } +static unsigned long int ulongval () { return $2; } +#include +#include +int main (void) +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (($2) < 0) + { + long int i = longval (); + if (i != ($2)) + return 1; + fprintf (f, "%ld", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ($2)) + return 1; + fprintf (f, "%lu", i); + } + /* Do not output a trailing newline, as this causes \r\n confusion + on some platforms. */ + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + echo >>conftest.val; read $3 &5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define $2 innocuous_$2 +#ifdef __STDC__ +# include +#else +# include +#endif +#undef $2 +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int main (void) +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_func + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( cat <<\_ASBOX +## ------------------------------------------------------------------------ ## +## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ## +## ------------------------------------------------------------------------ ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int main (void) +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int main (void) +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_type +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by curl $as_me -, which was +generated by GNU Autoconf 2.65. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------------- ## +## File substitutions. ## +## ------------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + ac_site_file1=$CONFIG_SITE +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + +# using curl-override.m4 + + + + + +ac_config_headers="$ac_config_headers lib/curl_config.h src/curl_config.h include/curl/curlbuild.h" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then : + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +$as_echo "$USE_MAINTAINER_MODE" >&6; } + + +if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug build options" >&5 +$as_echo_n "checking whether to enable debug build options... " >&6; } + OPT_DEBUG_BUILD="default" + # Check whether --enable-debug was given. +if test "${enable_debug+set}" = set; then : + enableval=$enable_debug; OPT_DEBUG_BUILD=$enableval +fi + + case "$OPT_DEBUG_BUILD" in + no) + want_debug="no" + ;; + default) + want_debug="no" + ;; + *) + want_debug="yes" + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_debug" >&5 +$as_echo "$want_debug" >&6; } + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler optimizer" >&5 +$as_echo_n "checking whether to enable compiler optimizer... " >&6; } + OPT_COMPILER_OPTIMIZE="default" + # Check whether --enable-optimize was given. +if test "${enable_optimize+set}" = set; then : + enableval=$enable_optimize; OPT_COMPILER_OPTIMIZE=$enableval +fi + + case "$OPT_COMPILER_OPTIMIZE" in + no) + want_optimize="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + default) + if test "$want_debug" = "yes"; then + want_optimize="assume_no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) no" >&5 +$as_echo "(assumed) no" >&6; } + else + want_optimize="assume_yes" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5 +$as_echo "(assumed) yes" >&6; } + fi + ;; + *) + want_optimize="yes" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable strict compiler warnings" >&5 +$as_echo_n "checking whether to enable strict compiler warnings... " >&6; } + OPT_COMPILER_WARNINGS="default" + # Check whether --enable-warnings was given. +if test "${enable_warnings+set}" = set; then : + enableval=$enable_warnings; OPT_COMPILER_WARNINGS=$enableval +fi + + case "$OPT_COMPILER_WARNINGS" in + no) + want_warnings="no" + ;; + default) + want_warnings="$want_debug" + ;; + *) + want_warnings="yes" + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_warnings" >&5 +$as_echo "$want_warnings" >&6; } + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable curl debug memory tracking" >&5 +$as_echo_n "checking whether to enable curl debug memory tracking... " >&6; } + OPT_CURLDEBUG_BUILD="default" + # Check whether --enable-curldebug was given. +if test "${enable_curldebug+set}" = set; then : + enableval=$enable_curldebug; OPT_CURLDEBUG_BUILD=$enableval +fi + + case "$OPT_CURLDEBUG_BUILD" in + no) + want_curldebug="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + default) + if test "$want_debug" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5 +$as_echo "(assumed) yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + want_curldebug_assumed="yes" + want_curldebug="$want_debug" + ;; + *) + want_curldebug="yes" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable c-ares for DNS lookups" >&5 +$as_echo_n "checking whether to enable c-ares for DNS lookups... " >&6; } + OPT_ARES="default" + # Check whether --enable-ares was given. +if test "${enable_ares+set}" = set; then : + enableval=$enable_ares; OPT_ARES=$enableval +fi + + case "$OPT_ARES" in + no) + want_ares="no" + ;; + default) + want_ares="no" + ;; + *) + want_ares="yes" + if test -n "$enableval" && test "$enableval" != "yes"; then + want_ares_path="$enableval" + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ares" >&5 +$as_echo "$want_ares" >&6; } + + + + + +# +# save the configure arguments +# +CONFIGURE_OPTIONS="\"$ac_configure_args\"" + + +# Extract the first word of "sed", so it can be a program name with args. +set dummy sed; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_SED+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $SED in + [\\/]* | ?:[\\/]*) + ac_cv_path_SED="$SED" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_SED" && ac_cv_path_SED="not_found" + ;; +esac +fi +SED=$ac_cv_path_SED +if test -n "$SED"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 +$as_echo "$SED" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$SED" || test "$SED" = "not_found"; then + as_fn_error "sed not found in PATH. Cannot continue without sed." "$LINENO" 5 +fi + + +# Extract the first word of "grep", so it can be a program name with args. +set dummy grep; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_GREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $GREP in + [\\/]* | ?:[\\/]*) + ac_cv_path_GREP="$GREP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="not_found" + ;; +esac +fi +GREP=$ac_cv_path_GREP +if test -n "$GREP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5 +$as_echo "$GREP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$GREP" || test "$GREP" = "not_found"; then + as_fn_error "grep not found in PATH. Cannot continue without grep." "$LINENO" 5 +fi + + +if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } + EGREP="$GREP -E" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5 +$as_echo "$EGREP" >&6; } +else + # Extract the first word of "egrep", so it can be a program name with args. +set dummy egrep; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $EGREP in + [\\/]* | ?:[\\/]*) + ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_EGREP" && ac_cv_path_EGREP="not_found" + ;; +esac +fi +EGREP=$ac_cv_path_EGREP +if test -n "$EGREP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5 +$as_echo "$EGREP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$EGREP" || test "$EGREP" = "not_found"; then + as_fn_error "egrep not found in PATH. Cannot continue without egrep." "$LINENO" 5 +fi + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $AR in + [\\/]* | ?:[\\/]*) + ac_cv_path_AR="$AR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +AR=$ac_cv_path_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_AR"; then + ac_pt_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_ac_pt_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_AR in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_AR="$ac_pt_AR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_AR="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_AR=$ac_cv_path_ac_pt_AR +if test -n "$ac_pt_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5 +$as_echo "$ac_pt_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_AR" = x; then + AR="not_found" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_pt_AR + fi +else + AR="$ac_cv_path_AR" +fi + +if test -z "$AR" || test "$AR" = "not_found"; then + as_fn_error "ar not found in PATH. Cannot continue without ar." "$LINENO" 5 +fi + + + + +if test -f ${srcdir}/include/curl/curlbuild.h; then + rm -f ${srcdir}/include/curl/curlbuild.h +fi + +VERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curlver.h` +am__api_version="1.9" +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + for ac_t in install-sh install.sh shtool; do + if test -f "$ac_dir/$ac_t"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/$ac_t -c" + break 2 + fi + done +done +if test -z "$ac_aux_dir"; then + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} \"$am_aux_dir/missing\"" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE=curl + VERSION=$VERSION + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +install_sh=${install_sh-"$am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking curl version" >&5 +$as_echo_n "checking curl version... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VERSION" >&5 +$as_echo "$VERSION" >&6; } + +VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/include/curl/curlver.h` + + +PKGADD_PKG="HAXXcurl" +PKGADD_NAME="cURL - a client that groks URLs" +PKGADD_VENDOR="curl.haxx.se" + + + + + curl_ssl_msg="no (--with-ssl / --with-gnutls / --with-nss)" + curl_ssh_msg="no (--with-libssh2)" + curl_zlib_msg="no (--with-zlib)" + curl_krb4_msg="no (--with-krb4*)" + curl_gss_msg="no (--with-gssapi)" + curl_spnego_msg="no (--with-spnego)" + curl_ares_msg="no (--enable-ares)" + curl_ipv6_msg="no (--enable-ipv6)" + curl_idn_msg="no (--with-libidn)" + curl_manual_msg="no (--enable-manual)" +curl_verbose_msg="enabled (--disable-verbose)" + curl_sspi_msg="no (--enable-sspi)" + curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)" + curl_ldaps_msg="no (--enable-ldaps)" + curl_rtsp_msg="no (--enable-rtsp)" + +ALL_LIBS=$LIBS + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if test "${ac_cv_build+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if test "${ac_cv_host+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + + +cat >>confdefs.h <<_ACEOF +#define OS "${host}" +_ACEOF + + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + + +if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + + + ac_save_CFLAGS="$CFLAGS" + ac_save_CPPFLAGS="$CPPFLAGS" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "C compiler cannot create executables +See \`config.log' for more details." "$LINENO" 5; }; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int main (void) +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if test "${ac_cv_objext+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of object files: cannot compile +See \`config.log' for more details." "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int main (void) +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + CFLAGS="$ac_save_CFLAGS" + CPPFLAGS="$ac_save_CPPFLAGS" + + + + +curl_includes_inttypes="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +/* includes end */" + case $host_os in + irix*) + ac_cv_header_stdint_h="no" + ;; + esac + for ac_header in sys/types.h stdint.h inttypes.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_inttypes +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if test "${ac_cv_path_GREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if test "${ac_cv_header_stdc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + # + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + # + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +$as_echo_n "checking size of long... " >&6; } +if test "${ac_cv_sizeof_long+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (long) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_long=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +$as_echo "$ac_cv_sizeof_long" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5 +$as_echo_n "checking size of void*... " >&6; } +if test "${ac_cv_sizeof_voidp+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_voidp" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (void*) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_voidp=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5 +$as_echo "$ac_cv_sizeof_voidp" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_VOIDP $ac_cv_sizeof_voidp +_ACEOF + + + # + if test -z "$ac_cv_sizeof_long" || + test "$ac_cv_sizeof_long" -eq "0"; then + as_fn_error "cannot find out size of long." "$LINENO" 5 + fi + if test -z "$ac_cv_sizeof_voidp" || + test "$ac_cv_sizeof_voidp" -eq "0"; then + as_fn_error "cannot find out size of void*." "$LINENO" 5 + fi + # + x_LP64_long="" + x_LP32_long="" + x_LP16_long="" + # + if test "$ac_cv_sizeof_long" -eq "8" && + test "$ac_cv_sizeof_voidp" -ge "8"; then + x_LP64_long="long" + elif test "$ac_cv_sizeof_long" -eq "4" && + test "$ac_cv_sizeof_voidp" -ge "4"; then + x_LP32_long="long" + elif test "$ac_cv_sizeof_long" -eq "2" && + test "$ac_cv_sizeof_voidp" -ge "2"; then + x_LP16_long="long" + fi + # + # + curl_typeof_curl_off_t="unknown" + curl_sizeof_curl_off_t="unknown" + curl_format_curl_off_t="unknown" + curl_format_curl_off_tu="unknown" + # + if test "$curl_typeof_curl_off_t" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit curl_off_t data type" >&5 +$as_echo_n "checking for 64-bit curl_off_t data type... " >&6; } + for t8 in \ + "$x_LP64_long" \ + 'int64_t' \ + '__int64' \ + 'long long' \ + '__longlong' \ + '__longlong_t' ; do + + if test "$curl_typeof_curl_off_t" = "unknown" && test ! -z "$t8"; then + tmp_includes="" + tmp_source="" + tmp_fmt="" + case `$as_echo "$t8" | $as_tr_sh` in + int64_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId64;" + tmp_fmt="PRId64" + ;; + int32_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId32;" + tmp_fmt="PRId32" + ;; + int16_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId16;" + tmp_fmt="PRId16" + ;; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $tmp_includes + typedef $t8 curl_off_t; + typedef char dummy_arr[sizeof(curl_off_t) == 8 ? 1 : -1]; + +int main (void) +{ + + $tmp_source + curl_off_t dummy; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + if test -z "$tmp_fmt"; then + curl_typeof_curl_off_t="$t8" + curl_sizeof_curl_off_t="8" + else + + as_ac_HaveDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh` + as_ac_Def=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh` + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_inttypes +#ifdef $tmp_fmt +CURL_DEF_TOKEN $tmp_fmt +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "$tmp_fmt"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + eval "$as_ac_HaveDef=no" + + else + eval "$as_ac_HaveDef=yes" + eval "$as_ac_Def=\$tmp_exp" + + fi + + as_tmp_HaveFmtDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh` + as_tmp_FmtDef=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh` + if test `eval 'as_val=${'$as_tmp_HaveFmtDef'};$as_echo "$as_val"'` = "yes"; then + curl_format_curl_off_t=`eval 'as_val=${'$as_tmp_FmtDef'};$as_echo "$as_val"'` + curl_typeof_curl_off_t="$t8" + curl_sizeof_curl_off_t="8" + fi + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + + done + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_typeof_curl_off_t" >&5 +$as_echo "$curl_typeof_curl_off_t" >&6; } + fi + if test "$curl_typeof_curl_off_t" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 32-bit curl_off_t data type" >&5 +$as_echo_n "checking for 32-bit curl_off_t data type... " >&6; } + for t4 in \ + "$x_LP32_long" \ + 'int32_t' \ + '__int32' \ + 'int' ; do + + if test "$curl_typeof_curl_off_t" = "unknown" && test ! -z "$t4"; then + tmp_includes="" + tmp_source="" + tmp_fmt="" + case `$as_echo "$t4" | $as_tr_sh` in + int64_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId64;" + tmp_fmt="PRId64" + ;; + int32_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId32;" + tmp_fmt="PRId32" + ;; + int16_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId16;" + tmp_fmt="PRId16" + ;; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $tmp_includes + typedef $t4 curl_off_t; + typedef char dummy_arr[sizeof(curl_off_t) == 4 ? 1 : -1]; + +int main (void) +{ + + $tmp_source + curl_off_t dummy; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + if test -z "$tmp_fmt"; then + curl_typeof_curl_off_t="$t4" + curl_sizeof_curl_off_t="4" + else + + as_ac_HaveDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh` + as_ac_Def=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh` + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_inttypes +#ifdef $tmp_fmt +CURL_DEF_TOKEN $tmp_fmt +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "$tmp_fmt"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + eval "$as_ac_HaveDef=no" + + else + eval "$as_ac_HaveDef=yes" + eval "$as_ac_Def=\$tmp_exp" + + fi + + as_tmp_HaveFmtDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh` + as_tmp_FmtDef=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh` + if test `eval 'as_val=${'$as_tmp_HaveFmtDef'};$as_echo "$as_val"'` = "yes"; then + curl_format_curl_off_t=`eval 'as_val=${'$as_tmp_FmtDef'};$as_echo "$as_val"'` + curl_typeof_curl_off_t="$t4" + curl_sizeof_curl_off_t="4" + fi + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + + done + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_typeof_curl_off_t" >&5 +$as_echo "$curl_typeof_curl_off_t" >&6; } + fi + if test "$curl_typeof_curl_off_t" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 16-bit curl_off_t data type" >&5 +$as_echo_n "checking for 16-bit curl_off_t data type... " >&6; } + for t2 in \ + "$x_LP16_long" \ + 'int16_t' \ + '__int16' \ + 'int' ; do + + if test "$curl_typeof_curl_off_t" = "unknown" && test ! -z "$t2"; then + tmp_includes="" + tmp_source="" + tmp_fmt="" + case `$as_echo "$t2" | $as_tr_sh` in + int64_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId64;" + tmp_fmt="PRId64" + ;; + int32_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId32;" + tmp_fmt="PRId32" + ;; + int16_t) + tmp_includes="$curl_includes_inttypes" + tmp_source="char f[] = PRId16;" + tmp_fmt="PRId16" + ;; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $tmp_includes + typedef $t2 curl_off_t; + typedef char dummy_arr[sizeof(curl_off_t) == 2 ? 1 : -1]; + +int main (void) +{ + + $tmp_source + curl_off_t dummy; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + if test -z "$tmp_fmt"; then + curl_typeof_curl_off_t="$t2" + curl_sizeof_curl_off_t="2" + else + + as_ac_HaveDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh` + as_ac_Def=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh` + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_inttypes +#ifdef $tmp_fmt +CURL_DEF_TOKEN $tmp_fmt +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "$tmp_fmt"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + eval "$as_ac_HaveDef=no" + + else + eval "$as_ac_HaveDef=yes" + eval "$as_ac_Def=\$tmp_exp" + + fi + + as_tmp_HaveFmtDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh` + as_tmp_FmtDef=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh` + if test `eval 'as_val=${'$as_tmp_HaveFmtDef'};$as_echo "$as_val"'` = "yes"; then + curl_format_curl_off_t=`eval 'as_val=${'$as_tmp_FmtDef'};$as_echo "$as_val"'` + curl_typeof_curl_off_t="$t2" + curl_sizeof_curl_off_t="2" + fi + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + + done + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_typeof_curl_off_t" >&5 +$as_echo "$curl_typeof_curl_off_t" >&6; } + fi + if test "$curl_typeof_curl_off_t" = "unknown"; then + as_fn_error "cannot find data type for curl_off_t." "$LINENO" 5 + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5 +$as_echo_n "checking size of curl_off_t... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_sizeof_curl_off_t" >&5 +$as_echo "$curl_sizeof_curl_off_t" >&6; } + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking formatting string directive for curl_off_t" >&5 +$as_echo_n "checking formatting string directive for curl_off_t... " >&6; } + if test "$curl_format_curl_off_t" != "unknown"; then + x_pull_headers="yes" + curl_format_curl_off_t=`echo "$curl_format_curl_off_t" | "$SED" 's/["]//g'` + curl_format_curl_off_tu=`echo "$curl_format_curl_off_t" | "$SED" 's/i$/u/'` + curl_format_curl_off_tu=`echo "$curl_format_curl_off_tu" | "$SED" 's/d$/u/'` + curl_format_curl_off_tu=`echo "$curl_format_curl_off_tu" | "$SED" 's/D$/U/'` + else + x_pull_headers="no" + case `$as_echo "$curl_typeof_curl_off_t" | $as_tr_sh` in + long_long | __longlong | __longlong_t) + curl_format_curl_off_t="lld" + curl_format_curl_off_tu="llu" + ;; + long) + curl_format_curl_off_t="ld" + curl_format_curl_off_tu="lu" + ;; + int) + curl_format_curl_off_t="d" + curl_format_curl_off_tu="u" + ;; + __int64) + curl_format_curl_off_t="I64d" + curl_format_curl_off_tu="I64u" + ;; + __int32) + curl_format_curl_off_t="I32d" + curl_format_curl_off_tu="I32u" + ;; + __int16) + curl_format_curl_off_t="I16d" + curl_format_curl_off_tu="I16u" + ;; + *) + as_fn_error "cannot find print format string for curl_off_t." "$LINENO" 5 + ;; + esac + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$curl_format_curl_off_t\"" >&5 +$as_echo "\"$curl_format_curl_off_t\"" >&6; } + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking formatting string directive for unsigned curl_off_t" >&5 +$as_echo_n "checking formatting string directive for unsigned curl_off_t... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$curl_format_curl_off_tu\"" >&5 +$as_echo "\"$curl_format_curl_off_tu\"" >&6; } + # + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking constant suffix string for curl_off_t" >&5 +$as_echo_n "checking constant suffix string for curl_off_t... " >&6; } + # + curl_suffix_curl_off_t="unknown" + curl_suffix_curl_off_tu="unknown" + # + case `$as_echo "$curl_typeof_curl_off_t" | $as_tr_sh` in + long_long | __longlong | __longlong_t) + tst_suffixes="LL::" + ;; + long) + tst_suffixes="L::" + ;; + int) + tst_suffixes="::" + ;; + __int64 | int64_t) + tst_suffixes="LL:i64::" + ;; + __int32 | int32_t) + tst_suffixes="L:i32::" + ;; + __int16 | int16_t) + tst_suffixes="L:i16::" + ;; + *) + as_fn_error "unexpected data type $curl_typeof_curl_off_t" "$LINENO" 5 + ;; + esac + # + old_IFS=$IFS; IFS=':' + for tmp_ssuf in $tst_suffixes ; do + IFS=$old_IFS + if test "x$curl_suffix_curl_off_t" = "xunknown"; then + case $tmp_ssuf in + i64 | i32 | i16) + tmp_usuf="u$tmp_ssuf" + ;; + LL | L) + tmp_usuf="U$tmp_ssuf" + ;; + *) + tmp_usuf="" + ;; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_inttypes + typedef $curl_typeof_curl_off_t new_t; + +int main (void) +{ + + new_t s1; + new_t s2; + s1 = -10$tmp_ssuf ; + s2 = 20$tmp_ssuf ; + if(s1 > s2) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_suffix_curl_off_t="$tmp_ssuf" + curl_suffix_curl_off_tu="$tmp_usuf" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + IFS=$old_IFS + # + if test "x$curl_suffix_curl_off_t" = "xunknown"; then + as_fn_error "cannot find constant suffix string for curl_off_t." "$LINENO" 5 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_suffix_curl_off_t" >&5 +$as_echo "$curl_suffix_curl_off_t" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking constant suffix string for unsigned curl_off_t" >&5 +$as_echo_n "checking constant suffix string for unsigned curl_off_t... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_suffix_curl_off_tu" >&5 +$as_echo "$curl_suffix_curl_off_tu" >&6; } + fi + # + + # + if test "$x_pull_headers" = "yes"; then + if test "x$ac_cv_header_sys_types_h" = "xyes"; then + +cat >>confdefs.h <<_EOF +#define CURL_PULL_SYS_TYPES_H 1 +_EOF + + fi + if test "x$ac_cv_header_stdint_h" = "xyes"; then + +cat >>confdefs.h <<_EOF +#define CURL_PULL_STDINT_H 1 +_EOF + + fi + if test "x$ac_cv_header_inttypes_h" = "xyes"; then + +cat >>confdefs.h <<_EOF +#define CURL_PULL_INTTYPES_H 1 +_EOF + + fi + fi + # + +cat >>confdefs.h <<_EOF +#define CURL_TYPEOF_CURL_OFF_T $curl_typeof_curl_off_t +_EOF + + +cat >>confdefs.h <<_EOF +#define CURL_FORMAT_CURL_OFF_T "$curl_format_curl_off_t" +_EOF + + +cat >>confdefs.h <<_EOF +#define CURL_FORMAT_CURL_OFF_TU "$curl_format_curl_off_tu" +_EOF + + +cat >>confdefs.h <<_EOF +#define CURL_FORMAT_OFF_T "%$curl_format_curl_off_t" +_EOF + + +cat >>confdefs.h <<_EOF +#define CURL_SIZEOF_CURL_OFF_T $curl_sizeof_curl_off_t +_EOF + + +cat >>confdefs.h <<_EOF +#define CURL_SUFFIX_CURL_OFF_T $curl_suffix_curl_off_t +_EOF + + +cat >>confdefs.h <<_EOF +#define CURL_SUFFIX_CURL_OFF_TU $curl_suffix_curl_off_tu +_EOF + + # + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 +$as_echo_n "checking if OS is AIX (to define _ALL_SOURCE)... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef _AIX + yes_this_is_aix +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes_this_is_aix" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f conftest* + + + + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is already defined" >&5 +$as_echo_n "checking if _THREAD_SAFE is already defined... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + +#ifdef _THREAD_SAFE + int dummy=1; +#else + force compilation error +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tmp_thread_safe_initially_defined="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tmp_thread_safe_initially_defined="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # + if test "$tmp_thread_safe_initially_defined" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is actually needed" >&5 +$as_echo_n "checking if _THREAD_SAFE is actually needed... " >&6; } + + case $host_os in + aix[123].* | aix4.[012].*) + tmp_need_thread_safe="no" + ;; + aix*) + tmp_need_thread_safe="yes" + ;; + *) + tmp_need_thread_safe="no" + ;; + esac + + if test "$tmp_need_thread_safe" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is onwards defined" >&5 +$as_echo_n "checking if _THREAD_SAFE is onwards defined... " >&6; } + if test "$tmp_thread_safe_initially_defined" = "yes" || + test "$tmp_need_thread_safe" = "yes"; then + + +$as_echo "#define NEED_THREAD_SAFE 1" >>confdefs.h + +cat >>confdefs.h <<_EOF +#ifndef _THREAD_SAFE +# define _THREAD_SAFE +#endif +_EOF + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + # + + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is already defined" >&5 +$as_echo_n "checking if _REENTRANT is already defined... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + +#ifdef _REENTRANT + int dummy=1; +#else + force compilation error +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tmp_reentrant_initially_defined="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tmp_reentrant_initially_defined="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # + if test "$tmp_reentrant_initially_defined" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is actually needed" >&5 +$as_echo_n "checking if _REENTRANT is actually needed... " >&6; } + + case $host_os in + solaris*) + tmp_need_reentrant="yes" + ;; + *) + tmp_need_reentrant="no" + ;; + esac + + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include + +int main (void) +{ + + if(0 != errno) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tmp_errno="yes" + +else + + tmp_errno="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$tmp_errno" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include + +int main (void) +{ + +#ifdef errno + int dummy=1; +#else + force compilation error +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tmp_errno="errno_macro_defined" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define _REENTRANT +#include + +int main (void) +{ + +#ifdef errno + int dummy=1; +#else + force compilation error +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tmp_errno="errno_macro_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define gmtime_r innocuous_gmtime_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef gmtime_r +#ifdef __cplusplus +extern "C" +#endif +char gmtime_r (); +#if defined __stub_gmtime_r || defined __stub___gmtime_r +choke me +#endif + +int main (void) +{ +return gmtime_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_gmtime_r="yes" + +else + + tmp_gmtime_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_gmtime_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gmtime_r" >/dev/null 2>&1; then : + + tmp_gmtime_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gmtime_r" >/dev/null 2>&1; then : + + tmp_gmtime_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define localtime_r innocuous_localtime_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef localtime_r +#ifdef __cplusplus +extern "C" +#endif +char localtime_r (); +#if defined __stub_localtime_r || defined __stub___localtime_r +choke me +#endif + +int main (void) +{ +return localtime_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_localtime_r="yes" + +else + + tmp_localtime_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_localtime_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "localtime_r" >/dev/null 2>&1; then : + + tmp_localtime_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "localtime_r" >/dev/null 2>&1; then : + + tmp_localtime_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strerror_r innocuous_strerror_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strerror_r +#ifdef __cplusplus +extern "C" +#endif +char strerror_r (); +#if defined __stub_strerror_r || defined __stub___strerror_r +choke me +#endif + +int main (void) +{ +return strerror_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_strerror_r="yes" + +else + + tmp_strerror_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_strerror_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strerror_r" >/dev/null 2>&1; then : + + tmp_strerror_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strerror_r" >/dev/null 2>&1; then : + + tmp_strerror_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strtok_r innocuous_strtok_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strtok_r +#ifdef __cplusplus +extern "C" +#endif +char strtok_r (); +#if defined __stub_strtok_r || defined __stub___strtok_r +choke me +#endif + +int main (void) +{ +return strtok_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_strtok_r="yes" + +else + + tmp_strtok_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_strtok_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strtok_r" >/dev/null 2>&1; then : + + tmp_strtok_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strtok_r" >/dev/null 2>&1; then : + + tmp_strtok_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_inet_ntoa_r="yes" + +else + + tmp_inet_ntoa_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_inet_ntoa_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "inet_ntoa_r" >/dev/null 2>&1; then : + + tmp_inet_ntoa_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "inet_ntoa_r" >/dev/null 2>&1; then : + + tmp_inet_ntoa_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define gethostbyaddr_r innocuous_gethostbyaddr_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef gethostbyaddr_r +#ifdef __cplusplus +extern "C" +#endif +char gethostbyaddr_r (); +#if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r +choke me +#endif + +int main (void) +{ +return gethostbyaddr_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_gethostbyaddr_r="yes" + +else + + tmp_gethostbyaddr_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_gethostbyaddr_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then : + + tmp_gethostbyaddr_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then : + + tmp_gethostbyaddr_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define gethostbyname_r innocuous_gethostbyname_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef gethostbyname_r +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname_r (); +#if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r +choke me +#endif + +int main (void) +{ +return gethostbyname_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_gethostbyname_r="yes" + +else + + tmp_gethostbyname_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_gethostbyname_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostbyname_r" >/dev/null 2>&1; then : + + tmp_gethostbyname_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostbyname_r" >/dev/null 2>&1; then : + + tmp_gethostbyname_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_getprotobyname_r="yes" + +else + + tmp_getprotobyname_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_getprotobyname_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getprotobyname_r" >/dev/null 2>&1; then : + + tmp_getprotobyname_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getprotobyname_r" >/dev/null 2>&1; then : + + tmp_getprotobyname_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + if test "$tmp_need_reentrant" = "no"; then + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define getservbyport_r innocuous_getservbyport_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef getservbyport_r +#ifdef __cplusplus +extern "C" +#endif +char getservbyport_r (); +#if defined __stub_getservbyport_r || defined __stub___getservbyport_r +choke me +#endif + +int main (void) +{ +return getservbyport_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_getservbyport_r="yes" + +else + + tmp_getservbyport_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$tmp_getservbyport_r" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getservbyport_r" >/dev/null 2>&1; then : + + tmp_getservbyport_r="proto_declared" + +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _REENTRANT +#include +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getservbyport_r" >/dev/null 2>&1; then : + + tmp_getservbyport_r="proto_needs_reentrant" + tmp_need_reentrant="yes" + +fi +rm -f conftest* + + +fi +rm -f conftest* + + fi + + fi + + fi + if test "$tmp_need_reentrant" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is onwards defined" >&5 +$as_echo_n "checking if _REENTRANT is onwards defined... " >&6; } + if test "$tmp_reentrant_initially_defined" = "yes" || + test "$tmp_need_reentrant" = "yes"; then + + +$as_echo "#define NEED_REENTRANT 1" >>confdefs.h + +cat >>confdefs.h <<_EOF +#ifndef _REENTRANT +# define _REENTRANT +#endif +_EOF + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + # + + +# Check whether --enable-largefile was given. +if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; +fi + +if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +if test "${ac_cv_sys_largefile_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int main (void) +{ + + ; + return 0; +} +_ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + break +fi +rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break +fi +rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +$as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if test "${ac_cv_sys_file_offset_bits+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _FILE_OFFSET_BITS 64 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF +;; +esac +rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +if test "${ac_cv_sys_large_files+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _LARGE_FILES 1 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } +case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF +;; +esac +rm -rf conftest* + fi +fi + + +enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. +set dummy ${ac_tool_prefix}as; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AS+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AS"; then + ac_cv_prog_AS="$AS" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AS="${ac_tool_prefix}as" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AS=$ac_cv_prog_AS +if test -n "$AS"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 +$as_echo "$AS" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_AS"; then + ac_ct_AS=$AS + # Extract the first word of "as", so it can be a program name with args. +set dummy as; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AS"; then + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AS="as" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AS=$ac_cv_prog_ac_ct_AS +if test -n "$ac_ct_AS"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 +$as_echo "$ac_ct_AS" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_AS" = x; then + AS="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AS=$ac_ct_AS + fi +else + AS="$ac_cv_prog_AS" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_DLLTOOL+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DLLTOOL=$ac_ct_DLLTOOL + fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_OBJDUMP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + + ;; +esac + +test -z "$AS" && AS=as + + + + + +test -z "$DLLTOOL" && DLLTOOL=dlltool + + + + + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC)" >&5 +$as_echo_n "checking if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC)... " >&6; } +case $host in + x86_64*linux*|amd64*freebsd*|ia64*freebsd*) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + with_pic=yes + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is icc (to build with PIC)" >&5 +$as_echo_n "checking if compiler is icc (to build with PIC)... " >&6; } +case $CC in + icc | */icc) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + with_pic=yes + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; +esac + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.2.6b' +macro_revision='1.3017' + + + + + + + + + + + + + +ltmain="$ac_aux_dir/ltmain.sh" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if test "${ac_cv_path_SED+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi +else + ac_cv_path_SED=$SED +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } +if test "${ac_cv_path_FGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 + then ac_cv_path_FGREP="$GREP -F" + else + if test -z "$FGREP"; then + ac_path_FGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue +# Check for GNU ac_path_FGREP and select it if it is found. + # Check for GNU $ac_path_FGREP +case `"$ac_path_FGREP" --version 2>&1` in +*GNU*) + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" + ac_path_FGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_FGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_FGREP=$FGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + + +test -z "$GREP" && GREP=grep + + + + + + + + + + + + + + + + + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if test "${lt_cv_path_NM+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$ac_tool_prefix"; then + for ac_prog in "dumpbin -symbols" "link -dump -symbols" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_DUMPBIN+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DUMPBIN"; then + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DUMPBIN=$ac_cv_prog_DUMPBIN +if test -n "$DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$DUMPBIN" && break + done +fi +if test -z "$DUMPBIN"; then + ac_ct_DUMPBIN=$DUMPBIN + for ac_prog in "dumpbin -symbols" "link -dump -symbols" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DUMPBIN"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN +if test -n "$ac_ct_DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_DUMPBIN" && break +done + + if test "x$ac_ct_DUMPBIN" = x; then + DUMPBIN=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DUMPBIN=$ac_ct_DUMPBIN + fi +fi + + + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } +if test "${lt_cv_nm_interface+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:7839: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 + (eval echo "\"\$as_me:7842: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 + (eval echo "\"\$as_me:7845: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if test "${lt_cv_sys_max_cmd_len+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ + = "XX$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +fi +max_cmd_len=$lt_cv_sys_max_cmd_len + + + + + + +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +$as_echo "$xsi_shell" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } +lt_shell_append=no +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +$as_echo "$lt_shell_append" >&6; } + + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi + + + + + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if test "${lt_cv_ld_reload_flag+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_OBJDUMP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } +if test "${lt_cv_deplibs_check_method+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + if ( file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AR="${ac_tool_prefix}ar" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AR="ar" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +else + AR="$ac_cv_prog_AR" +fi + +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru + + + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +test -z "$STRIP" && STRIP=: + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +test -z "$RANLIB" && RANLIB=: + + + + + + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[ABCDGISTW]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK '"\ +" {last_section=section; section=\$ 3};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + + + + + + + + + + + + + + + + + + + + + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line 9047 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if test "${lt_cv_cc_needs_belf+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" + + + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_NMEDIT+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. +set dummy ${ac_tool_prefix}lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_LIPO+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_LIPO"; then + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. +set dummy lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_LIPO"; then + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_LIPO="lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO +if test -n "$ac_ct_LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_LIPO" = x; then + LIPO=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIPO=$ac_ct_LIPO + fi +else + LIPO="$ac_cv_prog_LIPO" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_OTOOL+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL"; then + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL=$ac_cv_prog_OTOOL +if test -n "$OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL"; then + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. +set dummy otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL"; then + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OTOOL="otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL +if test -n "$ac_ct_OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL" = x; then + OTOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL=$ac_ct_OTOOL + fi +else + OTOOL="$ac_cv_prog_OTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_OTOOL64+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL64"; then + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL64=$ac_cv_prog_OTOOL64 +if test -n "$OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL64"; then + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. +set dummy otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL64"; then + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OTOOL64="otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 +if test -n "$ac_ct_OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL64" = x; then + OTOOL64=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL64=$ac_ct_OTOOL64 + fi +else + OTOOL64="$ac_cv_prog_OTOOL64" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } +if test "${lt_cv_apple_cc_single_mod+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&5 + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes +else + lt_cv_ld_exported_symbols_list=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[012]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + + + +# Set options + + + + enable_dlopen=no + + + + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + + + + + + + + + # Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + + + + + + + + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; pic_mode="$withval" +else + pic_mode=default +fi + + +test -z "$pic_mode" && pic_mode=default + + + + + + + + # Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + + + + + + + + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + + + + + + + + + + + + + + + + + + + + + + + +test -z "$LN_S" && LN_S="ln -s" + + + + + + + + + + + + + + +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if test "${lt_cv_objdir+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF + + + + + + + + + + + + + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +# Use C for the default configuration in the libtool script + +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* + + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10305: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:10309: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + + + + + + + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl*) + # IBM XL C 8.0/Fortran 10.1 on PPC + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 +$as_echo "$lt_prog_compiler_pic" >&6; } + + + + + + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10644: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:10648: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if test "${lt_cv_prog_compiler_static_works+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } + +if test x"$lt_cv_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10749: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:10753: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10804: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:10808: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + always_export_symbols=no + archive_cmds= + archive_expsym_cmds= + compiler_needs_object=no + enable_shared_with_static_runtimes=no + export_dynamic_flag_spec= + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + hardcode_automatic=no + hardcode_direct=no + hardcode_direct_absolute=no + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no + link_all_deplibs=unknown + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= + old_archive_from_expsyms_cmds= + thread_safe_flag_spec= + whole_archive_flag_spec= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + linux* | k*bsd*-gnu) + link_all_deplibs=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag= + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; + xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld='-rpath $libdir' + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + ld_shlibs=no + fi + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = no; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_direct_absolute=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + file_list_spec='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + link_all_deplibs=no + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + export_dynamic_flag_spec='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + + + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='' + link_all_deplibs=yes + allow_undefined_flag="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=echo + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + + else + ld_shlibs=no + fi + + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo(void) {} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + inherit_rpath=yes + link_all_deplibs=yes + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + hardcode_direct_absolute=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + archive_cmds_need_lc='no' + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='${wl}-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='${wl}-z,text' + allow_undefined_flag='${wl}-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-R,$libdir' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + export_dynamic_flag_spec='${wl}-Blargedynsym' + ;; + esac + fi + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +with_gnu_ld=$with_gnu_ld + + + + + + + + + + + + + + + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 +$as_echo "$archive_cmds_need_lc" >&6; } + ;; + esac + fi + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } + +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` + else + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # Some binutils ld are patched to set DT_RUNPATH + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || + test -n "$runpath_var" || + test "X$hardcode_automatic" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test "$hardcode_action" = relink || + test "$inherit_rpath" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int main (void) +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int main (void) +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int main (void) +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int main (void) +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int main (void) +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line 13170 "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line 13266 "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + + + + + + + + + + + + + + + + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + + + + + + + + + + + # Report which library types will actually be built + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + + + + +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + + + + + + + + + + + + + ac_config_commands="$ac_config_commands libtool" + + + + +# Only expand once: + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -mimpure-text" >&5 +$as_echo_n "checking if we need -mimpure-text... " >&6; } +mimpure=no +case $host in + *-*-solaris2*) + if test "$GCC" = "yes"; then + mimpure="yes" + fi + ;; + *) + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mimpure" >&5 +$as_echo "$mimpure" >&6; } + + +if test x$mimpure = xyes; then + MIMPURE_TRUE= + MIMPURE_FALSE='#' +else + MIMPURE_TRUE='#' + MIMPURE_FALSE= +fi + + + +if false; then + STATICLIB_TRUE= + STATICLIB_FALSE='#' +else + STATICLIB_TRUE='#' + STATICLIB_FALSE= +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need BUILDING_LIBCURL" >&5 +$as_echo_n "checking if we need BUILDING_LIBCURL... " >&6; } +case $host in + *-*-mingw*) + +$as_echo "#define BUILDING_LIBCURL 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need CURL_STATICLIB" >&5 +$as_echo_n "checking if we need CURL_STATICLIB... " >&6; } + if test "X$enable_shared" = "Xno" + then + +$as_echo "#define CURL_STATICLIB 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + +if true; then + STATICLIB_TRUE= + STATICLIB_FALSE='#' +else + STATICLIB_TRUE='#' + STATICLIB_FALSE= +fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; +esac + +# Determine whether all dependent libraries must be specified when linking +if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno" +then + REQUIRE_LIB_DEPS=no +else + REQUIRE_LIB_DEPS=yes +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +$as_echo_n "checking for inline... " >&6; } +if test "${ac_cv_c_inline+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + + + + + # + compiler_id="unknown" + compiler_num="0" + # + flags_dbg_all="unknown" + flags_dbg_yes="unknown" + flags_dbg_off="unknown" + flags_opt_all="unknown" + flags_opt_yes="unknown" + flags_opt_off="unknown" + # + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5 +$as_echo_n "checking if compiler is DEC/Compaq/HP C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __DECC +CURL_DEF_TOKEN __DECC +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___DECC=no + + else + curl_cv_have_def___DECC=yes + curl_cv_def___DECC=$tmp_exp + + fi + + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __DECC_VER +CURL_DEF_TOKEN __DECC_VER +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___DECC_VER=no + + else + curl_cv_have_def___DECC_VER=yes + curl_cv_def___DECC_VER=$tmp_exp + + fi + + if test "$curl_cv_have_def___DECC" = "yes" && + test "$curl_cv_have_def___DECC_VER" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="DEC_C" + flags_dbg_all="-g -g0 -g1 -g2 -g3" + flags_dbg_yes="-g2" + flags_dbg_off="-g0" + flags_opt_all="-O -O0 -O1 -O2 -O3 -O4" + flags_opt_yes="-O1" + flags_opt_off="-O0" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5 +$as_echo_n "checking if compiler is HP-UX C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __HP_cc +CURL_DEF_TOKEN __HP_cc +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___HP_cc=no + + else + curl_cv_have_def___HP_cc=yes + curl_cv_def___HP_cc=$tmp_exp + + fi + + if test "$curl_cv_have_def___HP_cc" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="HP_UX_C" + flags_dbg_all="-g -s" + flags_dbg_yes="-g" + flags_dbg_off="-s" + flags_opt_all="-O +O0 +O1 +O2 +O3 +O4" + flags_opt_yes="+O2" + flags_opt_off="+O0" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5 +$as_echo_n "checking if compiler is IBM C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __IBMC__ +CURL_DEF_TOKEN __IBMC__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___IBMC__=no + + else + curl_cv_have_def___IBMC__=yes + curl_cv_def___IBMC__=$tmp_exp + + fi + + if test "$curl_cv_have_def___IBMC__" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="IBM_C" + flags_dbg_all="-g -g0 -g1 -g2 -g3" + flags_dbg_yes="-g" + flags_dbg_off="" + flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5" + flags_opt_all="$flags_opt_all -qnooptimize" + flags_opt_all="$flags_opt_all -qoptimize=0" + flags_opt_all="$flags_opt_all -qoptimize=1" + flags_opt_all="$flags_opt_all -qoptimize=2" + flags_opt_all="$flags_opt_all -qoptimize=3" + flags_opt_all="$flags_opt_all -qoptimize=4" + flags_opt_all="$flags_opt_all -qoptimize=5" + flags_opt_yes="-O2" + flags_opt_off="-qnooptimize" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5 +$as_echo_n "checking if compiler is Intel C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __INTEL_COMPILER +CURL_DEF_TOKEN __INTEL_COMPILER +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___INTEL_COMPILER=no + + else + curl_cv_have_def___INTEL_COMPILER=yes + curl_cv_def___INTEL_COMPILER=$tmp_exp + + fi + + if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_num="$curl_cv_def___INTEL_COMPILER" + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __unix__ +CURL_DEF_TOKEN __unix__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = ""; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___unix__=no + + else + curl_cv_have_def___unix__=yes + curl_cv_def___unix__=$tmp_exp + + fi + + if test "$curl_cv_have_def___unix__" = "yes"; then + compiler_id="INTEL_UNIX_C" + flags_dbg_all="-g -g0" + flags_dbg_yes="-g" + flags_dbg_off="-g0" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Os" + flags_opt_yes="-O2" + flags_opt_off="-O0" + else + compiler_id="INTEL_WINDOWS_C" + flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-" + flags_dbg_all="$flags_dbg_all /debug" + flags_dbg_all="$flags_dbg_all /debug:none" + flags_dbg_all="$flags_dbg_all /debug:minimal" + flags_dbg_all="$flags_dbg_all /debug:partial" + flags_dbg_all="$flags_dbg_all /debug:full" + flags_dbg_all="$flags_dbg_all /debug:semantic_stepping" + flags_dbg_all="$flags_dbg_all /debug:extended" + flags_dbg_yes="/Zi /Oy-" + flags_dbg_off="/debug:none /Oy-" + flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-" + flags_opt_yes="/O2" + flags_opt_off="/Od" + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5 +$as_echo_n "checking if compiler is clang... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __clang__ +CURL_DEF_TOKEN __clang__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___clang__=no + + else + curl_cv_have_def___clang__=yes + curl_cv_def___clang__=$tmp_exp + + fi + + if test "$curl_cv_have_def___clang__" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="CLANG" + clangver=`$CC -dumpversion` + clangvhi=`echo $clangver | cut -d . -f1` + clangvlo=`echo $clangver | cut -d . -f2` + compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null` + flags_dbg_all="-g -g0 -g1 -g2 -g3" + flags_dbg_all="$flags_dbg_all -ggdb" + flags_dbg_all="$flags_dbg_all -gstabs" + flags_dbg_all="$flags_dbg_all -gstabs+" + flags_dbg_all="$flags_dbg_all -gcoff" + flags_dbg_all="$flags_dbg_all -gxcoff" + flags_dbg_all="$flags_dbg_all -gdwarf-2" + flags_dbg_all="$flags_dbg_all -gvms" + flags_dbg_yes="-g" + flags_dbg_off="-g0" + flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4" + flags_opt_yes="-Os" + flags_opt_off="-O0" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5 +$as_echo_n "checking if compiler is GNU C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __GNUC__ +CURL_DEF_TOKEN __GNUC__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___GNUC__=no + + else + curl_cv_have_def___GNUC__=yes + curl_cv_def___GNUC__=$tmp_exp + + fi + + if test "$curl_cv_have_def___GNUC__" = "yes" && + test "$compiler_id" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="GNU_C" + gccver=`$CC -dumpversion` + gccvhi=`echo $gccver | cut -d . -f1` + gccvlo=`echo $gccver | cut -d . -f2` + compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` + flags_dbg_all="-g -g0 -g1 -g2 -g3" + flags_dbg_all="$flags_dbg_all -ggdb" + flags_dbg_all="$flags_dbg_all -gstabs" + flags_dbg_all="$flags_dbg_all -gstabs+" + flags_dbg_all="$flags_dbg_all -gcoff" + flags_dbg_all="$flags_dbg_all -gxcoff" + flags_dbg_all="$flags_dbg_all -gdwarf-2" + flags_dbg_all="$flags_dbg_all -gvms" + flags_dbg_yes="-g" + flags_dbg_off="-g0" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Os" + flags_opt_yes="-O2" + flags_opt_off="-O0" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5 +$as_echo_n "checking if compiler is LCC... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __LCC__ +CURL_DEF_TOKEN __LCC__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___LCC__=no + + else + curl_cv_have_def___LCC__=yes + curl_cv_def___LCC__=$tmp_exp + + fi + + if test "$curl_cv_have_def___LCC__" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="LCC" + flags_dbg_all="-g" + flags_dbg_yes="-g" + flags_dbg_off="" + flags_opt_all="" + flags_opt_yes="" + flags_opt_off="" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5 +$as_echo_n "checking if compiler is SGI MIPSpro C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __GNUC__ +CURL_DEF_TOKEN __GNUC__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___GNUC__=no + + else + curl_cv_have_def___GNUC__=yes + curl_cv_def___GNUC__=$tmp_exp + + fi + + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef _COMPILER_VERSION +CURL_DEF_TOKEN _COMPILER_VERSION +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def__COMPILER_VERSION=no + + else + curl_cv_have_def__COMPILER_VERSION=yes + curl_cv_def__COMPILER_VERSION=$tmp_exp + + fi + + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef _SGI_COMPILER_VERSION +CURL_DEF_TOKEN _SGI_COMPILER_VERSION +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def__SGI_COMPILER_VERSION=no + + else + curl_cv_have_def__SGI_COMPILER_VERSION=yes + curl_cv_def__SGI_COMPILER_VERSION=$tmp_exp + + fi + + if test "$curl_cv_have_def___GNUC__" = "no" && + (test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes" || + test "$curl_cv_have_def__COMPILER_VERSION" = "yes"); then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="SGI_MIPSPRO_C" + flags_dbg_all="-g -g0 -g1 -g2 -g3" + flags_dbg_yes="-g" + flags_dbg_off="-g0" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast" + flags_opt_yes="-O2" + flags_opt_off="-O0" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5 +$as_echo_n "checking if compiler is SGI MIPS C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __GNUC__ +CURL_DEF_TOKEN __GNUC__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___GNUC__=no + + else + curl_cv_have_def___GNUC__=yes + curl_cv_def___GNUC__=$tmp_exp + + fi + + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __sgi +CURL_DEF_TOKEN __sgi +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___sgi=no + + else + curl_cv_have_def___sgi=yes + curl_cv_def___sgi=$tmp_exp + + fi + + if test "$curl_cv_have_def___GNUC__" = "no" && + test "$curl_cv_have_def___sgi" = "yes" && + test "$compiler_id" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="SGI_MIPS_C" + flags_dbg_all="-g -g0 -g1 -g2 -g3" + flags_dbg_yes="-g" + flags_dbg_off="-g0" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast" + flags_opt_yes="-O2" + flags_opt_off="-O0" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5 +$as_echo_n "checking if compiler is SunPro C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __SUNPRO_C +CURL_DEF_TOKEN __SUNPRO_C +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___SUNPRO_C=no + + else + curl_cv_have_def___SUNPRO_C=yes + curl_cv_def___SUNPRO_C=$tmp_exp + + fi + + if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="SUNPRO_C" + flags_dbg_all="-g -s" + flags_dbg_yes="-g" + flags_dbg_off="-s" + flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5" + flags_opt_yes="-xO2" + flags_opt_off="" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5 +$as_echo_n "checking if compiler is Tiny C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __TINYC__ +CURL_DEF_TOKEN __TINYC__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___TINYC__=no + + else + curl_cv_have_def___TINYC__=yes + curl_cv_def___TINYC__=$tmp_exp + + fi + + if test "$curl_cv_have_def___TINYC__" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + compiler_id="TINY_C" + flags_dbg_all="-g -b" + flags_dbg_yes="-g" + flags_dbg_off="" + flags_opt_all="" + flags_opt_yes="" + flags_opt_off="" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Watcom C" >&5 +$as_echo_n "checking if compiler is Watcom C... " >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __WATCOMC__ +CURL_DEF_TOKEN __WATCOMC__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__WATCOMC__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___WATCOMC__=no + + else + curl_cv_have_def___WATCOMC__=yes + curl_cv_def___WATCOMC__=$tmp_exp + + fi + + if test "$curl_cv_have_def___WATCOMC__" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + if test -z "$SED"; then + as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5 + fi + if test -z "$GREP"; then + as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 + fi + + tmp_exp="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __UNIX__ +CURL_DEF_TOKEN __UNIX__ +#endif + + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ + "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ + "$SED" 's/.*CURL_DEF_TOKEN[ ]//' 2>/dev/null | \ + "$SED" 's/["][ ]*["]//g' 2>/dev/null` + if test -z "$tmp_exp" || test "$tmp_exp" = "__UNIX__"; then + tmp_exp="" + fi + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$tmp_exp"; then + curl_cv_have_def___UNIX__=no + + else + curl_cv_have_def___UNIX__=yes + curl_cv_def___UNIX__=$tmp_exp + + fi + + if test "$curl_cv_have_def___UNIX__" = "yes"; then + compiler_id="WATCOM_UNIX_C" + flags_dbg_all="-g1 -g1+ -g2 -g3" + flags_dbg_yes="-g2" + flags_dbg_off="" + flags_opt_all="-O0 -O1 -O2 -O3" + flags_opt_yes="-O2" + flags_opt_off="-O0" + else + compiler_id="WATCOM_WINDOWS_C" + flags_dbg_all="" + flags_dbg_yes="" + flags_dbg_off="" + flags_opt_all="" + flags_opt_yes="" + flags_opt_off="" + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + # + if test "$compiler_id" = "unknown"; then + cat <<_EOF 1>&2 +*** +*** Warning: This configure script does not have information about the +*** compiler you are using, relative to the flags required to enable or +*** disable generation of debug info, optimization options or warnings. +*** +*** Whatever settings are present in CFLAGS will be used for this run. +*** +*** If you wish to help the cURL project to better support your compiler +*** you can report this and the required info on the libcurl development +*** mailing list: http://cool.haxx.se/mailman/listinfo/curl-library/ +*** +_EOF + fi + + +squeeze() { + _sqz_result="" + eval _sqz_input=\$$1 + for _sqz_token in $_sqz_input; do + if test -z "$_sqz_result"; then + _sqz_result="$_sqz_token" + else + _sqz_result="$_sqz_result $_sqz_token" + fi + done + eval $1=\$_sqz_result + return 0 +} + + + # + if test "$compiler_id" != "unknown"; then + # + if test "$compiler_id" = "GNU_C" || + test "$compiler_id" = "CLANG"; then + + tmp_has_include="no" + tmp_chg_FLAGS="$CFLAGS" + for word1 in $tmp_chg_FLAGS; do + case "$word1" in + -I*) + tmp_has_include="yes" + ;; + esac + done + if test "$tmp_has_include" = "yes"; then + tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'` + tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'` + CFLAGS="$tmp_chg_FLAGS" + squeeze CFLAGS + fi + tmp_has_include="no" + tmp_chg_FLAGS="$CPPFLAGS" + for word1 in $tmp_chg_FLAGS; do + case "$word1" in + -I*) + tmp_has_include="yes" + ;; + esac + done + if test "$tmp_has_include" = "yes"; then + tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'` + tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'` + CPPFLAGS="$tmp_chg_FLAGS" + squeeze CPPFLAGS + fi + + fi + # + tmp_save_CPPFLAGS="$CPPFLAGS" + tmp_save_CFLAGS="$CFLAGS" + tmp_CPPFLAGS="" + tmp_CFLAGS="" + # + case "$compiler_id" in + # + CLANG) + # + tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments" + ;; + # + DEC_C) + # + tmp_CFLAGS="$tmp_CFLAGS -std1" + tmp_CFLAGS="$tmp_CFLAGS -noansi_alias" + tmp_CFLAGS="$tmp_CFLAGS -warnprotos" + tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs" + ;; + # + GNU_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + HP_UX_C) + # + tmp_CFLAGS="$tmp_CFLAGS -z" + tmp_CFLAGS="$tmp_CFLAGS +W 4227,4255" + ;; + # + IBM_C) + # + tmp_CFLAGS="$tmp_CFLAGS -qthreaded" + tmp_CFLAGS="$tmp_CFLAGS -qnoansialias" + tmp_CFLAGS="$tmp_CFLAGS -qhalt=e" + ;; + # + INTEL_UNIX_C) + # + tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" + tmp_CPPFLAGS="$tmp_CPPFLAGS -we 140,147,165,266" + tmp_CPPFLAGS="$tmp_CPPFLAGS -wd 279,981,1469" + ;; + # + INTEL_WINDOWS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + LCC) + # + tmp_CFLAGS="$tmp_CFLAGS -n" + ;; + # + SGI_MIPS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + SGI_MIPSPRO_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + SUNPRO_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + TINY_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + WATCOM_UNIX_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + WATCOM_WINDOWS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + esac + # + squeeze tmp_CPPFLAGS + squeeze tmp_CFLAGS + # + if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5 +$as_echo_n "checking if compiler accepts some basic options... " >&6; } + CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS" + squeeze CPPFLAGS + squeeze CFLAGS + + tmp_compiler_works="unknown" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + int i = 1; + return i; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + sed 's/^/cc-fail: /' conftest.err >&6 + echo " " >&6 + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$tmp_compiler_works" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + int i = 1; + return i; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + sed 's/^/link-fail: /' conftest.err >&6 + echo " " >&6 + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + if test "x$cross_compiling" != "xyes" && + test "$tmp_compiler_works" = "yes"; then + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +# ifdef __STDC__ +# include +# endif + +int main (void) +{ + + int i = 0; + exit(i); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + echo "run-fail: test program exited with status $ac_status" >&6 + echo " " >&6 + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + if test "$tmp_compiler_works" = "yes"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5 +$as_echo "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;} + + else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5 +$as_echo "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;} + CPPFLAGS="$tmp_save_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS" + + fi + + fi + # + fi + + + # + if test "$compiler_id" != "unknown"; then + # + tmp_save_CFLAGS="$CFLAGS" + tmp_save_CPPFLAGS="$CPPFLAGS" + # + tmp_options="" + tmp_CFLAGS="$CFLAGS" + tmp_CPPFLAGS="$CPPFLAGS" + + ac_var_stripped="" + for word1 in $tmp_CFLAGS; do + ac_var_strip_word="no" + for word2 in $flags_dbg_all; do + if test "$word1" = "$word2"; then + ac_var_strip_word="yes" + fi + done + if test "$ac_var_strip_word" = "no"; then + ac_var_stripped="$ac_var_stripped $word1" + fi + done + tmp_CFLAGS="$ac_var_stripped" + squeeze tmp_CFLAGS + + + ac_var_stripped="" + for word1 in $tmp_CPPFLAGS; do + ac_var_strip_word="no" + for word2 in $flags_dbg_all; do + if test "$word1" = "$word2"; then + ac_var_strip_word="yes" + fi + done + if test "$ac_var_strip_word" = "no"; then + ac_var_stripped="$ac_var_stripped $word1" + fi + done + tmp_CPPFLAGS="$ac_var_stripped" + squeeze tmp_CPPFLAGS + + # + if test "$want_debug" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options" >&5 +$as_echo_n "checking if compiler accepts debug enabling options... " >&6; } + tmp_options="$flags_dbg_yes" + fi + if test "$want_debug" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug disabling options" >&5 +$as_echo_n "checking if compiler accepts debug disabling options... " >&6; } + tmp_options="$flags_dbg_off" + fi + # + CPPFLAGS="$tmp_CPPFLAGS" + CFLAGS="$tmp_CFLAGS $tmp_options" + squeeze CPPFLAGS + squeeze CFLAGS + + tmp_compiler_works="unknown" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + int i = 1; + return i; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + sed 's/^/cc-fail: /' conftest.err >&6 + echo " " >&6 + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$tmp_compiler_works" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + int i = 1; + return i; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + sed 's/^/link-fail: /' conftest.err >&6 + echo " " >&6 + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + if test "x$cross_compiling" != "xyes" && + test "$tmp_compiler_works" = "yes"; then + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +# ifdef __STDC__ +# include +# endif + +int main (void) +{ + + int i = 0; + exit(i); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + echo "run-fail: test program exited with status $ac_status" >&6 + echo " " >&6 + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + if test "$tmp_compiler_works" = "yes"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5 +$as_echo "$as_me: compiler options added: $tmp_options" >&6;} + + else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5 +$as_echo "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + CPPFLAGS="$tmp_save_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS" + + fi + + # + fi + + + # + if test "$compiler_id" != "unknown"; then + # + tmp_save_CFLAGS="$CFLAGS" + tmp_save_CPPFLAGS="$CPPFLAGS" + # + tmp_options="" + tmp_CFLAGS="$CFLAGS" + tmp_CPPFLAGS="$CPPFLAGS" + honor_optimize_option="yes" + # + # + if test "$want_optimize" = "assume_no" || + test "$want_optimize" = "assume_yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might be used" >&5 +$as_echo_n "checking if compiler optimizer assumed setting might be used... " >&6; } + + + ac_var_match_word="no" + for word1 in $tmp_CFLAGS; do + for word2 in $flags_opt_all; do + if test "$word1" = "$word2"; then + ac_var_match_word="yes" + fi + done + done + + if test "$ac_var_match_word" = "yes"; then + + honor_optimize_option="no" + + + fi + + + + ac_var_match_word="no" + for word1 in $tmp_CPPFLAGS; do + for word2 in $flags_opt_all; do + if test "$word1" = "$word2"; then + ac_var_match_word="yes" + fi + done + done + + if test "$ac_var_match_word" = "yes"; then + + honor_optimize_option="no" + + + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5 +$as_echo "$honor_optimize_option" >&6; } + if test "$honor_optimize_option" = "yes"; then + if test "$want_optimize" = "assume_yes"; then + want_optimize="yes" + fi + if test "$want_optimize" = "assume_no"; then + want_optimize="no" + fi + fi + fi + # + if test "$honor_optimize_option" = "yes"; then + + ac_var_stripped="" + for word1 in $tmp_CFLAGS; do + ac_var_strip_word="no" + for word2 in $flags_opt_all; do + if test "$word1" = "$word2"; then + ac_var_strip_word="yes" + fi + done + if test "$ac_var_strip_word" = "no"; then + ac_var_stripped="$ac_var_stripped $word1" + fi + done + tmp_CFLAGS="$ac_var_stripped" + squeeze tmp_CFLAGS + + + ac_var_stripped="" + for word1 in $tmp_CPPFLAGS; do + ac_var_strip_word="no" + for word2 in $flags_opt_all; do + if test "$word1" = "$word2"; then + ac_var_strip_word="yes" + fi + done + if test "$ac_var_strip_word" = "no"; then + ac_var_stripped="$ac_var_stripped $word1" + fi + done + tmp_CPPFLAGS="$ac_var_stripped" + squeeze tmp_CPPFLAGS + + if test "$want_optimize" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5 +$as_echo_n "checking if compiler accepts optimizer enabling options... " >&6; } + tmp_options="$flags_opt_yes" + fi + if test "$want_optimize" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling options" >&5 +$as_echo_n "checking if compiler accepts optimizer disabling options... " >&6; } + tmp_options="$flags_opt_off" + fi + CPPFLAGS="$tmp_CPPFLAGS" + CFLAGS="$tmp_CFLAGS $tmp_options" + squeeze CPPFLAGS + squeeze CFLAGS + + tmp_compiler_works="unknown" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + int i = 1; + return i; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + sed 's/^/cc-fail: /' conftest.err >&6 + echo " " >&6 + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$tmp_compiler_works" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + int i = 1; + return i; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + sed 's/^/link-fail: /' conftest.err >&6 + echo " " >&6 + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + if test "x$cross_compiling" != "xyes" && + test "$tmp_compiler_works" = "yes"; then + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +# ifdef __STDC__ +# include +# endif + +int main (void) +{ + + int i = 0; + exit(i); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + echo "run-fail: test program exited with status $ac_status" >&6 + echo " " >&6 + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + if test "$tmp_compiler_works" = "yes"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5 +$as_echo "$as_me: compiler options added: $tmp_options" >&6;} + + else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5 +$as_echo "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + CPPFLAGS="$tmp_save_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS" + + fi + + fi + # + fi + + + # + if test "$compiler_id" != "unknown"; then + # + tmp_save_CPPFLAGS="$CPPFLAGS" + tmp_save_CFLAGS="$CFLAGS" + tmp_CPPFLAGS="" + tmp_CFLAGS="" + # + case "$compiler_id" in + # + CLANG) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -pedantic" + tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra" + tmp_CFLAGS="$tmp_CFLAGS -Wpointer-arith -Wwrite-strings" + tmp_CFLAGS="$tmp_CFLAGS -Wshadow" + tmp_CFLAGS="$tmp_CFLAGS -Winline -Wnested-externs" + tmp_CFLAGS="$tmp_CFLAGS -Wmissing-declarations" + tmp_CFLAGS="$tmp_CFLAGS -Wmissing-prototypes" + tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long" + tmp_CFLAGS="$tmp_CFLAGS -Wfloat-equal" + tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar -Wsign-compare" + tmp_CFLAGS="$tmp_CFLAGS -Wundef" + tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral" + tmp_CFLAGS="$tmp_CFLAGS -Wendif-labels -Wstrict-prototypes" + tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement" + tmp_CFLAGS="$tmp_CFLAGS -Wcast-align" + tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers" + tmp_CFLAGS="$tmp_CFLAGS -Wshorten-64-to-32" + # + if test "$compiler_num" -ge "101"; then + tmp_CFLAGS="$tmp_CFLAGS -Wunused" + fi + fi + ;; + # + DEC_C) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3" + fi + ;; + # + GNU_C) + # + if test "$want_warnings" = "yes"; then + # + if test "x$cross_compiling" != "xyes" || + test "$compiler_num" -ge "300"; then + tmp_CFLAGS="$tmp_CFLAGS -pedantic" + fi + # + tmp_CFLAGS="$tmp_CFLAGS -Wall -W" + # + if test "$compiler_num" -ge "104"; then + tmp_CFLAGS="$tmp_CFLAGS -Wpointer-arith -Wwrite-strings" + if test "x$cross_compiling" != "xyes" || + test "$compiler_num" -ge "300"; then + tmp_CFLAGS="$tmp_CFLAGS -Wunused -Wshadow" + fi + fi + # + if test "$compiler_num" -ge "207"; then + tmp_CFLAGS="$tmp_CFLAGS -Winline -Wnested-externs" + if test "x$cross_compiling" != "xyes" || + test "$compiler_num" -ge "300"; then + tmp_CFLAGS="$tmp_CFLAGS -Wmissing-declarations" + tmp_CFLAGS="$tmp_CFLAGS -Wmissing-prototypes" + fi + fi + # + if test "$compiler_num" -ge "295"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long" + fi + # + if test "$compiler_num" -ge "296"; then + tmp_CFLAGS="$tmp_CFLAGS -Wfloat-equal" + tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar -Wsign-compare" + tmp_CFLAGS="$tmp_CFLAGS -Wundef" + fi + # + if test "$compiler_num" -ge "297"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral" + fi + # + if test "$compiler_num" -ge "300"; then + tmp_CFLAGS="$tmp_CFLAGS" + fi + # + if test "$compiler_num" -ge "303"; then + tmp_CFLAGS="$tmp_CFLAGS -Wendif-labels -Wstrict-prototypes" + fi + # + if test "$compiler_num" -ge "304"; then + tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement" + fi + # + if test "$compiler_num" -ge "402"; then + tmp_CFLAGS="$tmp_CFLAGS -Wcast-align" + fi + if test "$compiler_num" -ge "403"; then + tmp_CFLAGS="$tmp_CFLAGS -Wtype-limits -Wold-style-declaration" + tmp_CFLAGS="$tmp_CFLAGS -Wmissing-parameter-type -Wempty-body" + tmp_CFLAGS="$tmp_CFLAGS -Wclobbered -Wignored-qualifiers" + tmp_CFLAGS="$tmp_CFLAGS -Wconversion -Wno-sign-conversion -Wvla" + fi + # + fi + # + if test "$compiler_num" -ge "300"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers" + else + if test "x$cross_compiling" = "xyes"; then + if test "$compiler_num" -ge "104"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow" + fi + if test "$compiler_num" -ge "207"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations" + tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes" + fi + fi + fi + ;; + # + HP_UX_C) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS +w1" + fi + ;; + # + IBM_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + INTEL_UNIX_C) + # + if test "$want_warnings" = "yes"; then + if test "$compiler_num" -gt "600"; then + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function" + fi + fi + tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer" + tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing" + tmp_CFLAGS="$tmp_CFLAGS -fp-model precise" + if test "$compiler_num" -ge "1000"; then + tmp_CFLAGS="$tmp_CFLAGS -vec-report0" + fi + ;; + # + INTEL_WINDOWS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + LCC) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS" + fi + ;; + # + SGI_MIPS_C) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -fullwarn" + fi + ;; + # + SGI_MIPSPRO_C) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -fullwarn" + tmp_CFLAGS="$tmp_CFLAGS -woff 1209" + fi + ;; + # + SUNPRO_C) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -v" + fi + ;; + # + TINY_C) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -Wall" + tmp_CFLAGS="$tmp_CFLAGS -Wwrite-strings" + tmp_CFLAGS="$tmp_CFLAGS -Wunsupported" + fi + ;; + # + WATCOM_UNIX_C) + # + if test "$want_warnings" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra" + fi + ;; + # + WATCOM_WINDOWS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # + esac + # + squeeze tmp_CPPFLAGS + squeeze tmp_CFLAGS + # + if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options" >&5 +$as_echo_n "checking if compiler accepts strict warning options... " >&6; } + CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS" + squeeze CPPFLAGS + squeeze CFLAGS + + tmp_compiler_works="unknown" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + int i = 1; + return i; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + sed 's/^/cc-fail: /' conftest.err >&6 + echo " " >&6 + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$tmp_compiler_works" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + int i = 1; + return i; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + sed 's/^/link-fail: /' conftest.err >&6 + echo " " >&6 + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + if test "x$cross_compiling" != "xyes" && + test "$tmp_compiler_works" = "yes"; then + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +# ifdef __STDC__ +# include +# endif + +int main (void) +{ + + int i = 0; + exit(i); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + tmp_compiler_works="yes" + +else + + tmp_compiler_works="no" + echo " " >&6 + echo "run-fail: test program exited with status $ac_status" >&6 + echo " " >&6 + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + if test "$tmp_compiler_works" = "yes"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5 +$as_echo "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;} + + else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5 +$as_echo "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;} + CPPFLAGS="$tmp_save_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS" + + fi + + fi + # + fi + + +if test "$compiler_id" = "INTEL_UNIX_C"; then + # + if test "$compiler_num" -ge "1000"; then + CFLAGS="$CFLAGS -shared-intel" + elif test "$compiler_num" -ge "900"; then + CFLAGS="$CFLAGS -i-dynamic" + fi + # +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5 +$as_echo_n "checking if compiler halts on compilation errors... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + force compilation error + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + as_fn_error "compiler does not halt on compilation errors." "$LINENO" 5 + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on negative sized arrays" >&5 +$as_echo_n "checking if compiler halts on negative sized arrays... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; + +int main (void) +{ + + bad_t dummy; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + as_fn_error "compiler does not halt on negative sized arrays." "$LINENO" 5 + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if shared libraries need -no-undefined" >&5 +$as_echo_n "checking if shared libraries need -no-undefined... " >&6; } + need_no_undefined="no" + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc* | *-*-aix*) + need_no_undefined="yes" + ;; + esac + if test "x$allow_undefined" = "xno"; then + need_no_undefined="yes" + elif test "x$allow_undefined_flag" = "xunsupported"; then + need_no_undefined="yes" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_no_undefined" >&5 +$as_echo "$need_no_undefined" >&6; } + + + +if test x$need_no_undefined = xyes; then + NO_UNDEFINED_TRUE= + NO_UNDEFINED_FALSE='#' +else + NO_UNDEFINED_TRUE='#' + NO_UNDEFINED_FALSE= +fi + + + + supports_curldebug="unknown" + if test "$want_curldebug" = "yes"; then + if test "x$enable_shared" != "xno" && + test "x$enable_shared" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_shared setting." >&5 +$as_echo "$as_me: WARNING: unknown enable_shared setting." >&2;} + supports_curldebug="no" + fi + if test "x$enable_static" != "xno" && + test "x$enable_static" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_static setting." >&5 +$as_echo "$as_me: WARNING: unknown enable_static setting." >&2;} + supports_curldebug="no" + fi + if test "$supports_curldebug" != "no"; then + if test "$enable_shared" = "yes" && + test "$need_no_undefined" = "yes"; then + supports_curldebug="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined symbols." >&5 +$as_echo "$as_me: WARNING: shared library does not support undefined symbols." >&2;} + fi + fi + fi + # + if test "$want_curldebug" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if curl debug memory tracking can be enabled" >&5 +$as_echo_n "checking if curl debug memory tracking can be enabled... " >&6; } + test "$supports_curldebug" = "no" || supports_curldebug="yes" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports_curldebug" >&5 +$as_echo "$supports_curldebug" >&6; } + if test "$supports_curldebug" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot enable curl debug memory tracking." >&5 +$as_echo "$as_me: WARNING: cannot enable curl debug memory tracking." >&2;} + want_curldebug="no" + fi + fi + # + if test "$want_curldebug" = "yes"; then + CPPFLAGS="$CPPFLAGS -DCURLDEBUG" + squeeze CPPFLAGS + fi + if test "$want_debug" = "yes"; then + CPPFLAGS="$CPPFLAGS -DDEBUGBUILD" + squeeze CPPFLAGS + fi + + + +if test x$want_curldebug = xyes; then + CURLDEBUG_TRUE= + CURLDEBUG_FALSE='#' +else + CURLDEBUG_TRUE='#' + CURLDEBUG_FALSE= +fi + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +$as_echo_n "checking for windows.h... " >&6; } +if test "${ac_cv_header_windows_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_windows_h="yes" + +else + + ac_cv_header_windows_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_windows_h" >&5 +$as_echo "$ac_cv_header_windows_h" >&6; } + case "$ac_cv_header_windows_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINDOWS_H 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define WIN32_LEAN_AND_MEAN 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 +$as_echo_n "checking whether build target is a native Windows one... " >&6; } +if test "${ac_cv_native_windows+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + if test "$ac_cv_header_windows_h" = "no"; then + ac_cv_native_windows="no" + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + +#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ + (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) + int dummy=1; +#else + Not a native Windows build target. +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_native_windows="yes" + +else + + ac_cv_native_windows="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_native_windows" >&5 +$as_echo "$ac_cv_native_windows" >&6; } + case "$ac_cv_native_windows" in + yes) + +cat >>confdefs.h <<_ACEOF +#define NATIVE_WINDOWS 1 +_ACEOF + + ;; + esac + +case X-"$ac_cv_native_windows" in + X-yes) + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5 +$as_echo_n "checking for winsock.h... " >&6; } +if test "${ac_cv_header_winsock_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) + HAVE_WINSOCK_H shall not be defined. +#else + int dummy=WSACleanup(); +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_winsock_h="yes" + +else + + ac_cv_header_winsock_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_winsock_h" >&5 +$as_echo "$ac_cv_header_winsock_h" >&6; } + case "$ac_cv_header_winsock_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINSOCK_H 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +$as_echo_n "checking for winsock2.h... " >&6; } +if test "${ac_cv_header_winsock2_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) + HAVE_WINSOCK2_H shall not be defined. +#else + int dummy=2*IPPROTO_ESP; +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_winsock2_h="yes" + +else + + ac_cv_header_winsock2_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_winsock2_h" >&5 +$as_echo "$ac_cv_header_winsock2_h" >&6; } + case "$ac_cv_header_winsock2_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINSOCK2_H 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +$as_echo_n "checking for ws2tcpip.h... " >&6; } +if test "${ac_cv_header_ws2tcpip_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) + HAVE_WS2TCPIP_H shall not be defined. +#else + int dummy=2*IP_PKTINFO; +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_ws2tcpip_h="yes" + +else + + ac_cv_header_ws2tcpip_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_ws2tcpip_h" >&5 +$as_echo "$ac_cv_header_ws2tcpip_h" >&6; } + case "$ac_cv_header_ws2tcpip_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WS2TCPIP_H 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winldap.h" >&5 +$as_echo_n "checking for winldap.h... " >&6; } +if test "${ac_cv_header_winldap_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#endif +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) + HAVE_WINLDAP_H shall not be defined. +#else + LDAP *ldp = ldap_init("dummy", LDAP_PORT); + ULONG res = ldap_unbind(ldp); +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_winldap_h="yes" + +else + + ac_cv_header_winldap_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_winldap_h" >&5 +$as_echo "$ac_cv_header_winldap_h" >&6; } + case "$ac_cv_header_winldap_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINLDAP_H 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winber.h" >&5 +$as_echo_n "checking for winber.h... " >&6; } +if test "${ac_cv_header_winber_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#endif +#include +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) + HAVE_WINBER_H shall not be defined. +#else + BERVAL *bvp = NULL; + BerElement *bep = ber_init(bvp); + ber_free(bep, 1); +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_winber_h="yes" + +else + + ac_cv_header_winber_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_winber_h" >&5 +$as_echo "$ac_cv_header_winber_h" >&6; } + case "$ac_cv_header_winber_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINBER_H 1 +_ACEOF + + ;; + esac + + ;; + *) + ac_cv_header_winsock_h="no" + ac_cv_header_winsock2_h="no" + ac_cv_header_ws2tcpip_h="no" + ac_cv_header_winldap_h="no" + ac_cv_header_winber_h="no" + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5 +$as_echo_n "checking whether build target supports WIN32 file API... " >&6; } + curl_win32_file_api="no" + if test "$ac_cv_header_windows_h" = "yes"; then + if test x"$enable_largefile" != "xno"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + +#if !defined(_WIN32_WCE) && \ + (defined(__MINGW32__) || \ + (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) + int dummy=1; +#else + WIN32 large file API not supported. +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_win32_file_api="win32_large_files" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test "$curl_win32_file_api" = "no"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + +#if defined(_WIN32_WCE) || defined(__MINGW32__) || defined(_MSC_VER) + int dummy=1; +#else + WIN32 small file API not supported. +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_win32_file_api="win32_small_files" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + fi + case "$curl_win32_file_api" in + win32_large_files) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (large file enabled)" >&5 +$as_echo "yes (large file enabled)" >&6; } + +cat >>confdefs.h <<_ACEOF +#define USE_WIN32_LARGE_FILES 1 +_ACEOF + + ;; + win32_small_files) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (large file disabled)" >&5 +$as_echo "yes (large file disabled)" >&6; } + +cat >>confdefs.h <<_ACEOF +#define USE_WIN32_LARGE_FILES 1 +_ACEOF + + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support http" >&5 +$as_echo_n "checking whether to support http... " >&6; } +# Check whether --enable-http was given. +if test "${enable_http+set}" = set; then : + enableval=$enable_http; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_HTTP 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disable HTTP disables FTP over proxy and RTSP" >&5 +$as_echo "$as_me: WARNING: disable HTTP disables FTP over proxy and RTSP" >&2;} + CURL_DISABLE_HTTP=1 + + +$as_echo "#define CURL_DISABLE_RTSP 1" >>confdefs.h + + CURL_DISABLE_RTSP=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ftp" >&5 +$as_echo_n "checking whether to support ftp... " >&6; } +# Check whether --enable-ftp was given. +if test "${enable_ftp+set}" = set; then : + enableval=$enable_ftp; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_FTP 1" >>confdefs.h + + CURL_DISABLE_FTP=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support file" >&5 +$as_echo_n "checking whether to support file... " >&6; } +# Check whether --enable-file was given. +if test "${enable_file+set}" = set; then : + enableval=$enable_file; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_FILE 1" >>confdefs.h + + CURL_DISABLE_FILE=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ldap" >&5 +$as_echo_n "checking whether to support ldap... " >&6; } +# Check whether --enable-ldap was given. +if test "${enable_ldap+set}" = set; then : + enableval=$enable_ldap; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h + + CURL_DISABLE_LDAP=1 + + ;; + *) + case $host in + *-*-cygwin*) + # Force no ldap. config/build process is broken for cygwin + +$as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h + + CURL_DISABLE_LDAP=1 + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + esac + ;; + esac +else + + case $host in + *-*-cygwin*) + # Force no ldap. config/build process is broken for cygwin + +$as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h + + CURL_DISABLE_LDAP=1 + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + esac + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ldaps" >&5 +$as_echo_n "checking whether to support ldaps... " >&6; } +# Check whether --enable-ldaps was given. +if test "${enable_ldaps+set}" = set; then : + enableval=$enable_ldaps; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h + + CURL_DISABLE_LDAPS=1 + + ;; + *) if test x$CURL_DISABLE_LDAP = x1 ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: LDAP support needs to be enabled in order to enable LDAPS support!" >&5 +$as_echo "LDAP support needs to be enabled in order to enable LDAPS support!" >&6; } + +$as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h + + CURL_DISABLE_LDAPS=1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_LDAP_SSL 1" >>confdefs.h + + curl_ldaps_msg="enabled" + fi + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h + + CURL_DISABLE_LDAPS=1 + + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support rtsp" >&5 +$as_echo_n "checking whether to support rtsp... " >&6; } +# Check whether --enable-rtsp was given. +if test "${enable_rtsp+set}" = set; then : + enableval=$enable_rtsp; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_RTSP 1" >>confdefs.h + + CURL_DISABLE_RTSP=1 + + ;; + *) if test x$CURL_DISABLE_HTTP = x1 ; then + as_fn_error "HTTP support needs to be enabled in order to enable RTSP support!" "$LINENO" 5 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_rtsp_msg="enabled" + fi + ;; + esac +else + if test "x$CURL_DISABLE_HTTP" != "x1"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_rtsp_msg="enabled" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support proxies" >&5 +$as_echo_n "checking whether to support proxies... " >&6; } +# Check whether --enable-proxy was given. +if test "${enable_proxy+set}" = set; then : + enableval=$enable_proxy; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_PROXY 1" >>confdefs.h + + CURL_DISABLE_PROXY=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support dict" >&5 +$as_echo_n "checking whether to support dict... " >&6; } +# Check whether --enable-dict was given. +if test "${enable_dict+set}" = set; then : + enableval=$enable_dict; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_DICT 1" >>confdefs.h + + CURL_DISABLE_DICT=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support telnet" >&5 +$as_echo_n "checking whether to support telnet... " >&6; } +# Check whether --enable-telnet was given. +if test "${enable_telnet+set}" = set; then : + enableval=$enable_telnet; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_TELNET 1" >>confdefs.h + + CURL_DISABLE_TELNET=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support tftp" >&5 +$as_echo_n "checking whether to support tftp... " >&6; } +# Check whether --enable-tftp was given. +if test "${enable_tftp+set}" = set; then : + enableval=$enable_tftp; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_TFTP 1" >>confdefs.h + + CURL_DISABLE_TFTP=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support pop3" >&5 +$as_echo_n "checking whether to support pop3... " >&6; } +# Check whether --enable-pop3 was given. +if test "${enable_pop3+set}" = set; then : + enableval=$enable_pop3; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_POP3 1" >>confdefs.h + + CURL_DISABLE_POP3=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support imap" >&5 +$as_echo_n "checking whether to support imap... " >&6; } +# Check whether --enable-imap was given. +if test "${enable_imap+set}" = set; then : + enableval=$enable_imap; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_IMAP 1" >>confdefs.h + + CURL_DISABLE_IMAP=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support smtp" >&5 +$as_echo_n "checking whether to support smtp... " >&6; } +# Check whether --enable-smtp was given. +if test "${enable_smtp+set}" = set; then : + enableval=$enable_smtp; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_SMTP 1" >>confdefs.h + + CURL_DISABLE_SMTP=1 + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5 +$as_echo_n "checking whether to provide built-in manual... " >&6; } +# Check whether --enable-manual was given. +if test "${enable_manual+set}" = set; then : + enableval=$enable_manual; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + USE_MANUAL="1" + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + USE_MANUAL="1" + +fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if X/Open network library is required" >&5 +$as_echo_n "checking if X/Open network library is required... " >&6; } + tst_lib_xnet_required="no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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 +} + + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tst_lib_xnet_required="yes" + LIBS="$LIBS -lxnet" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_lib_xnet_required" >&5 +$as_echo "$tst_lib_xnet_required" >&6; } + + +ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" +if test "x$ac_cv_func_gethostbyname" = x""yes; then : + HAVE_GETHOSTBYNAME="1" + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } +if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnsl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname (); +int main (void) +{ +return gethostbyname (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nsl_gethostbyname=yes +else + ac_cv_lib_nsl_gethostbyname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } +if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : + HAVE_GETHOSTBYNAME="1" + LIBS="$LIBS -lnsl" + +fi + + +fi + + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5 +$as_echo_n "checking for gethostbyname in -lsocket... " >&6; } +if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsocket $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname (); +int main (void) +{ +return gethostbyname (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_socket_gethostbyname=yes +else + ac_cv_lib_socket_gethostbyname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5 +$as_echo "$ac_cv_lib_socket_gethostbyname" >&6; } +if test "x$ac_cv_lib_socket_gethostbyname" = x""yes; then : + HAVE_GETHOSTBYNAME="1" + LIBS="$LIBS -lsocket" + +fi + +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname with both nsl and socket libs" >&5 +$as_echo_n "checking for gethostbyname with both nsl and socket libs... " >&6; } + my_ac_save_LIBS=$LIBS + LIBS="-lnsl -lsocket $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + gethostbyname(); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + HAVE_GETHOSTBYNAME="1" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + LIBS=$my_ac_save_LIBS + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + if test "$ac_cv_header_windows_h" = "yes"; then + if test "$ac_cv_header_winsock_h" = "yes"; then + case $host in + *-*-mingw32ce*) + winsock_LIB="-lwinsock" + ;; + *) + winsock_LIB="-lwsock32" + ;; + esac + fi + if test "$ac_cv_header_winsock2_h" = "yes"; then + winsock_LIB="-lws2_32" + fi + if test ! -z "$winsock_LIB"; then + my_ac_save_LIBS=$LIBS + LIBS="$winsock_LIB $LIBS" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in $winsock_LIB" >&5 +$as_echo_n "checking for gethostbyname in $winsock_LIB... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef HAVE_WINDOWS_H +#ifndef 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 + +int main (void) +{ + + gethostbyname("www.dummysite.com"); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + HAVE_GETHOSTBYNAME="1" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + winsock_LIB="" + LIBS=$my_ac_save_LIBS + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + fi +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for Minix 3" >&5 +$as_echo_n "checking for gethostbyname for Minix 3... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +/* Older Minix versions may need here instead */ +#include + +int main (void) +{ + + gethostbyname("www.dummysite.com"); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + HAVE_GETHOSTBYNAME="1" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for eCos" >&5 +$as_echo_n "checking for gethostbyname for eCos... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include +#include + +int main (void) +{ + + gethostbyname("www.dummysite.com"); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + HAVE_GETHOSTBYNAME="1" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5 +$as_echo_n "checking for gethostbyname in -lnetwork... " >&6; } +if test "${ac_cv_lib_network_gethostbyname+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnetwork $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname (); +int main (void) +{ +return gethostbyname (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_network_gethostbyname=yes +else + ac_cv_lib_network_gethostbyname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5 +$as_echo "$ac_cv_lib_network_gethostbyname" >&6; } +if test "x$ac_cv_lib_network_gethostbyname" = x""yes; then : + HAVE_GETHOSTBYNAME="1" + LIBS="$LIBS -lnetwork" + +fi + +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnet" >&5 +$as_echo_n "checking for gethostbyname in -lnet... " >&6; } +if test "${ac_cv_lib_net_gethostbyname+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnet $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname (); +int main (void) +{ +return gethostbyname (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_net_gethostbyname=yes +else + ac_cv_lib_net_gethostbyname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_gethostbyname" >&5 +$as_echo "$ac_cv_lib_net_gethostbyname" >&6; } +if test "x$ac_cv_lib_net_gethostbyname" = x""yes; then : + HAVE_GETHOSTBYNAME="1" + LIBS="$LIBS -lnet" + +fi + +fi + + +if test "$HAVE_GETHOSTBYNAME" != "1"; then + as_fn_error "couldn't find libraries for gethostbyname()" "$LINENO" 5 +fi + +ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" +if test "x$ac_cv_func_strcasecmp" = x""yes; then : + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolve" >&5 +$as_echo_n "checking for strcasecmp in -lresolve... " >&6; } +if test "${ac_cv_lib_resolve_strcasecmp+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lresolve $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char strcasecmp (); +int main (void) +{ +return strcasecmp (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_resolve_strcasecmp=yes +else + ac_cv_lib_resolve_strcasecmp=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolve_strcasecmp" >&5 +$as_echo "$ac_cv_lib_resolve_strcasecmp" >&6; } +if test "x$ac_cv_lib_resolve_strcasecmp" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBRESOLVE 1 +_ACEOF + + LIBS="-lresolve $LIBS" + +fi + +fi + + +if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolve" >&5 +$as_echo_n "checking for strcasecmp in -lresolve... " >&6; } +if test "${ac_cv_lib_resolve_strcasecmp+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lresolve -lnsl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char strcasecmp (); +int main (void) +{ +return strcasecmp (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_resolve_strcasecmp=yes +else + ac_cv_lib_resolve_strcasecmp=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolve_strcasecmp" >&5 +$as_echo "$ac_cv_lib_resolve_strcasecmp" >&6; } +if test "x$ac_cv_lib_resolve_strcasecmp" = x""yes; then : + LIBS="-lresolve $LIBS" +fi + +fi +ac_cv_func_strcasecmp="no" + + +curl_includes_winsock2="\ +/* 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 */" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +$as_echo_n "checking for windows.h... " >&6; } +if test "${ac_cv_header_windows_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_windows_h="yes" + +else + + ac_cv_header_windows_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_windows_h" >&5 +$as_echo "$ac_cv_header_windows_h" >&6; } + case "$ac_cv_header_windows_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINDOWS_H 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define WIN32_LEAN_AND_MEAN 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5 +$as_echo_n "checking for winsock.h... " >&6; } +if test "${ac_cv_header_winsock_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) + HAVE_WINSOCK_H shall not be defined. +#else + int dummy=WSACleanup(); +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_winsock_h="yes" + +else + + ac_cv_header_winsock_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_winsock_h" >&5 +$as_echo "$ac_cv_header_winsock_h" >&6; } + case "$ac_cv_header_winsock_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINSOCK_H 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +$as_echo_n "checking for winsock2.h... " >&6; } +if test "${ac_cv_header_winsock2_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) + HAVE_WINSOCK2_H shall not be defined. +#else + int dummy=2*IPPROTO_ESP; +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_winsock2_h="yes" + +else + + ac_cv_header_winsock2_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_winsock2_h" >&5 +$as_echo "$ac_cv_header_winsock2_h" >&6; } + case "$ac_cv_header_winsock2_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINSOCK2_H 1 +_ACEOF + + ;; + esac + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in libraries" >&5 +$as_echo_n "checking for connect in libraries... " >&6; } + tst_connect_save_LIBS="$LIBS" + tst_connect_need_LIBS="unknown" + for tst_lib in '' '-lsocket' ; do + if test "$tst_connect_need_LIBS" = "unknown"; then + LIBS="$tst_lib $tst_connect_save_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + #ifndef HAVE_WINDOWS_H + int connect(int, void*, int); + #endif + +int main (void) +{ + + if(0 != connect(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + tst_connect_need_LIBS="$tst_lib" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + done + LIBS="$tst_connect_save_LIBS" + # + case X-"$tst_connect_need_LIBS" in + X-unknown) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5 +$as_echo "cannot find connect" >&6; } + as_fn_error "cannot find connect function in libraries." "$LINENO" 5 + ;; + X-) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_connect_need_LIBS" >&5 +$as_echo "$tst_connect_need_LIBS" >&6; } + LIBS="$tst_connect_need_LIBS $tst_connect_save_LIBS" + ;; + esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } +if test "${ac_cv_header_time+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include + +int main (void) +{ +if ((struct tm *) 0) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_time=yes +else + ac_cv_header_time=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 +$as_echo "$ac_cv_header_time" >&6; } +if test $ac_cv_header_time = yes; then + +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h + +fi + + + for ac_header in sys/types.h sys/time.h time.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock_gettime" >&5 +$as_echo_n "checking for monotonic clock_gettime... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif + +int main (void) +{ + + struct timespec ts; + (void)clock_gettime(CLOCK_MONOTONIC, &ts); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ac_cv_func_clock_gettime="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_clock_gettime="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + + # + if test "$ac_cv_func_clock_gettime" = "yes"; then + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in libraries" >&5 +$as_echo_n "checking for clock_gettime in libraries... " >&6; } + # + curl_cv_save_LIBS="$LIBS" + curl_cv_gclk_LIBS="unknown" + # + for x_xlibs in '' '-lrt' '-lposix4' ; do + if test "$curl_cv_gclk_LIBS" = "unknown"; then + if test -z "$x_xlibs"; then + LIBS="$curl_cv_save_LIBS" + else + LIBS="$x_xlibs $curl_cv_save_LIBS" + fi + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif + +int main (void) +{ + + struct timespec ts; + (void)clock_gettime(CLOCK_MONOTONIC, &ts); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + curl_cv_gclk_LIBS="$x_xlibs" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + done + # + LIBS="$curl_cv_save_LIBS" + # + case X-"$curl_cv_gclk_LIBS" in + X-unknown) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find clock_gettime" >&5 +$as_echo "cannot find clock_gettime" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined" >&5 +$as_echo "$as_me: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined" >&2;} + ac_cv_func_clock_gettime="no" + ;; + X-) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5 +$as_echo "no additional lib required" >&6; } + ac_cv_func_clock_gettime="yes" + ;; + *) + if test -z "$curl_cv_save_LIBS"; then + LIBS="$curl_cv_gclk_LIBS" + else + LIBS="$curl_cv_gclk_LIBS $curl_cv_save_LIBS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5 +$as_echo "$curl_cv_gclk_LIBS" >&6; } + ac_cv_func_clock_gettime="yes" + ;; + esac + # + if test "x$cross_compiling" != "xyes" && + test "$ac_cv_func_clock_gettime" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if monotonic clock_gettime works" >&5 +$as_echo_n "checking if monotonic clock_gettime works... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif + +int main (void) +{ + + struct timespec ts; + if (0 == clock_gettime(CLOCK_MONOTONIC, &ts)) + exit(0); + else + exit(1); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined" >&5 +$as_echo "$as_me: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined" >&2;} + ac_cv_func_clock_gettime="no" + LIBS="$curl_cv_save_LIBS" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + case "$ac_cv_func_clock_gettime" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_CLOCK_GETTIME_MONOTONIC 1 +_ACEOF + + ;; + esac + # + fi + # + + +TEST_SERVER_LIBS=$LIBS + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5 +$as_echo_n "checking whether to use libgcc... " >&6; } +# Check whether --enable-libgcc was given. +if test "${enable_libgcc+set}" = set; then : + enableval=$enable_libgcc; case "$enableval" in + yes) + ALL_LIBS="$ALL_LIBS -lgcc" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi + + + +LDAPLIBNAME="" + +# Check whether --with-ldap-lib was given. +if test "${with_ldap_lib+set}" = set; then : + withval=$with_ldap_lib; LDAPLIBNAME="$withval" +fi + + +LBERLIBNAME="" + +# Check whether --with-lber-lib was given. +if test "${with_lber_lib+set}" = set; then : + withval=$with_lber_lib; LBERLIBNAME="$withval" +fi + + +if test x$CURL_DISABLE_LDAP != x1 ; then + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5 +$as_echo_n "checking for lber.h... " >&6; } +if test "${ac_cv_header_lber_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef NULL +#define NULL (void *)0 +#endif +#include + +int main (void) +{ + + BerValue *bvp = NULL; + BerElement *bep = ber_init(bvp); + ber_free(bep, 1); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_lber_h="yes" + +else + + ac_cv_header_lber_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_lber_h" >&5 +$as_echo "$ac_cv_header_lber_h" >&6; } + if test "$ac_cv_header_lber_h" = "yes"; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_LBER_H 1 +_ACEOF + + # + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef NULL +#define NULL (void *)0 +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#include + +int main (void) +{ + + BerValue *bvp = NULL; + BerElement *bep = ber_init(bvp); + ber_free(bep, 1); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_need_header_lber_h="no" + +else + + curl_cv_need_header_lber_h="yes" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # + case "$curl_cv_need_header_lber_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define NEED_LBER_H 1 +_ACEOF + + ;; + esac + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5 +$as_echo_n "checking for ldap.h... " >&6; } +if test "${ac_cv_header_ldap_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#ifdef NEED_LBER_H +#include +#endif +#include + +int main (void) +{ + + LDAP *ldp = ldap_init("dummy", LDAP_PORT); + int res = ldap_unbind(ldp); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_ldap_h="yes" + +else + + ac_cv_header_ldap_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_ldap_h" >&5 +$as_echo "$ac_cv_header_ldap_h" >&6; } + case "$ac_cv_header_ldap_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_LDAP_H 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldapssl.h" >&5 +$as_echo_n "checking for ldapssl.h... " >&6; } +if test "${ac_cv_header_ldapssl_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef NULL +#define NULL (void *)0 +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#ifdef NEED_LBER_H +#include +#endif +#ifdef HAVE_LDAP_H +#include +#endif +#include + +int main (void) +{ + + char *cert_label = NULL; + LDAP *ldp = ldap_ssl_init("dummy", LDAPS_PORT, cert_label); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_ldapssl_h="yes" + +else + + ac_cv_header_ldapssl_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_ldapssl_h" >&5 +$as_echo "$ac_cv_header_ldapssl_h" >&6; } + case "$ac_cv_header_ldapssl_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_LDAPSSL_H 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5 +$as_echo_n "checking for ldap_ssl.h... " >&6; } +if test "${ac_cv_header_ldap_ssl_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#ifdef NEED_LBER_H +#include +#endif +#ifdef HAVE_LDAP_H +#include +#endif +#include + +int main (void) +{ + + LDAP *ldp = ldapssl_init("dummy", LDAPS_PORT, 1); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_ldap_ssl_h="yes" + +else + + ac_cv_header_ldap_ssl_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_ldap_ssl_h" >&5 +$as_echo "$ac_cv_header_ldap_ssl_h" >&6; } + case "$ac_cv_header_ldap_ssl_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_LDAP_SSL_H 1 +_ACEOF + + ;; + esac + + + if test -z "$LDAPLIBNAME" ; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32*) + LDAPLIBNAME="wldap32" + LBERLIBNAME="no" + ;; + esac + fi + + if test "$LDAPLIBNAME" ; then + as_ac_Lib=`$as_echo "ac_cv_lib_"$LDAPLIBNAME"''_ldap_init" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5 +$as_echo_n "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; } +if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-l"$LDAPLIBNAME" $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char ldap_init (); +int main (void) +{ +return ldap_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$as_ac_Lib=yes" +else + eval "$as_ac_Lib=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +eval ac_res=\$$as_ac_Lib + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +eval as_val=\$$as_ac_Lib + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_LIB"$LDAPLIBNAME"" | $as_tr_cpp` 1 +_ACEOF + + LIBS="-l"$LDAPLIBNAME" $LIBS" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LDAP disabled" >&5 +$as_echo "$as_me: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LDAP disabled" >&2;} + +$as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h + + CURL_DISABLE_LDAP=1 + +fi + + +$as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h + + CURL_DISABLE_LDAPS=1 + + else + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5 +$as_echo_n "checking for LDAP libraries... " >&6; } + # + u_libs="" + # + + # + curl_cv_save_LIBS="$LIBS" + curl_cv_ldap_LIBS="unknown" + # + for x_nlibs in '' "$u_libs" \ + '-lldap' \ + '-llber -lldap' \ + '-lldap -llber' \ + '-lldapssl -lldapx -lldapsdk' \ + '-lldapsdk -lldapx -lldapssl' ; do + if test "$curl_cv_ldap_LIBS" = "unknown"; then + if test -z "$x_nlibs"; then + LIBS="$curl_cv_save_LIBS" + else + LIBS="$x_nlibs $curl_cv_save_LIBS" + fi + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#endif +#ifndef NULL +#define NULL (void *)0 +#endif +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif +#ifdef NEED_LBER_H +#include +#endif +#ifdef HAVE_LDAP_H +#include +#endif + +int main (void) +{ + + BerValue *bvp = NULL; + BerElement *bep = ber_init(bvp); + LDAP *ldp = ldap_init("dummy", LDAP_PORT); + int res = ldap_unbind(ldp); + ber_free(bep, 1); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + curl_cv_ldap_LIBS="$x_nlibs" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + done + # + LIBS="$curl_cv_save_LIBS" + # + case X-"$curl_cv_ldap_LIBS" in + X-unknown) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find LDAP libraries" >&5 +$as_echo "cannot find LDAP libraries" >&6; } + ;; + X-) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5 +$as_echo "no additional lib required" >&6; } + ;; + *) + if test -z "$curl_cv_save_LIBS"; then + LIBS="$curl_cv_ldap_LIBS" + else + LIBS="$curl_cv_ldap_LIBS $curl_cv_save_LIBS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_ldap_LIBS" >&5 +$as_echo "$curl_cv_ldap_LIBS" >&6; } + ;; + esac + # + + case X-"$curl_cv_ldap_LIBS" in + X-unknown) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&5 +$as_echo "$as_me: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&2;} + +$as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h + + CURL_DISABLE_LDAP=1 + + +$as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h + + CURL_DISABLE_LDAPS=1 + + ;; + esac + fi +fi + +if test x$CURL_DISABLE_LDAP != x1 ; then + + if test "$LBERLIBNAME" ; then + if test "$LBERLIBNAME" != "no" ; then + as_ac_Lib=`$as_echo "ac_cv_lib_"$LBERLIBNAME"''_ber_free" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5 +$as_echo_n "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; } +if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-l"$LBERLIBNAME" $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char ber_free (); +int main (void) +{ +return ber_free (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$as_ac_Lib=yes" +else + eval "$as_ac_Lib=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +eval ac_res=\$$as_ac_Lib + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +eval as_val=\$$as_ac_Lib + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_LIB"$LBERLIBNAME"" | $as_tr_cpp` 1 +_ACEOF + + LIBS="-l"$LBERLIBNAME" $LIBS" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$LBERLIBNAME\" is not an LBER library: LDAP disabled" >&5 +$as_echo "$as_me: WARNING: \"$LBERLIBNAME\" is not an LBER library: LDAP disabled" >&2;} + +$as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h + + CURL_DISABLE_LDAP=1 + +fi + + +$as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h + + CURL_DISABLE_LDAPS=1 + + fi + fi +fi + +if test x$CURL_DISABLE_LDAP != x1 ; then + for ac_func in ldap_url_parse +do : + ac_fn_c_check_func "$LINENO" "ldap_url_parse" "ac_cv_func_ldap_url_parse" +if test "x$ac_cv_func_ldap_url_parse" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LDAP_URL_PARSE 1 +_ACEOF + +fi +done + + + if test "$LDAPLIBNAME" = "wldap32"; then + curl_ldap_msg="enabled (winldap)" + +$as_echo "#define CURL_LDAP_WIN 1" >>confdefs.h + + case $host in + *-*-cygwin* | *-*-pw32*) + +$as_echo "#define CURL_LDAP_HYBRID 1" >>confdefs.h + + ;; + esac + else + curl_ldap_msg="enabled (OpenLDAP)" + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ipv6" >&5 +$as_echo_n "checking whether to enable ipv6... " >&6; } +# Check whether --enable-ipv6 was given. +if test "${enable_ipv6+set}" = set; then : + enableval=$enable_ipv6; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ipv6=no + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ipv6=yes + ;; + esac +else + if test "$cross_compiling" = yes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ipv6=no + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + /* is AF_INET6 available? */ +#include +#include +main() +{ + if (socket(AF_INET6, SOCK_STREAM, 0) < 0) + exit(1); + else + exit(0); +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ipv6=yes +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ipv6=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi + + +if test "$ipv6" = "yes"; then + curl_ipv6_msg="enabled" +fi + +# Check if struct sockaddr_in6 have sin6_scope_id member +if test "$ipv6" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct sockaddr_in6 has sin6_scope_id member" >&5 +$as_echo_n "checking if struct sockaddr_in6 has sin6_scope_id member... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +int main (void) +{ +struct sockaddr_in6 s; s.sin6_scope_id = 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + have_sin6_scope_id=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$have_sin6_scope_id" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argv can be written to" >&5 +$as_echo_n "checking if argv can be written to... " >&6; } +if test "${curl_cv_writable_argv+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +if test "$cross_compiling" = yes; then : + curl_cv_writable_argv=cross +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main(int argc, char ** argv) { + argv[0][0] = ' '; + return (argv[0][0] == ' ')?0:1; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + curl_cv_writable_argv=yes +else + curl_cv_writable_argv=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi + +case $curl_cv_writable_argv in +yes) + +$as_echo "#define HAVE_WRITABLE_ARGV 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; +no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; +*) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the previous check could not be made default was used" >&5 +$as_echo "$as_me: WARNING: the previous check could not be made default was used" >&2;} + ;; +esac + + + +# Check whether --with-krb4-includes was given. +if test "${with_krb4_includes+set}" = set; then : + withval=$with_krb4_includes; + CPPFLAGS="$CPPFLAGS -I$withval" + KRB4INC="$withval" + want_krb4=yes + +fi + + + +# Check whether --with-krb4-libs was given. +if test "${with_krb4_libs+set}" = set; then : + withval=$with_krb4_libs; + LDFLAGS="$LDFLAGS -L$withval" + KRB4LIB="$withval" + want_krb4=yes + +fi + + + +OPT_KRB4=off + +# Check whether --with-krb4 was given. +if test "${with_krb4+set}" = set; then : + withval=$with_krb4; + OPT_KRB4="$withval" + if test X"$OPT_KRB4" != Xno; then + want_krb4="yes" + if test X"$OPT_KRB4" != Xyes; then + LDFLAGS="$LDFLAGS -L$OPT_KRB4/lib$libsuff" + KRB4LIB="$OPT_KRB4/lib$libsuff" + CPPFLAGS="$CPPFLAGS -I$OPT_KRB4/include" + KRB4INC="$OPT_KRB4/include" + fi + fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Kerberos4 support is requested" >&5 +$as_echo_n "checking if Kerberos4 support is requested... " >&6; } + +if test "$want_krb4" = yes +then + if test "$ipv6" = "yes"; then + echo krb4 is not compatible with IPv6 + exit 1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to look for Kerberos4" >&5 +$as_echo_n "checking where to look for Kerberos4... " >&6; } + if test X"$OPT_KRB4" = Xyes + then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: defaults" >&5 +$as_echo "defaults" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: libs in $KRB4LIB, headers in $KRB4INC" >&5 +$as_echo "libs in $KRB4LIB, headers in $KRB4INC" >&6; } + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_pcbc_encrypt in -ldes" >&5 +$as_echo_n "checking for des_pcbc_encrypt in -ldes... " >&6; } +if test "${ac_cv_lib_des_des_pcbc_encrypt+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldes $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char des_pcbc_encrypt (); +int main (void) +{ +return des_pcbc_encrypt (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_des_des_pcbc_encrypt=yes +else + ac_cv_lib_des_des_pcbc_encrypt=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_pcbc_encrypt" >&5 +$as_echo "$ac_cv_lib_des_des_pcbc_encrypt" >&6; } +if test "x$ac_cv_lib_des_des_pcbc_encrypt" = x""yes; then : + + for ac_header in des.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" +if test "x$ac_cv_header_des_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DES_H 1 +_ACEOF + +fi + +done + + + ac_fn_c_check_func "$LINENO" "res_search" "ac_cv_func_res_search" +if test "x$ac_cv_func_res_search" = x""yes; then : + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5 +$as_echo_n "checking for res_search in -lresolv... " >&6; } +if test "${ac_cv_lib_resolv_res_search+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lresolv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char res_search (); +int main (void) +{ +return res_search (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_resolv_res_search=yes +else + ac_cv_lib_resolv_res_search=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5 +$as_echo "$ac_cv_lib_resolv_res_search" >&6; } +if test "x$ac_cv_lib_resolv_res_search" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBRESOLV 1 +_ACEOF + + LIBS="-lresolv $LIBS" + +fi + +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_net_read in -lkrb" >&5 +$as_echo_n "checking for krb_net_read in -lkrb... " >&6; } +if test "${ac_cv_lib_krb_krb_net_read+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lkrb $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char krb_net_read (); +int main (void) +{ +return krb_net_read (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_krb_krb_net_read=yes +else + ac_cv_lib_krb_krb_net_read=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_net_read" >&5 +$as_echo "$ac_cv_lib_krb_krb_net_read" >&6; } +if test "x$ac_cv_lib_krb_krb_net_read" = x""yes; then : + + for ac_header in krb.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" +if test "x$ac_cv_header_krb_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_KRB_H 1 +_ACEOF + +fi + +done + + + LIBS="-lkrb -lcom_err -ldes $LIBS" + + for ac_func in krb_get_our_ip_for_realm +do : + ac_fn_c_check_func "$LINENO" "krb_get_our_ip_for_realm" "ac_cv_func_krb_get_our_ip_for_realm" +if test "x$ac_cv_func_krb_get_our_ip_for_realm" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_KRB_GET_OUR_IP_FOR_REALM 1 +_ACEOF + +fi +done + + + +$as_echo "#define HAVE_KRB4 1" >>confdefs.h + + + KRB4_ENABLED=1 + + + curl_krb4_msg="enabled" + + for ac_func in strlcpy +do : + ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" +if test "x$ac_cv_func_strlcpy" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRLCPY 1 +_ACEOF + +fi +done + + + +fi + + +fi + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + +# Check whether --with-spnego was given. +if test "${with_spnego+set}" = set; then : + withval=$with_spnego; + SPNEGO_ROOT="$withval" + if test x"$SPNEGO_ROOT" != xno; then + want_spnego="yes" + fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SPNEGO support is requested" >&5 +$as_echo_n "checking if SPNEGO support is requested... " >&6; } +if test x"$want_spnego" = xyes; then + + if test X"$SPNEGO_ROOT" = Xyes; then + as_fn_error "FBOpenSSL libs and/or directories were not found where specified!" "$LINENO" 5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + else + if test -z "$SPNEGO_LIB_DIR"; then + LDFLAGS="$LDFLAGS -L$SPNEGO_ROOT -lfbopenssl" + else + LDFLAGS="$LDFLAGS $SPNEGO_LIB_DIR" + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_SPNEGO 1" >>confdefs.h + + curl_spnego_msg="enabled" + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + +GSSAPI_ROOT="/usr" + +# Check whether --with-gssapi-includes was given. +if test "${with_gssapi_includes+set}" = set; then : + withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval" + want_gss="yes" + +fi + + + +# Check whether --with-gssapi-libs was given. +if test "${with_gssapi_libs+set}" = set; then : + withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval" + want_gss="yes" + +fi + + + +# Check whether --with-gssapi was given. +if test "${with_gssapi+set}" = set; then : + withval=$with_gssapi; + GSSAPI_ROOT="$withval" + if test x"$GSSAPI_ROOT" != xno; then + want_gss="yes" + if test x"$GSSAPI_ROOT" = xyes; then + GSSAPI_ROOT="/usr" + fi + fi + +fi + + +save_CPPFLAGS="$CPPFLAGS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSSAPI support is requested" >&5 +$as_echo_n "checking if GSSAPI support is requested... " >&6; } +if test x"$want_gss" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + if test -z "$GSSAPI_INCS"; then + if test -f "$GSSAPI_ROOT/bin/krb5-config"; then + GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi` + elif test "$GSSAPI_ROOT" != "yes"; then + GSSAPI_INCS="-I$GSSAPI_ROOT/include" + fi + fi + + CPPFLAGS="$CPPFLAGS $GSSAPI_INCS" + + ac_fn_c_check_header_mongrel "$LINENO" "gss.h" "ac_cv_header_gss_h" "$ac_includes_default" +if test "x$ac_cv_header_gss_h" = x""yes; then : + + +$as_echo "#define HAVE_GSSGNU 1" >>confdefs.h + + gnu_gss=yes + +else + + for ac_header in gssapi/gssapi.h gssapi/gssapi_generic.h gssapi/gssapi_krb5.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +else + not_mit=1 +fi + +done + + if test "x$not_mit" = "x1"; then + ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default" +if test "x$ac_cv_header_gssapi_h" = x""yes; then : + + +$as_echo "#define HAVE_GSSHEIMDAL 1" >>confdefs.h + + +else + + want_gss=no + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSSAPI since no header files was found" >&5 +$as_echo "$as_me: WARNING: disabling GSSAPI since no header files was found" >&2;} + + +fi + + + else + +$as_echo "#define HAVE_GSSMIT 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 +$as_echo_n "checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include +#include +#include + +int main (void) +{ + + gss_import_name( + (OM_uint32 *)0, + (gss_buffer_t)0, + GSS_C_NT_HOSTBASED_SERVICE, + (gss_name_t *)0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define HAVE_OLD_GSSMIT 1" >>confdefs.h + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + + +fi + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +if test x"$want_gss" = xyes; then + +$as_echo "#define HAVE_GSSAPI 1" >>confdefs.h + + + curl_gss_msg="enabled (MIT/Heimdal)" + + if test -n "$gnu_gss"; then + curl_gss_msg="enabled (GNU GSS)" + LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR" + LIBS="$LIBS -lgss" + elif test -z "$GSSAPI_LIB_DIR"; then + case $host in + *-*-darwin*) + LIBS="$LIBS -lgssapi_krb5 -lresolv" + ;; + *) + if test -f "$GSSAPI_ROOT/bin/krb5-config"; then + gss_libs=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi` + LIBS="$LIBS $gss_libs" + elif test "$GSSAPI_ROOT" != "yes"; then + LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff" + LIBS="$LIBS -lgssapi" + else + LIBS="$LIBS -lgssapi" + fi + ;; + esac + else + LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR" + LIBS="$LIBS -lgssapi" + fi +else + CPPFLAGS="$save_CPPFLAGS" +fi + + +OPT_SSL=off +ca="no" + +# Check whether --with-ssl was given. +if test "${with_ssl+set}" = set; then : + withval=$with_ssl; OPT_SSL=$withval +fi + + +if test X"$OPT_SSL" != Xno; then + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" + + case "$OPT_SSL" in + yes) + if test x$cross_compiling != xyes; then + PKGTEST="yes" + fi + PREFIX_OPENSSL=/usr/local/ssl + LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff" + ;; + off) + if test x$cross_compiling != xyes; then + PKGTEST="yes" + fi + PREFIX_OPENSSL= + ;; + *) + PKGTEST="no" + PREFIX_OPENSSL=$OPT_SSL + + OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig" + { $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&5 +$as_echo "$as_me: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&6;} + if test -e "$OPENSSL_PCDIR/openssl.pc"; then + PKGTEST="yes" + fi + + LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff" + if test "$PREFIX_OPENSSL" != "/usr" ; then + SSL_LDFLAGS="-L$LIB_OPENSSL" + SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include" + fi + SSL_CPPFLAGS="$SSL_CPPFLAGS -I$PREFIX_OPENSSL/include/openssl" + ;; + esac + + if test "$PKGTEST" = "yes"; then + + + + PKGCONFIG="no" + + if test x$cross_compiling = xyes; then + # Extract the first word of "${host}-pkg-config", so it can be a program name with args. +set dummy ${host}-pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKGCONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + + if test x$PKGCONFIG = xno; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKGCONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + + if test x$PKGCONFIG != xno; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl options with pkg-config" >&5 +$as_echo_n "checking for openssl options with pkg-config... " >&6; } + itexists=` + if test -n "$OPENSSL_PCDIR"; then + PKG_CONFIG_LIBDIR="$OPENSSL_PCDIR" + export PKG_CONFIG_LIBDIR + fi + $PKGCONFIG --exists openssl >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } + fi + fi + + + if test "$PKGCONFIG" != "no" ; then + SSL_LIBS=` + if test -n "$OPENSSL_PCDIR"; then + PKG_CONFIG_LIBDIR="$OPENSSL_PCDIR" + export PKG_CONFIG_LIBDIR + fi + $PKGCONFIG --libs-only-l openssl 2>/dev/null` + + SSL_LDFLAGS=` + if test -n "$OPENSSL_PCDIR"; then + PKG_CONFIG_LIBDIR="$OPENSSL_PCDIR" + export PKG_CONFIG_LIBDIR + fi + $PKGCONFIG --libs-only-L openssl 2>/dev/null` + + SSL_CPPFLAGS=` + if test -n "$OPENSSL_PCDIR"; then + PKG_CONFIG_LIBDIR="$OPENSSL_PCDIR" + export PKG_CONFIG_LIBDIR + fi + $PKGCONFIG --cflags-only-I openssl 2>/dev/null` + + { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5 +$as_echo "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5 +$as_echo "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5 +$as_echo "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;} + + LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/-L//g'` + + LIBS="$LIBS $SSL_LIBS" + fi + fi + + CPPFLAGS="$CPPFLAGS $SSL_CPPFLAGS" + LDFLAGS="$LDFLAGS $SSL_LDFLAGS" + + case $host in + *-*-msys* | *-*-mingw*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5 +$as_echo_n "checking for gdi32... " >&6; } + my_ac_save_LIBS=$LIBS + LIBS="-lgdi32 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include +int main (void) +{ +GdiFlush(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + LIBS=$my_ac_save_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_lock in -lcrypto" >&5 +$as_echo_n "checking for CRYPTO_lock in -lcrypto... " >&6; } +if test "${ac_cv_lib_crypto_CRYPTO_lock+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcrypto $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char CRYPTO_lock (); +int main (void) +{ +return CRYPTO_lock (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_crypto_CRYPTO_lock=yes +else + ac_cv_lib_crypto_CRYPTO_lock=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_lock" >&5 +$as_echo "$ac_cv_lib_crypto_CRYPTO_lock" >&6; } +if test "x$ac_cv_lib_crypto_CRYPTO_lock" = x""yes; then : + + HAVECRYPTO="yes" + LIBS="-lcrypto $LIBS" + +else + + LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL" + CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_add_lock in -lcrypto" >&5 +$as_echo_n "checking for CRYPTO_add_lock in -lcrypto... " >&6; } +if test "${ac_cv_lib_crypto_CRYPTO_add_lock+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcrypto $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char CRYPTO_add_lock (); +int main (void) +{ +return CRYPTO_add_lock (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_crypto_CRYPTO_add_lock=yes +else + ac_cv_lib_crypto_CRYPTO_add_lock=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_add_lock" >&5 +$as_echo "$ac_cv_lib_crypto_CRYPTO_add_lock" >&6; } +if test "x$ac_cv_lib_crypto_CRYPTO_add_lock" = x""yes; then : + + HAVECRYPTO="yes" + LIBS="-lcrypto $LIBS" +else + + LDFLAGS="$CLEANLDFLAGS" + CPPFLAGS="$CLEANCPPFLAGS" + LIBS="$CLEANLIBS" + +fi + + +fi + + + + if test X"$HAVECRYPTO" = X"yes"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 +$as_echo_n "checking for SSL_connect in -lssl... " >&6; } +if test "${ac_cv_lib_ssl_SSL_connect+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lssl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char SSL_connect (); +int main (void) +{ +return SSL_connect (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ssl_SSL_connect=yes +else + ac_cv_lib_ssl_SSL_connect=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 +$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } +if test "x$ac_cv_lib_ssl_SSL_connect" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBSSL 1 +_ACEOF + + LIBS="-lssl $LIBS" + +fi + + + if test "$ac_cv_lib_ssl_SSL_connect" != yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl with RSAglue/rsaref libs in use" >&5 +$as_echo_n "checking for ssl with RSAglue/rsaref libs in use... " >&6; }; + OLIBS=$LIBS + LIBS="$LIBS -lRSAglue -lrsaref" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 +$as_echo_n "checking for SSL_connect in -lssl... " >&6; } +if test "${ac_cv_lib_ssl_SSL_connect+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lssl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char SSL_connect (); +int main (void) +{ +return SSL_connect (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ssl_SSL_connect=yes +else + ac_cv_lib_ssl_SSL_connect=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 +$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } +if test "x$ac_cv_lib_ssl_SSL_connect" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBSSL 1 +_ACEOF + + LIBS="-lssl $LIBS" + +fi + + if test "$ac_cv_lib_ssl_SSL_connect" != yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + LIBS=$OLIBS + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + fi + + else + + for ac_header in openssl/x509.h openssl/rsa.h openssl/crypto.h \ + openssl/pem.h openssl/ssl.h openssl/err.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + curl_ssl_msg="enabled (OpenSSL)" + OPENSSL_ENABLED=1 + +$as_echo "#define USE_OPENSSL 1" >>confdefs.h + +fi + +done + + + if test $ac_cv_header_openssl_x509_h = no; then + for ac_header in x509.h rsa.h crypto.h pem.h ssl.h err.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + if test $ac_cv_header_x509_h = yes && + test $ac_cv_header_crypto_h = yes && + test $ac_cv_header_ssl_h = yes; then + curl_ssl_msg="enabled (OpenSSL)" + OPENSSL_ENABLED=1 + fi + fi + fi + + if test X"$OPENSSL_ENABLED" = X"1"; then + +$as_echo "#define USE_SSLEAY 1" >>confdefs.h + + + for ac_header in openssl/pkcs12.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "openssl/pkcs12.h" "ac_cv_header_openssl_pkcs12_h" "$ac_includes_default" +if test "x$ac_cv_header_openssl_pkcs12_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_OPENSSL_PKCS12_H 1 +_ACEOF + +fi + +done + + else + LIBS="$CLEANLIBS" + fi + USE_SSLEAY="$OPENSSL_ENABLED" + + + if test X"$OPT_SSL" != Xoff && + test "$OPENSSL_ENABLED" != "1"; then + as_fn_error "OpenSSL libs and/or directories were not found where specified!" "$LINENO" 5 + fi + fi + + if test X"$OPENSSL_ENABLED" = X"1"; then + ac_fn_c_check_func "$LINENO" "ENGINE_init" "ac_cv_func_ENGINE_init" +if test "x$ac_cv_func_ENGINE_init" = x""yes; then : + + for ac_header in openssl/engine.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "openssl/engine.h" "ac_cv_header_openssl_engine_h" "$ac_includes_default" +if test "x$ac_cv_header_openssl_engine_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_OPENSSL_ENGINE_H 1 +_ACEOF + +fi + +done + + for ac_func in ENGINE_load_builtin_engines +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +fi + + + + for ac_func in RAND_status \ + RAND_screen \ + RAND_egd \ + ENGINE_cleanup \ + CRYPTO_cleanup_all_ex_data \ + SSL_get_shutdown +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yaSSL using OpenSSL compatibility mode" >&5 +$as_echo_n "checking for yaSSL using OpenSSL compatibility mode... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include + +int main (void) +{ + +#if defined(YASSL_VERSION) && defined(OPENSSL_VERSION_NUMBER) + int dummy = SSL_ERROR_NONE; +#else + Not the yaSSL OpenSSL compatibility header. +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define USE_YASSLEMUL 1 +_ACEOF + + curl_ssl_msg="enabled (OpenSSL emulation by yaSSL)" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + + if test "$OPENSSL_ENABLED" = "1"; then + if test -n "$LIB_OPENSSL"; then + + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_OPENSSL" + export LD_LIBRARY_PATH + { $as_echo "$as_me:${as_lineno-$LINENO}: Added $LIB_OPENSSL to LD_LIBRARY_PATH" >&5 +$as_echo "$as_me: Added $LIB_OPENSSL to LD_LIBRARY_PATH" >&6;} + fi + fi + +fi + + + +_cppflags=$CPPFLAGS +_ldflags=$LDFLAGS + +# Check whether --with-zlib was given. +if test "${with_zlib+set}" = set; then : + withval=$with_zlib; OPT_ZLIB="$withval" +fi + + +if test "$OPT_ZLIB" = "no" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5 +$as_echo "$as_me: WARNING: zlib disabled" >&2;} +else + if test "$OPT_ZLIB" = "yes" ; then + OPT_ZLIB="" + fi + + if test -z "$OPT_ZLIB" ; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5 +$as_echo_n "checking for inflateEnd in -lz... " >&6; } +if test "${ac_cv_lib_z_inflateEnd+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lz $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char inflateEnd (); +int main (void) +{ +return inflateEnd (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_z_inflateEnd=yes +else + ac_cv_lib_z_inflateEnd=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5 +$as_echo "$ac_cv_lib_z_inflateEnd" >&6; } +if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then : + HAVE_LIBZ="1" +else + OPT_ZLIB="/usr/local" +fi + + + fi + + if test -n "$OPT_ZLIB"; then + CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include" + LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff" + fi + + ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" +if test "x$ac_cv_header_zlib_h" = x""yes; then : + + HAVE_ZLIB_H="1" + if test "$HAVE_LIBZ" != "1"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5 +$as_echo_n "checking for gzread in -lz... " >&6; } +if test "${ac_cv_lib_z_gzread+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lz $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char gzread (); +int main (void) +{ +return gzread (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_z_gzread=yes +else + ac_cv_lib_z_gzread=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 +$as_echo "$ac_cv_lib_z_gzread" >&6; } +if test "x$ac_cv_lib_z_gzread" = x""yes; then : + + HAVE_LIBZ="1" + +else + CPPFLAGS=$_cppflags + LDFLAGS=$_ldflags +fi + + fi + +else + + CPPFLAGS=$_cppflags + LDFLAGS=$_ldflags + +fi + + + + if test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" != "1" + then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz lib, not the header file!" >&5 +$as_echo "$as_me: WARNING: configure found only the libz lib, not the header file!" >&2;} + HAVE_LIBZ="" + elif test "$HAVE_LIBZ" != "1" && test "$HAVE_ZLIB_H" = "1" + then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz header file, not the lib!" >&5 +$as_echo "$as_me: WARNING: configure found only the libz header file, not the lib!" >&2;} + elif test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" = "1" + then + + +$as_echo "#define HAVE_ZLIB_H 1" >>confdefs.h + + +$as_echo "#define HAVE_LIBZ 1" >>confdefs.h + + + CURL_LIBS="$CURL_LIBS -lz" + LIBS="$LIBS -lz" + + AMFIXLIB="1" + { $as_echo "$as_me:${as_lineno-$LINENO}: found both libz and libz.h header" >&5 +$as_echo "$as_me: found both libz and libz.h header" >&6;} + curl_zlib_msg="enabled" + fi +fi + + + +if test x"$AMFIXLIB" = x1; then + HAVE_LIBZ_TRUE= + HAVE_LIBZ_FALSE='#' +else + HAVE_LIBZ_TRUE='#' + HAVE_LIBZ_FALSE= +fi + + + +if test X"$OPENSSL_ENABLED" = X"1"; then + +# Check whether --with-egd-socket was given. +if test "${with_egd_socket+set}" = set; then : + withval=$with_egd_socket; EGD_SOCKET="$withval" + +fi + + if test -n "$EGD_SOCKET" ; then + +cat >>confdefs.h <<_ACEOF +#define EGD_SOCKET "$EGD_SOCKET" +_ACEOF + + fi + + +# Check whether --with-random was given. +if test "${with_random+set}" = set; then : + withval=$with_random; RANDOM_FILE="$withval" +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5 +$as_echo_n "checking for \"/dev/urandom\"... " >&6; } +if test "${ac_cv_file___dev_urandom_+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + test "$cross_compiling" = yes && + as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5 +if test -r ""/dev/urandom""; then + ac_cv_file___dev_urandom_=yes +else + ac_cv_file___dev_urandom_=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file___dev_urandom_" >&5 +$as_echo "$ac_cv_file___dev_urandom_" >&6; } +if test "x$ac_cv_file___dev_urandom_" = x""yes; then : + RANDOM_FILE="/dev/urandom" +fi + + + +fi + + if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then + + +cat >>confdefs.h <<_ACEOF +#define RANDOM_FILE "$RANDOM_FILE" +_ACEOF + + fi +fi + + +OPT_GNUTLS=no + + +# Check whether --with-gnutls was given. +if test "${with_gnutls+set}" = set; then : + withval=$with_gnutls; OPT_GNUTLS=$withval +fi + + +if test "$OPENSSL_ENABLED" != "1"; then + + if test X"$OPT_GNUTLS" != Xno; then + + addld="" + if test "x$OPT_GNUTLS" = "xyes"; then + + + PKGCONFIG="no" + + if test x$cross_compiling = xyes; then + # Extract the first word of "${host}-pkg-config", so it can be a program name with args. +set dummy ${host}-pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKGCONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + + if test x$PKGCONFIG = xno; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKGCONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + + if test x$PKGCONFIG != xno; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls options with pkg-config" >&5 +$as_echo_n "checking for gnutls options with pkg-config... " >&6; } + itexists=` + if test -n ""; then + PKG_CONFIG_LIBDIR="" + export PKG_CONFIG_LIBDIR + fi + $PKGCONFIG --exists gnutls >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } + fi + fi + + + if test "$PKGCONFIG" != "no" ; then + addlib=`$PKGCONFIG --libs-only-l gnutls` + addld=`$PKGCONFIG --libs-only-L gnutls` + addcflags=`$PKGCONFIG --cflags-only-I gnutls` + version=`$PKGCONFIG --modversion gnutls` + gtlslib=`echo $addld | $SED -e 's/-L//'` + else + check=`libgnutls-config --version 2>/dev/null` + if test -n "$check"; then + addlib=`libgnutls-config --libs` + addcflags=`libgnutls-config --cflags` + version=`libgnutls-config --version` + gtlslib=`libgnutls-config --prefix`/lib$libsuff + fi + fi + else + cfg=$OPT_GNUTLS/bin/libgnutls-config + check=`$cfg --version 2>/dev/null` + if test -n "$check"; then + addlib=`$cfg --libs` + addcflags=`$cfg --cflags` + version=`$cfg --version` + gtlslib=`$cfg --prefix`/lib$libsuff + else + addlib=-lgnutls + addld=-L$OPT_GNUTLS/lib$libsuff + addcflags=-I$OPT_GNUTLS/include + version="" # we just don't know + gtlslib=$OPT_GNUTLS/lib$libsuff + fi + fi + + if test -z "$version"; then + version="unknown" + fi + + if test -n "$addlib"; then + + CLEANLIBS="$LIBS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEADLDFLAGS="$LDFLAGS" + + LIBS="$LIBS $addlib" + LDFLAGS="$LDFLAGS $addld" + if test "$addcflags" != "-I/usr/include"; then + CPPFLAGS="$CPPFLAGS $addcflags" + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_check_version in -lgnutls" >&5 +$as_echo_n "checking for gnutls_check_version in -lgnutls... " >&6; } +if test "${ac_cv_lib_gnutls_gnutls_check_version+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgnutls $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char gnutls_check_version (); +int main (void) +{ +return gnutls_check_version (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_gnutls_gnutls_check_version=yes +else + ac_cv_lib_gnutls_gnutls_check_version=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_check_version" >&5 +$as_echo "$ac_cv_lib_gnutls_gnutls_check_version" >&6; } +if test "x$ac_cv_lib_gnutls_gnutls_check_version" = x""yes; then : + + +$as_echo "#define USE_GNUTLS 1" >>confdefs.h + + USE_GNUTLS=1 + + GNUTLS_ENABLED=1 + USE_GNUTLS="yes" + curl_ssl_msg="enabled (GnuTLS)" + +else + + LIBS="$CLEANLIBS" + CPPFLAGS="$CLEANCPPFLAGS" + +fi + + + if test "x$USE_GNUTLS" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: detected GnuTLS version $version" >&5 +$as_echo "$as_me: detected GnuTLS version $version" >&6;} + + if test -n "$gtlslib"; then + + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlslib" + export LD_LIBRARY_PATH + { $as_echo "$as_me:${as_lineno-$LINENO}: Added $gtlslib to LD_LIBRARY_PATH" >&5 +$as_echo "$as_me: Added $gtlslib to LD_LIBRARY_PATH" >&6;} + fi + fi + + fi + + fi +fi + +OPT_NSS=no + + +# Check whether --with-nss was given. +if test "${with_nss+set}" = set; then : + withval=$with_nss; OPT_NSS=$withval +fi + + +if test "$OPENSSL_ENABLED" != "1" -a "$GNUTLS_ENABLED" != "1"; then + + if test X"$OPT_NSS" != Xno; then + if test "x$OPT_NSS" = "xyes"; then + + + + PKGCONFIG="no" + + if test x$cross_compiling = xyes; then + # Extract the first word of "${host}-pkg-config", so it can be a program name with args. +set dummy ${host}-pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKGCONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + + if test x$PKGCONFIG = xno; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKGCONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + + if test x$PKGCONFIG != xno; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5 +$as_echo_n "checking for nss options with pkg-config... " >&6; } + itexists=` + if test -n ""; then + PKG_CONFIG_LIBDIR="" + export PKG_CONFIG_LIBDIR + fi + $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } + fi + fi + + + if test "$PKGCONFIG" != "no" ; then + addlib=`$PKGCONFIG --libs nss` + addcflags=`$PKGCONFIG --cflags nss` + version=`$PKGCONFIG --modversion nss` + nssprefix=`$PKGCONFIG --variable=prefix nss` + else + + check=`nss-config --version 2>/dev/null` + if test -n "$check"; then + addlib=`nss-config --libs` + addcflags=`nss-config --cflags` + version=`nss-config --version` + nssprefix=`nss-config --prefix` + else + addlib="-lnss3" + addcflags="" + version="unknown" + fi + fi + else + # Without pkg-config, we'll kludge in some defaults + addlib="-L$OPT_NSS/lib -lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl" + addcflags="-I$OPT_NSS/include" + version="unknown" + nssprefix=$OPT_NSS + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PK11_CreateGenericObject in -lnss3" >&5 +$as_echo_n "checking for PK11_CreateGenericObject in -lnss3... " >&6; } +if test "${ac_cv_lib_nss3_PK11_CreateGenericObject+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnss3 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char PK11_CreateGenericObject (); +int main (void) +{ +return PK11_CreateGenericObject (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nss3_PK11_CreateGenericObject=yes +else + ac_cv_lib_nss3_PK11_CreateGenericObject=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_PK11_CreateGenericObject" >&5 +$as_echo "$ac_cv_lib_nss3_PK11_CreateGenericObject" >&6; } +if test "x$ac_cv_lib_nss3_PK11_CreateGenericObject" = x""yes; then : + + +$as_echo "#define HAVE_PK11_CREATEGENERICOBJECT 1" >>confdefs.h + + HAVE_PK11_CREATEGENERICOBJECT=1 + + +fi + + if test -n "$addlib"; then + + CLEANLIBS="$LIBS" + CLEANCPPFLAGS="$CPPFLAGS" + + LIBS="$LIBS $addlib" + if test "$addcflags" != "-I/usr/include"; then + CPPFLAGS="$CPPFLAGS $addcflags" + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Initialize in -lnss3" >&5 +$as_echo_n "checking for NSS_Initialize in -lnss3... " >&6; } +if test "${ac_cv_lib_nss3_NSS_Initialize+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnss3 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char NSS_Initialize (); +int main (void) +{ +return NSS_Initialize (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nss3_NSS_Initialize=yes +else + ac_cv_lib_nss3_NSS_Initialize=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Initialize" >&5 +$as_echo "$ac_cv_lib_nss3_NSS_Initialize" >&6; } +if test "x$ac_cv_lib_nss3_NSS_Initialize" = x""yes; then : + + +$as_echo "#define USE_NSS 1" >>confdefs.h + + USE_NSS=1 + + USE_NSS="yes" + NSS_ENABLED=1 + curl_ssl_msg="enabled (NSS)" + +else + + LIBS="$CLEANLIBS" + CPPFLAGS="$CLEANCPPFLAGS" + +fi + + + if test "x$USE_NSS" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: detected NSS version $version" >&5 +$as_echo "$as_me: detected NSS version $version" >&6;} + + + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$nssprefix/lib$libsuff" + export LD_LIBRARY_PATH + { $as_echo "$as_me:${as_lineno-$LINENO}: Added $nssprefix/lib$libsuff to LD_LIBRARY_PATH" >&5 +$as_echo "$as_me: Added $nssprefix/lib$libsuff to LD_LIBRARY_PATH" >&6;} + fi + + fi + + fi +fi +if test "x$OPENSSL_ENABLED$GNUTLS_ENABLED$NSS_ENABLED" = "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&5 +$as_echo "$as_me: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Use --with-ssl, --with-gnutls or --with-nss to address this." >&5 +$as_echo "$as_me: WARNING: Use --with-ssl, --with-gnutls or --with-nss to address this." >&2;} +else + # SSL is enabled, genericly + + SSL_ENABLED="1" +fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5 +$as_echo_n "checking default CA cert bundle/path... " >&6; } + + +# Check whether --with-ca-bundle was given. +if test "${with_ca_bundle+set}" = set; then : + withval=$with_ca_bundle; + want_ca="$withval" + if test "x$want_ca" = "xyes"; then + as_fn_error "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5 + fi + +else + want_ca="unset" +fi + + +# Check whether --with-ca-path was given. +if test "${with_ca_path+set}" = set; then : + withval=$with_ca_path; + want_capath="$withval" + if test "x$want_capath" = "xyes"; then + as_fn_error "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5 + fi + +else + want_capath="unset" +fi + + + if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \ + "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then + as_fn_error "Can't specify both --with-ca-bundle and --with-ca-path." "$LINENO" 5 + elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then + ca="$want_ca" + capath="no" + elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then + if test "x$OPENSSL_ENABLED" != "x1"; then + as_fn_error "--with-ca-path only works with openSSL" "$LINENO" 5 + fi + capath="$want_capath" + ca="no" + else + ca="no" + capath="no" + if test "x$want_ca" = "xunset"; then + if test "x$prefix" != xNONE; then + cac="${prefix}/share/curl/curl-ca-bundle.crt" + else + cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt" + fi + + for a in /etc/ssl/certs/ca-certificates.crt \ + /etc/pki/tls/certs/ca-bundle.crt \ + /usr/share/ssl/certs/ca-bundle.crt \ + /usr/local/share/certs/ca-root.crt \ + /etc/ssl/cert.pem \ + "$cac"; do + if test -f "$a"; then + ca="$a" + break + fi + done + fi + if test "x$want_capath" = "xunset" -a "x$ca" = "xno" -a \ + "x$OPENSSL_ENABLED" = "x1"; then + for a in /etc/ssl/certs/; do + if test -d "$a" && ls "$a"/[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].0 >/dev/null 2>/dev/null; then + capath="$a" + break + fi + done + fi + fi + + + + if test "x$ca" != "xno"; then + CURL_CA_BUNDLE='"'$ca'"' + +cat >>confdefs.h <<_ACEOF +#define CURL_CA_BUNDLE "$ca" +_ACEOF + + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ca" >&5 +$as_echo "$ca" >&6; } + elif test "x$capath" != "xno"; then + CURL_CA_PATH="\"$capath\"" + +cat >>confdefs.h <<_ACEOF +#define CURL_CA_PATH "$capath" +_ACEOF + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5 +$as_echo "$capath (capath)" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + + +OPT_LIBSSH2=off + +# Check whether --with-libssh2 was given. +if test "${with_libssh2+set}" = set; then : + withval=$with_libssh2; OPT_LIBSSH2=$withval +fi + + +if test X"$OPT_LIBSSH2" != Xno; then + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" + + case "$OPT_LIBSSH2" in + yes) + + + PKGCONFIG="no" + + if test x$cross_compiling = xyes; then + # Extract the first word of "${host}-pkg-config", so it can be a program name with args. +set dummy ${host}-pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKGCONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + + if test x$PKGCONFIG = xno; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKGCONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin:/usr/local/bin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + + if test x$PKGCONFIG != xno; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2 options with pkg-config" >&5 +$as_echo_n "checking for libssh2 options with pkg-config... " >&6; } + itexists=` + if test -n ""; then + PKG_CONFIG_LIBDIR="" + export PKG_CONFIG_LIBDIR + fi + $PKGCONFIG --exists libssh2 >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } + fi + fi + + + if test "$PKGCONFIG" != "no" ; then + LIB_SSH2=`$PKGCONFIG --libs-only-l libssh2` + LD_SSH2=`$PKGCONFIG --libs-only-L libssh2` + CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2` + version=`$PKGCONFIG --modversion libssh2` + DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/-L//'` + fi + + ;; + off) + ;; + *) + PREFIX_SSH2=$OPT_LIBSSH2 + ;; + esac + + if test -n "$PREFIX_SSH2"; then + LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff + CPP_SSH2=-I${PREFIX_SSH2}/include + DIR_SSH2=${PREFIX_SSH2}/lib$libsuff + fi + + LDFLAGS="$LDFLAGS $LD_SSH2" + CPPFLAGS="$CPPFLAGS $CPP_SSH2" + LIBS="$LIBS $LIB_SSH2" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2_channel_open_ex in -lssh2" >&5 +$as_echo_n "checking for libssh2_channel_open_ex in -lssh2... " >&6; } +if test "${ac_cv_lib_ssh2_libssh2_channel_open_ex+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lssh2 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char libssh2_channel_open_ex (); +int main (void) +{ +return libssh2_channel_open_ex (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ssh2_libssh2_channel_open_ex=yes +else + ac_cv_lib_ssh2_libssh2_channel_open_ex=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_channel_open_ex" >&5 +$as_echo "$ac_cv_lib_ssh2_libssh2_channel_open_ex" >&6; } +if test "x$ac_cv_lib_ssh2_libssh2_channel_open_ex" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBSSH2 1 +_ACEOF + + LIBS="-lssh2 $LIBS" + +fi + + + for ac_header in libssh2.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "libssh2.h" "ac_cv_header_libssh2_h" "$ac_includes_default" +if test "x$ac_cv_header_libssh2_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBSSH2_H 1 +_ACEOF + curl_ssh_msg="enabled (libSSH2)" + LIBSSH2_ENABLED=1 + +$as_echo "#define USE_LIBSSH2 1" >>confdefs.h + + USE_LIBSSH2=1 + + +fi + +done + + + if test X"$OPT_LIBSSH2" != Xoff && + test "$LIBSSH2_ENABLED" != "1"; then + as_fn_error "libSSH2 libs and/or directories were not found where specified!" "$LINENO" 5 + fi + + if test "$LIBSSH2_ENABLED" = "1"; then + if test -n "$DIR_SSH2"; then + + for ac_func in libssh2_version +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DIR_SSH2" + export LD_LIBRARY_PATH + { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH2 to LD_LIBRARY_PATH" >&5 +$as_echo "$as_me: Added $DIR_SSH2 to LD_LIBRARY_PATH" >&6;} + fi + else + LDFLAGS=$CLEANLDFLAGS + CPPFLAGS=$CLEANCPPFLAGS + LIBS=$CLEANLIBS + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with libidn" >&5 +$as_echo_n "checking whether to build with libidn... " >&6; } + +# Check whether --with-libidn was given. +if test "${with_libidn+set}" = set; then : + withval=$with_libidn; LIBIDN="$withval" +fi + + +case "$LIBIDN" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + idn="" + if test -n "$LIBIDN"; then + if test "x$LIBIDN" != "xyes"; then + oldLDFLAGS=$LDFLAGS + oldCPPFLAGS=$CPPFLAGS + LDFLAGS="$LDFLAGS -L$LIBIDN/lib" + CPPFLAGS="$CPPFLAGS -I$LIBIDN/include" + idn="yes" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for idna_to_ascii_4i in -lidn" >&5 +$as_echo_n "checking for idna_to_ascii_4i in -lidn... " >&6; } +if test "${ac_cv_lib_idn_idna_to_ascii_4i+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lidn $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char idna_to_ascii_4i (); +int main (void) +{ +return idna_to_ascii_4i (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_idn_idna_to_ascii_4i=yes +else + ac_cv_lib_idn_idna_to_ascii_4i=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_idn_idna_to_ascii_4i" >&5 +$as_echo "$ac_cv_lib_idn_idna_to_ascii_4i" >&6; } +if test "x$ac_cv_lib_idn_idna_to_ascii_4i" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBIDN 1 +_ACEOF + + LIBS="-lidn $LIBS" + +else + idn="" + LDFLAGS=$oldLDFLAGS + CPPFLAGS=$oldCPPFLAGS +fi + + fi + fi + + if test "x$idn" != "xyes"; then + idn="yes" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for idna_to_ascii_lz in -lidn" >&5 +$as_echo_n "checking for idna_to_ascii_lz in -lidn... " >&6; } +if test "${ac_cv_lib_idn_idna_to_ascii_lz+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lidn $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef __cplusplus +extern "C" +#endif +char idna_to_ascii_lz (); +int main (void) +{ +return idna_to_ascii_lz (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_idn_idna_to_ascii_lz=yes +else + ac_cv_lib_idn_idna_to_ascii_lz=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_idn_idna_to_ascii_lz" >&5 +$as_echo "$ac_cv_lib_idn_idna_to_ascii_lz" >&6; } +if test "x$ac_cv_lib_idn_idna_to_ascii_lz" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBIDN 1 +_ACEOF + + LIBS="-lidn $LIBS" + +else + idn="" +fi + + fi + + if test "x$idn" = "xyes"; then + curl_idn_msg="enabled" + IDN_ENABLED=1 + + for ac_func in idn_free idna_strerror tld_strerror +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + for ac_header in idn-free.h tld.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + fi + + ;; +esac + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if test "${ac_cv_header_stdc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc.h" >&5 +$as_echo_n "checking for malloc.h... " >&6; } +if test "${ac_cv_header_malloc_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include + +int main (void) +{ + + void *p = malloc(10); + void *q = calloc(10,10); + free(p); + free(q); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_malloc_h="yes" + +else + + ac_cv_header_malloc_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_malloc_h" >&5 +$as_echo "$ac_cv_header_malloc_h" >&6; } + if test "$ac_cv_header_malloc_h" = "yes"; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_MALLOC_H 1 +_ACEOF + + # + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include + +int main (void) +{ + + void *p = malloc(10); + void *q = calloc(10,10); + free(p); + free(q); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_need_header_malloc_h="no" + +else + + curl_cv_need_header_malloc_h="yes" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # + case "$curl_cv_need_header_malloc_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define NEED_MALLOC_H 1 +_ACEOF + + ;; + esac + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memory.h" >&5 +$as_echo_n "checking for memory.h... " >&6; } +if test "${ac_cv_header_memory_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include + +int main (void) +{ + + void *p = malloc(10); + void *q = calloc(10,10); + free(p); + free(q); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_memory_h="yes" + +else + + ac_cv_header_memory_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_memory_h" >&5 +$as_echo "$ac_cv_header_memory_h" >&6; } + if test "$ac_cv_header_memory_h" = "yes"; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_MEMORY_H 1 +_ACEOF + + # + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include + +int main (void) +{ + + void *p = malloc(10); + void *q = calloc(10,10); + free(p); + free(q); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_need_header_memory_h="no" + +else + + curl_cv_need_header_memory_h="yes" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # + case "$curl_cv_need_header_memory_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define NEED_MEMORY_H 1 +_ACEOF + + ;; + esac + fi + + +for ac_header in sys/types.h \ + sys/time.h \ + sys/select.h \ + sys/socket.h \ + sys/ioctl.h \ + sys/uio.h \ + assert.h \ + unistd.h \ + stdlib.h \ + limits.h \ + arpa/inet.h \ + net/if.h \ + netinet/in.h \ + sys/un.h \ + netinet/tcp.h \ + netdb.h \ + sys/sockio.h \ + sys/stat.h \ + sys/param.h \ + termios.h \ + termio.h \ + sgtty.h \ + fcntl.h \ + alloca.h \ + time.h \ + io.h \ + pwd.h \ + utime.h \ + sys/utime.h \ + sys/poll.h \ + poll.h \ + socket.h \ + sys/resource.h \ + libgen.h \ + locale.h \ + errno.h \ + stdbool.h \ + arpa/tftp.h \ + sys/filio.h \ + setjmp.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " +#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 + + +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; } +if test "${ac_cv_c_const+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int main (void) +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset cs; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *pcpcc; + char **ppc; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + pcpcc = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++pcpcc; + ppc = (char**) pcpcc; + pcpcc = (char const *const *) ppc; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + if (s) return 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + if (!foo) return 0; + } + return !cs[0] && !zero.x; +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_const=yes +else + ac_cv_c_const=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +$as_echo "$ac_cv_c_const" >&6; } +if test $ac_cv_c_const = no; then + +$as_echo "#define const /**/" >>confdefs.h + +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style" >&5 +$as_echo_n "checking for compiler support of C99 variadic macro style... " >&6; } +if test "${curl_cv_variadic_macros_c99+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) + int fun3(int arg1, int arg2, int arg3); + int fun2(int arg1, int arg2); + int fun3(int arg1, int arg2, int arg3) + { return arg1 + arg2 + arg3; } + int fun2(int arg1, int arg2) + { return arg1 + arg2; } + +int main (void) +{ + + int res3 = c99_vmacro3(1, 2, 3); + int res2 = c99_vmacro2(1, 2); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_variadic_macros_c99="yes" + +else + + curl_cv_variadic_macros_c99="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5 +$as_echo "$curl_cv_variadic_macros_c99" >&6; } + case "$curl_cv_variadic_macros_c99" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_VARIADIC_MACROS_C99 1 +_ACEOF + + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro style" >&5 +$as_echo_n "checking for compiler support of old gcc variadic macro style... " >&6; } +if test "${curl_cv_variadic_macros_gcc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define gcc_vmacro3(first, args...) fun3(first, args) +#define gcc_vmacro2(first, args...) fun2(first, args) + int fun3(int arg1, int arg2, int arg3); + int fun2(int arg1, int arg2); + int fun3(int arg1, int arg2, int arg3) + { return arg1 + arg2 + arg3; } + int fun2(int arg1, int arg2) + { return arg1 + arg2; } + +int main (void) +{ + + int res3 = gcc_vmacro3(1, 2, 3); + int res2 = gcc_vmacro2(1, 2); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_variadic_macros_gcc="yes" + +else + + curl_cv_variadic_macros_gcc="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5 +$as_echo "$curl_cv_variadic_macros_gcc" >&6; } + case "$curl_cv_variadic_macros_gcc" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_VARIADIC_MACROS_GCC 1 +_ACEOF + + ;; + esac + +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = x""yes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } +if test "${ac_cv_header_time+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include + +int main (void) +{ +if ((struct tm *) 0) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_time=yes +else + ac_cv_header_time=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 +$as_echo "$ac_cv_header_time" >&6; } +if test $ac_cv_header_time = yes; then + +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h + +fi + + + for ac_header in sys/types.h sys/time.h time.h sys/socket.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 +$as_echo_n "checking for struct timeval... " >&6; } +if test "${ac_cv_struct_timeval+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + +int main (void) +{ + + struct timeval ts; + ts.tv_sec = 0; + ts.tv_usec = 0; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_struct_timeval="yes" + +else + + ac_cv_struct_timeval="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_timeval" >&5 +$as_echo "$ac_cv_struct_timeval" >&6; } + case "$ac_cv_struct_timeval" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TIMEVAL 1 +_ACEOF + + ;; + esac + + + + if test "x$cross_compiling" != xyes; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-time libs availability" >&5 +$as_echo_n "checking run-time libs availability... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +main() +{ + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: fine" >&5 +$as_echo "fine" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } + as_fn_error "one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS" "$LINENO" 5 + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + + fi + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 +$as_echo_n "checking size of size_t... " >&6; } +if test "${ac_cv_sizeof_size_t+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_size_t" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (size_t) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_size_t=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 +$as_echo "$ac_cv_sizeof_size_t" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +$as_echo_n "checking size of long... " >&6; } +if test "${ac_cv_sizeof_long+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (long) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_long=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +$as_echo "$ac_cv_sizeof_long" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 +$as_echo_n "checking size of int... " >&6; } +if test "${ac_cv_sizeof_int+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_int" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (int) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_int=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +$as_echo "$ac_cv_sizeof_int" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_INT $ac_cv_sizeof_int +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 +$as_echo_n "checking size of short... " >&6; } +if test "${ac_cv_sizeof_short+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_short" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (short) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_short=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 +$as_echo "$ac_cv_sizeof_short" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_SHORT $ac_cv_sizeof_short +_ACEOF + + + + if test -z "$ac_cv_sizeof_long" || + test "$ac_cv_sizeof_long" -eq "0"; then + as_fn_error "cannot find out size of long." "$LINENO" 5 + fi + +cat >>confdefs.h <<_EOF +#define CURL_SIZEOF_LONG $ac_cv_sizeof_long +_EOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5 +$as_echo_n "checking size of time_t... " >&6; } +if test "${ac_cv_sizeof_time_t+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_time_t" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (time_t) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_time_t=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5 +$as_echo "$ac_cv_sizeof_time_t" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_TIME_T $ac_cv_sizeof_time_t +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 +$as_echo_n "checking size of off_t... " >&6; } +if test "${ac_cv_sizeof_off_t+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_off_t" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (off_t) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_off_t=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 +$as_echo "$ac_cv_sizeof_off_t" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_OFF_T $ac_cv_sizeof_off_t +_ACEOF + + + +soname_bump=no +if test x"$ac_cv_native_windows" != "xyes" && + test $ac_cv_sizeof_off_t -ne $curl_sizeof_curl_off_t; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This libcurl built is probably not ABI compatible with previous" >&5 +$as_echo "$as_me: WARNING: This libcurl built is probably not ABI compatible with previous" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: builds! You MUST read lib/README.curl_off_t to figure it out." >&5 +$as_echo "$as_me: WARNING: builds! You MUST read lib/README.curl_off_t to figure it out." >&2;} + soname_bump=yes +fi + + +ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" +if test "x$ac_cv_type_long_long" = x""yes; then : + +$as_echo "#define HAVE_LONGLONG 1" >>confdefs.h + + longlong="yes" + +fi + + +if test "xyes" = "x$longlong"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if numberLL works" >&5 +$as_echo_n "checking if numberLL works... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +long long val = 1000LL; +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define HAVE_LL 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + + +# check for ssize_t +ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" +if test "x$ac_cv_type_ssize_t" = x""yes; then : + +else + +$as_echo "#define ssize_t int" >>confdefs.h + +fi + + +# check for bool type +ac_fn_c_check_type "$LINENO" "bool" "ac_cv_type_bool" " +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_STDBOOL_H +#include +#endif + +" +if test "x$ac_cv_type_bool" = x""yes; then : + + +$as_echo "#define HAVE_BOOL_T 1" >>confdefs.h + + +fi + + + +curl_includes_ws2tcpip="\ +/* includes start */ +#ifdef HAVE_WINDOWS_H +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# endif +# include +# ifdef HAVE_WINSOCK2_H +# include +# ifdef HAVE_WS2TCPIP_H +# include +# endif +# endif +#endif +/* includes end */" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +$as_echo_n "checking for windows.h... " >&6; } +if test "${ac_cv_header_windows_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_windows_h="yes" + +else + + ac_cv_header_windows_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_windows_h" >&5 +$as_echo "$ac_cv_header_windows_h" >&6; } + case "$ac_cv_header_windows_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINDOWS_H 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define WIN32_LEAN_AND_MEAN 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +$as_echo_n "checking for winsock2.h... " >&6; } +if test "${ac_cv_header_winsock2_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) + HAVE_WINSOCK2_H shall not be defined. +#else + int dummy=2*IPPROTO_ESP; +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_winsock2_h="yes" + +else + + ac_cv_header_winsock2_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_winsock2_h" >&5 +$as_echo "$ac_cv_header_winsock2_h" >&6; } + case "$ac_cv_header_winsock2_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WINSOCK2_H 1 +_ACEOF + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +$as_echo_n "checking for ws2tcpip.h... " >&6; } +if test "${ac_cv_header_ws2tcpip_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include +#include + +int main (void) +{ + +#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) + HAVE_WS2TCPIP_H shall not be defined. +#else + int dummy=2*IP_PKTINFO; +#endif + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_header_ws2tcpip_h="yes" + +else + + ac_cv_header_ws2tcpip_h="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_ws2tcpip_h" >&5 +$as_echo "$ac_cv_header_ws2tcpip_h" >&6; } + case "$ac_cv_header_ws2tcpip_h" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_WS2TCPIP_H 1 +_ACEOF + + ;; + esac + + + +curl_includes_sys_socket="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h sys/socket.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_sys_socket +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + +curl_preprocess_callconv="\ +/* preprocess start */ +#ifdef HAVE_WINDOWS_H +# define FUNCALLCONV __stdcall +#else +# define FUNCALLCONV +#endif +/* preprocess end */" + + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_socklen_t data type" >&5 +$as_echo_n "checking for curl_socklen_t data type... " >&6; } + curl_typeof_curl_socklen_t="unknown" + for arg1 in int SOCKET; do + for arg2 in 'struct sockaddr' void; do + for t in socklen_t int size_t 'unsigned int' long 'unsigned long' void; do + if test "$curl_typeof_curl_socklen_t" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_preprocess_callconv + extern int FUNCALLCONV getpeername($arg1, $arg2 *, $t *); + +int main (void) +{ + + $t *lenptr = 0; + if(0 != getpeername(0, 0, lenptr)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_typeof_curl_socklen_t="$t" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + done + done + for t in socklen_t int; do + if test "$curl_typeof_curl_socklen_t" = "void"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_sys_socket + typedef $t curl_socklen_t; + +int main (void) +{ + + curl_socklen_t dummy; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_typeof_curl_socklen_t="$t" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_typeof_curl_socklen_t" >&5 +$as_echo "$curl_typeof_curl_socklen_t" >&6; } + if test "$curl_typeof_curl_socklen_t" = "void" || + test "$curl_typeof_curl_socklen_t" = "unknown"; then + as_fn_error "cannot find data type for curl_socklen_t." "$LINENO" 5 + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of curl_socklen_t" >&5 +$as_echo_n "checking size of curl_socklen_t... " >&6; } + curl_sizeof_curl_socklen_t="unknown" + curl_pull_headers_socklen_t="unknown" + if test "$ac_cv_header_ws2tcpip_h" = "yes"; then + tst_pull_header_checks='none ws2tcpip' + tst_size_checks='4' + else + tst_pull_header_checks='none systypes syssocket' + tst_size_checks='4 8 2' + fi + for tst_size in $tst_size_checks; do + for tst_pull_headers in $tst_pull_header_checks; do + if test "$curl_sizeof_curl_socklen_t" = "unknown"; then + case $tst_pull_headers in + ws2tcpip) + tmp_includes="$curl_includes_ws2tcpip" + ;; + systypes) + tmp_includes="$curl_includes_sys_types" + ;; + syssocket) + tmp_includes="$curl_includes_sys_socket" + ;; + *) + tmp_includes="" + ;; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $tmp_includes + typedef $curl_typeof_curl_socklen_t curl_socklen_t; + typedef char dummy_arr[sizeof(curl_socklen_t) == $tst_size ? 1 : -1]; + +int main (void) +{ + + curl_socklen_t dummy; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_sizeof_curl_socklen_t="$tst_size" + curl_pull_headers_socklen_t="$tst_pull_headers" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + done + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_sizeof_curl_socklen_t" >&5 +$as_echo "$curl_sizeof_curl_socklen_t" >&6; } + if test "$curl_sizeof_curl_socklen_t" = "unknown"; then + as_fn_error "cannot find out size of curl_socklen_t." "$LINENO" 5 + fi + # + case $curl_pull_headers_socklen_t in + ws2tcpip) + +cat >>confdefs.h <<_EOF +#define CURL_PULL_WS2TCPIP_H 1 +_EOF + + ;; + systypes) + +cat >>confdefs.h <<_EOF +#define CURL_PULL_SYS_TYPES_H 1 +_EOF + + ;; + syssocket) + +cat >>confdefs.h <<_EOF +#define CURL_PULL_SYS_TYPES_H 1 +_EOF + + +cat >>confdefs.h <<_EOF +#define CURL_PULL_SYS_SOCKET_H 1 +_EOF + + ;; + esac + +cat >>confdefs.h <<_EOF +#define CURL_TYPEOF_CURL_SOCKLEN_T $curl_typeof_curl_socklen_t +_EOF + + +cat >>confdefs.h <<_EOF +#define CURL_SIZEOF_CURL_SOCKLEN_T $curl_sizeof_curl_socklen_t +_EOF + + + + + ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" " +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 + +" +if test "x$ac_cv_type_in_addr_t" = x""yes; then : + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5 +$as_echo_n "checking for in_addr_t equivalent... " >&6; } +if test "${curl_cv_in_addr_t_equiv+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + curl_cv_in_addr_t_equiv="unknown" + for t in "unsigned long" int size_t unsigned long; do + if test "$curl_cv_in_addr_t_equiv" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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) +{ + + $t data = inet_addr ("1.2.3.4"); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + curl_cv_in_addr_t_equiv="$t" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_in_addr_t_equiv" >&5 +$as_echo "$curl_cv_in_addr_t_equiv" >&6; } + case "$curl_cv_in_addr_t_equiv" in + unknown) + as_fn_error "Cannot find a type to use in place of in_addr_t" "$LINENO" 5 + ;; + *) + +cat >>confdefs.h <<_ACEOF +#define in_addr_t $curl_cv_in_addr_t_equiv +_ACEOF + + ;; + esac + +fi + + + + + ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " +#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 + +" +if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : + +$as_echo "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h + +fi + + + + + for ac_header in signal.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default" +if test "x$ac_cv_header_signal_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SIGNAL_H 1 +_ACEOF + +fi + +done + + ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" " +#ifdef HAVE_SIGNAL_H +#include +#endif + +" +if test "x$ac_cv_type_sig_atomic_t" = x""yes; then : + + +$as_echo "#define HAVE_SIG_ATOMIC_T 1" >>confdefs.h + + +fi + + case "$ac_cv_type_sig_atomic_t" in + yes) + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sig_atomic_t is already defined as volatile" >&5 +$as_echo_n "checking if sig_atomic_t is already defined as volatile... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef HAVE_SIGNAL_H +#include +#endif + +int main (void) +{ + + static volatile sig_atomic_t dummy = 0; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_sig_atomic_t_volatile="no" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ac_cv_sig_atomic_t_volatile="yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$ac_cv_sig_atomic_t_volatile" = "yes"; then + +$as_echo "#define HAVE_SIG_ATOMIC_T_VOLATILE 1" >>confdefs.h + + fi + ;; + esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 +$as_echo_n "checking return type of signal handlers... " >&6; } +if test "${ac_cv_type_signal+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include + +int main (void) +{ +return *(signal (0, 0)) (0) == 1; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_type_signal=int +else + ac_cv_type_signal=void +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 +$as_echo "$ac_cv_type_signal" >&6; } + +cat >>confdefs.h <<_ACEOF +#define RETSIGTYPE $ac_cv_type_signal +_ACEOF + + + + + for ac_header in sys/select.h sys/socket.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select" >&5 +$as_echo_n "checking for select... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif +#ifndef HAVE_WINDOWS_H +#ifdef HAVE_SYS_SELECT_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#endif + +int main (void) +{ + + select(0, 0, 0, 0, 0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_cv_select="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + curl_cv_select="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$curl_cv_select" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for select" >&5 +$as_echo_n "checking types of args and return type for select... " >&6; } +if test "${curl_cv_func_select_args+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + curl_cv_func_select_args="unknown" + for sel_retv in 'int' 'ssize_t'; do + for sel_arg1 in 'int' 'ssize_t' 'size_t' 'unsigned long int' 'unsigned int'; do + for sel_arg234 in 'fd_set *' 'int *' 'void *'; do + for sel_arg5 in 'struct timeval *' 'const struct timeval *'; do + if test "$curl_cv_func_select_args" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#ifdef HAVE_WINSOCK2_H +#include +#else +#ifdef HAVE_WINSOCK_H +#include +#endif +#endif +#define SELECTCALLCONV PASCAL +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include +#endif +#endif +#ifndef HAVE_WINDOWS_H +#ifdef HAVE_SYS_SELECT_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#define SELECTCALLCONV +#endif +#ifndef HAVE_STRUCT_TIMEVAL + struct timeval { + long tv_sec; + long tv_usec; + }; +#endif + extern $sel_retv SELECTCALLCONV select($sel_arg1, + $sel_arg234, + $sel_arg234, + $sel_arg234, + $sel_arg5); + +int main (void) +{ + + $sel_arg1 nfds=0; + $sel_arg234 rfds=0; + $sel_arg234 wfds=0; + $sel_arg234 efds=0; + $sel_retv res = select(nfds, rfds, wfds, efds, 0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_func_select_args="$sel_arg1,$sel_arg234,$sel_arg5,$sel_retv" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + done + done + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_select_args" >&5 +$as_echo "$curl_cv_func_select_args" >&6; } # AC-CACHE-CHECK + if test "$curl_cv_func_select_args" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find proper types to use for select args" >&5 +$as_echo "$as_me: WARNING: Cannot find proper types to use for select args" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_SELECT will not be defined" >&5 +$as_echo "$as_me: WARNING: HAVE_SELECT will not be defined" >&2;} + else + select_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_select_args" | sed 's/\*/\*/g'` + IFS=$select_prev_IFS + shift + # + sel_qual_type_arg5=$3 + # + +cat >>confdefs.h <<_ACEOF +#define SELECT_TYPE_ARG1 $1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define SELECT_TYPE_ARG234 $2 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define SELECT_TYPE_RETV $4 +_ACEOF + + # + prev_sh_opts=$- + # + case $prev_sh_opts in + *f*) + ;; + *) + set -f + ;; + esac + # + case "$sel_qual_type_arg5" in + const*) + sel_qual_arg5=const + sel_type_arg5=`echo $sel_qual_type_arg5 | sed 's/^const //'` + ;; + *) + sel_qual_arg5= + sel_type_arg5=$sel_qual_type_arg5 + ;; + esac + # + +cat >>confdefs.h <<_ACEOF +#define SELECT_QUAL_ARG5 $sel_qual_arg5 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define SELECT_TYPE_ARG5 $sel_type_arg5 +_ACEOF + + # + case $prev_sh_opts in + *f*) + ;; + *) + set +f + ;; + esac + # + +cat >>confdefs.h <<_ACEOF +#define HAVE_SELECT 1 +_ACEOF + + ac_cv_func_select="yes" + fi + fi + + + + for ac_header in sys/types.h sys/socket.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recv" >&5 +$as_echo_n "checking for recv... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#endif + +int main (void) +{ + + recv(0, 0, 0, 0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_cv_recv="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + curl_cv_recv="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$curl_cv_recv" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for recv" >&5 +$as_echo_n "checking types of args and return type for recv... " >&6; } +if test "${curl_cv_func_recv_args+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + curl_cv_func_recv_args="unknown" + for recv_retv in 'int' 'ssize_t'; do + for recv_arg1 in 'int' 'ssize_t' 'SOCKET'; do + for recv_arg2 in 'char *' 'void *'; do + for recv_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do + for recv_arg4 in 'int' 'unsigned int'; do + if test "$curl_cv_func_recv_args" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_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 $recv_retv RECVCALLCONV + recv($recv_arg1, $recv_arg2, $recv_arg3, $recv_arg4); + +int main (void) +{ + + $recv_arg1 s=0; + $recv_arg2 buf=0; + $recv_arg3 len=0; + $recv_arg4 flags=0; + $recv_retv res = recv(s, buf, len, flags); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_func_recv_args="$recv_arg1,$recv_arg2,$recv_arg3,$recv_arg4,$recv_retv" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + done + done + done + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_recv_args" >&5 +$as_echo "$curl_cv_func_recv_args" >&6; } # AC-CACHE-CHECK + if test "$curl_cv_func_recv_args" = "unknown"; then + as_fn_error "Cannot find proper types to use for recv args" "$LINENO" 5 + else + recv_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_recv_args" | sed 's/\*/\*/g'` + IFS=$recv_prev_IFS + shift + # + +cat >>confdefs.h <<_ACEOF +#define RECV_TYPE_ARG1 $1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECV_TYPE_ARG2 $2 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECV_TYPE_ARG3 $3 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECV_TYPE_ARG4 $4 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECV_TYPE_RETV $5 +_ACEOF + + # + +cat >>confdefs.h <<_ACEOF +#define HAVE_RECV 1 +_ACEOF + + ac_cv_func_recv="yes" + fi + else + as_fn_error "Unable to link function recv" "$LINENO" 5 + fi + + + for ac_header in sys/types.h sys/socket.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recvfrom" >&5 +$as_echo_n "checking for recvfrom... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#endif + +int main (void) +{ + + recvfrom(0, 0, 0, 0, 0, 0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_cv_recvfrom="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + curl_cv_recvfrom="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$curl_cv_recvfrom" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for recvfrom" >&5 +$as_echo_n "checking types of args and return type for recvfrom... " >&6; } +if test "${curl_cv_func_recvfrom_args+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + curl_cv_func_recvfrom_args="unknown" + for recvfrom_retv in 'int' 'ssize_t'; do + for recvfrom_arg1 in 'int' 'ssize_t' 'SOCKET'; do + for recvfrom_arg2 in 'char *' 'void *'; do + for recvfrom_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do + for recvfrom_arg4 in 'int' 'unsigned int'; do + for recvfrom_arg5 in 'struct sockaddr *' 'void *'; do + for recvfrom_arg6 in 'socklen_t *' 'int *' 'unsigned int *' 'size_t *' 'void *'; do + if test "$curl_cv_func_recvfrom_args" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#ifdef HAVE_WINSOCK2_H +#include +#else +#ifdef HAVE_WINSOCK_H +#include +#endif +#endif +#define RECVFROMCALLCONV PASCAL +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#define RECVFROMCALLCONV +#endif + extern $recvfrom_retv RECVFROMCALLCONV + recvfrom($recvfrom_arg1, $recvfrom_arg2, + $recvfrom_arg3, $recvfrom_arg4, + $recvfrom_arg5, $recvfrom_arg6); + +int main (void) +{ + + $recvfrom_arg1 s=0; + $recvfrom_arg2 buf=0; + $recvfrom_arg3 len=0; + $recvfrom_arg4 flags=0; + $recvfrom_arg5 addr=0; + $recvfrom_arg6 addrlen=0; + $recvfrom_retv res=0; + res = recvfrom(s, buf, len, flags, addr, addrlen); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_func_recvfrom_args="$recvfrom_arg1,$recvfrom_arg2,$recvfrom_arg3,$recvfrom_arg4,$recvfrom_arg5,$recvfrom_arg6,$recvfrom_retv" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + done + done + done + done + done + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_recvfrom_args" >&5 +$as_echo "$curl_cv_func_recvfrom_args" >&6; } # AC-CACHE-CHECK + # Nearly last minute change for this release starts here + +cat >>confdefs.h <<_ACEOF +#define HAVE_RECVFROM 1 +_ACEOF + + ac_cv_func_recvfrom="yes" + # Nearly last minute change for this release ends here + if test "$curl_cv_func_recvfrom_args" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find proper types to use for recvfrom args" >&5 +$as_echo "$as_me: WARNING: Cannot find proper types to use for recvfrom args" >&2;} + else + recvfrom_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_recvfrom_args" | sed 's/\*/\*/g'` + IFS=$recvfrom_prev_IFS + shift + # + recvfrom_ptrt_arg2=$2 + recvfrom_ptrt_arg5=$5 + recvfrom_ptrt_arg6=$6 + # + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG1 $1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG3 $3 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG4 $4 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_RETV $7 +_ACEOF + + # + prev_sh_opts=$- + # + case $prev_sh_opts in + *f*) + ;; + *) + set -f + ;; + esac + # + recvfrom_type_arg2=`echo $recvfrom_ptrt_arg2 | sed 's/ \*//'` + recvfrom_type_arg5=`echo $recvfrom_ptrt_arg5 | sed 's/ \*//'` + recvfrom_type_arg6=`echo $recvfrom_ptrt_arg6 | sed 's/ \*//'` + # + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG2 $recvfrom_type_arg2 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG5 $recvfrom_type_arg5 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG6 $recvfrom_type_arg6 +_ACEOF + + # + if test "$recvfrom_type_arg2" = "void"; then + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG2_IS_VOID 1 +_ACEOF + + fi + if test "$recvfrom_type_arg5" = "void"; then + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG5_IS_VOID 1 +_ACEOF + + fi + if test "$recvfrom_type_arg6" = "void"; then + +cat >>confdefs.h <<_ACEOF +#define RECVFROM_TYPE_ARG6_IS_VOID 1 +_ACEOF + + fi + # + case $prev_sh_opts in + *f*) + ;; + *) + set +f + ;; + esac + # + +cat >>confdefs.h <<_ACEOF +#define HAVE_RECVFROM 1 +_ACEOF + + ac_cv_func_recvfrom="yes" + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to link function recvfrom" >&5 +$as_echo "$as_me: WARNING: Unable to link function recvfrom" >&2;} + fi + + + for ac_header in sys/types.h sys/socket.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for send" >&5 +$as_echo_n "checking for send... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#endif + +int main (void) +{ + + send(0, 0, 0, 0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_cv_send="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + curl_cv_send="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$curl_cv_send" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for send" >&5 +$as_echo_n "checking types of args and return type for send... " >&6; } +if test "${curl_cv_func_send_args+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + curl_cv_func_send_args="unknown" + for send_retv in 'int' 'ssize_t'; do + for send_arg1 in 'int' 'ssize_t' 'SOCKET'; do + for send_arg2 in 'char *' 'void *' 'const char *' 'const void *'; do + for send_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do + for send_arg4 in 'int' 'unsigned int'; do + if test "$curl_cv_func_send_args" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_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 $send_retv SENDCALLCONV + send($send_arg1, $send_arg2, $send_arg3, $send_arg4); + +int main (void) +{ + + $send_arg1 s=0; + $send_arg3 len=0; + $send_arg4 flags=0; + $send_retv res = send(s, 0, len, flags); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_func_send_args="$send_arg1,$send_arg2,$send_arg3,$send_arg4,$send_retv" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + done + done + done + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_send_args" >&5 +$as_echo "$curl_cv_func_send_args" >&6; } # AC-CACHE-CHECK + if test "$curl_cv_func_send_args" = "unknown"; then + as_fn_error "Cannot find proper types to use for send args" "$LINENO" 5 + else + send_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_send_args" | sed 's/\*/\*/g'` + IFS=$send_prev_IFS + shift + # + send_qual_type_arg2=$2 + # + +cat >>confdefs.h <<_ACEOF +#define SEND_TYPE_ARG1 $1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define SEND_TYPE_ARG3 $3 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define SEND_TYPE_ARG4 $4 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define SEND_TYPE_RETV $5 +_ACEOF + + # + prev_sh_opts=$- + # + case $prev_sh_opts in + *f*) + ;; + *) + set -f + ;; + esac + # + case "$send_qual_type_arg2" in + const*) + send_qual_arg2=const + send_type_arg2=`echo $send_qual_type_arg2 | sed 's/^const //'` + ;; + *) + send_qual_arg2= + send_type_arg2=$send_qual_type_arg2 + ;; + esac + # + +cat >>confdefs.h <<_ACEOF +#define SEND_QUAL_ARG2 $send_qual_arg2 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define SEND_TYPE_ARG2 $send_type_arg2 +_ACEOF + + # + case $prev_sh_opts in + *f*) + ;; + *) + set +f + ;; + esac + # + +cat >>confdefs.h <<_ACEOF +#define HAVE_SEND 1 +_ACEOF + + ac_cv_func_send="yes" + fi + else + as_fn_error "Unable to link function send" "$LINENO" 5 + fi + + + for ac_header in sys/types.h sys/socket.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5 +$as_echo_n "checking for MSG_NOSIGNAL... " >&6; } +if test "${ac_cv_msg_nosignal+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef 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 +#endif + +int main (void) +{ + + int flag=MSG_NOSIGNAL; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_msg_nosignal="yes" + +else + + ac_cv_msg_nosignal="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_msg_nosignal" >&5 +$as_echo "$ac_cv_msg_nosignal" >&6; } + case "$ac_cv_msg_nosignal" in + yes) + +cat >>confdefs.h <<_ACEOF +#define HAVE_MSG_NOSIGNAL 1 +_ACEOF + + ;; + esac + + + +curl_includes_unistd="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_unistd +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_alarm="unknown" + tst_proto_alarm="unknown" + tst_compi_alarm="unknown" + tst_allow_alarm="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm can be linked" >&5 +$as_echo_n "checking if alarm can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define alarm innocuous_alarm +#ifdef __STDC__ +# include +#else +# include +#endif +#undef alarm +#ifdef __cplusplus +extern "C" +#endif +char alarm (); +#if defined __stub_alarm || defined __stub___alarm +choke me +#endif + +int main (void) +{ +return alarm (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_alarm="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_alarm="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_alarm" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm is prototyped" >&5 +$as_echo_n "checking if alarm is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_unistd + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "alarm" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_alarm="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_alarm="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_alarm" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm is compilable" >&5 +$as_echo_n "checking if alarm is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_unistd + +int main (void) +{ + + if(0 != alarm(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_alarm="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_alarm="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_alarm" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm usage allowed" >&5 +$as_echo_n "checking if alarm usage allowed... " >&6; } + if test "x$curl_disallow_alarm" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_alarm="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_alarm="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm might be used" >&5 +$as_echo_n "checking if alarm might be used... " >&6; } + if test "$tst_links_alarm" = "yes" && + test "$tst_proto_alarm" = "yes" && + test "$tst_compi_alarm" = "yes" && + test "$tst_allow_alarm" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_ALARM 1 +_ACEOF + + ac_cv_func_alarm="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_alarm="no" + fi + + +curl_includes_string="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h string.h strings.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_string +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + +curl_includes_libgen="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_LIBGEN_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h libgen.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_libgen +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_basename="unknown" + tst_proto_basename="unknown" + tst_compi_basename="unknown" + tst_allow_basename="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename can be linked" >&5 +$as_echo_n "checking if basename can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define basename innocuous_basename +#ifdef __STDC__ +# include +#else +# include +#endif +#undef basename +#ifdef __cplusplus +extern "C" +#endif +char basename (); +#if defined __stub_basename || defined __stub___basename +choke me +#endif + +int main (void) +{ +return basename (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_basename="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_basename="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_basename" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename is prototyped" >&5 +$as_echo_n "checking if basename is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + $curl_includes_libgen + $curl_includes_unistd + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "basename" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_basename="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_basename="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_basename" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename is compilable" >&5 +$as_echo_n "checking if basename is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + $curl_includes_libgen + $curl_includes_unistd + +int main (void) +{ + + if(0 != basename(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_basename="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_basename="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_basename" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename usage allowed" >&5 +$as_echo_n "checking if basename usage allowed... " >&6; } + if test "x$curl_disallow_basename" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_basename="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_basename="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename might be used" >&5 +$as_echo_n "checking if basename might be used... " >&6; } + if test "$tst_links_basename" = "yes" && + test "$tst_proto_basename" = "yes" && + test "$tst_compi_basename" = "yes" && + test "$tst_allow_basename" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_BASENAME 1 +_ACEOF + + ac_cv_func_basename="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_basename="no" + fi + + +curl_includes_socket="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SOCKET_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h socket.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_socket +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_closesocket="unknown" + tst_proto_closesocket="unknown" + tst_compi_closesocket="unknown" + tst_allow_closesocket="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket can be linked" >&5 +$as_echo_n "checking if closesocket can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_socket + +int main (void) +{ + + if(0 != closesocket(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_closesocket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_closesocket="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_closesocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket is prototyped" >&5 +$as_echo_n "checking if closesocket is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_winsock2 + $curl_includes_socket + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "closesocket" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_closesocket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_closesocket="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_closesocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket is compilable" >&5 +$as_echo_n "checking if closesocket is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_socket + +int main (void) +{ + + if(0 != closesocket(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_closesocket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_closesocket="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_closesocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket usage allowed" >&5 +$as_echo_n "checking if closesocket usage allowed... " >&6; } + if test "x$curl_disallow_closesocket" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_closesocket="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_closesocket="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket might be used" >&5 +$as_echo_n "checking if closesocket might be used... " >&6; } + if test "$tst_links_closesocket" = "yes" && + test "$tst_proto_closesocket" = "yes" && + test "$tst_compi_closesocket" = "yes" && + test "$tst_allow_closesocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_CLOSESOCKET 1 +_ACEOF + + ac_cv_func_closesocket="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_closesocket="no" + fi + + + # + tst_links_closesocket_camel="unknown" + tst_proto_closesocket_camel="unknown" + tst_compi_closesocket_camel="unknown" + tst_allow_closesocket_camel="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket can be linked" >&5 +$as_echo_n "checking if CloseSocket can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_sys_socket + +int main (void) +{ + + if(0 != CloseSocket(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_closesocket_camel="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_closesocket_camel="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_closesocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is prototyped" >&5 +$as_echo_n "checking if CloseSocket is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_sys_socket + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "CloseSocket" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_closesocket_camel="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_closesocket_camel="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_closesocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is compilable" >&5 +$as_echo_n "checking if CloseSocket is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_sys_socket + +int main (void) +{ + + if(0 != CloseSocket(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_closesocket_camel="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_closesocket_camel="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_closesocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket usage allowed" >&5 +$as_echo_n "checking if CloseSocket usage allowed... " >&6; } + if test "x$curl_disallow_closesocket_camel" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_closesocket_camel="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_closesocket_camel="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket might be used" >&5 +$as_echo_n "checking if CloseSocket might be used... " >&6; } + if test "$tst_links_closesocket_camel" = "yes" && + test "$tst_proto_closesocket_camel" = "yes" && + test "$tst_compi_closesocket_camel" = "yes" && + test "$tst_allow_closesocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_CLOSESOCKET_CAMEL 1 +_ACEOF + + ac_cv_func_closesocket_camel="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_closesocket_camel="no" + fi + + + # + tst_links_connect="unknown" + tst_proto_connect="unknown" + tst_compi_connect="unknown" + tst_allow_connect="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect can be linked" >&5 +$as_echo_n "checking if connect can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_sys_socket + $curl_includes_socket + +int main (void) +{ + + if(0 != connect(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_connect="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_connect="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_connect" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect is prototyped" >&5 +$as_echo_n "checking if connect is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_winsock2 + $curl_includes_sys_socket + $curl_includes_socket + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "connect" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_connect="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_connect="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_connect" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect is compilable" >&5 +$as_echo_n "checking if connect is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_sys_socket + $curl_includes_socket + +int main (void) +{ + + if(0 != connect(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_connect="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_connect="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_connect" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect usage allowed" >&5 +$as_echo_n "checking if connect usage allowed... " >&6; } + if test "x$curl_disallow_connect" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_connect="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_connect="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect might be used" >&5 +$as_echo_n "checking if connect might be used... " >&6; } + if test "$tst_links_connect" = "yes" && + test "$tst_proto_connect" = "yes" && + test "$tst_compi_connect" = "yes" && + test "$tst_allow_connect" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_CONNECT 1 +_ACEOF + + ac_cv_func_connect="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_connect="no" + fi + + +curl_includes_fcntl="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_FCNTL_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h unistd.h fcntl.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_fcntl +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_fcntl="unknown" + tst_proto_fcntl="unknown" + tst_compi_fcntl="unknown" + tst_allow_fcntl="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl can be linked" >&5 +$as_echo_n "checking if fcntl can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define fcntl innocuous_fcntl +#ifdef __STDC__ +# include +#else +# include +#endif +#undef fcntl +#ifdef __cplusplus +extern "C" +#endif +char fcntl (); +#if defined __stub_fcntl || defined __stub___fcntl +choke me +#endif + +int main (void) +{ +return fcntl (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_fcntl="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_fcntl="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_fcntl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl is prototyped" >&5 +$as_echo_n "checking if fcntl is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_fcntl + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "fcntl" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_fcntl="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_fcntl="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_fcntl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl is compilable" >&5 +$as_echo_n "checking if fcntl is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_fcntl + +int main (void) +{ + + if(0 != fcntl(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_fcntl="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_fcntl="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_fcntl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl usage allowed" >&5 +$as_echo_n "checking if fcntl usage allowed... " >&6; } + if test "x$curl_disallow_fcntl" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_fcntl="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_fcntl="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl might be used" >&5 +$as_echo_n "checking if fcntl might be used... " >&6; } + if test "$tst_links_fcntl" = "yes" && + test "$tst_proto_fcntl" = "yes" && + test "$tst_compi_fcntl" = "yes" && + test "$tst_allow_fcntl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_FCNTL 1 +_ACEOF + + ac_cv_func_fcntl="yes" + + # + tst_compi_fcntl_o_nonblock="unknown" + tst_allow_fcntl_o_nonblock="unknown" + # + case $host_os in + sunos4* | aix3* | beos*) + curl_disallow_fcntl_o_nonblock="yes" + ;; + esac + # + if test "$ac_cv_func_fcntl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK is compilable" >&5 +$as_echo_n "checking if fcntl O_NONBLOCK is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_fcntl + +int main (void) +{ + + int flags = 0; + if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_fcntl_o_nonblock="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_fcntl_o_nonblock="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_fcntl_o_nonblock" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK usage allowed" >&5 +$as_echo_n "checking if fcntl O_NONBLOCK usage allowed... " >&6; } + if test "x$curl_disallow_fcntl_o_nonblock" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_fcntl_o_nonblock="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_fcntl_o_nonblock="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK might be used" >&5 +$as_echo_n "checking if fcntl O_NONBLOCK might be used... " >&6; } + if test "$tst_compi_fcntl_o_nonblock" = "yes" && + test "$tst_allow_fcntl_o_nonblock" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_FCNTL_O_NONBLOCK 1 +_ACEOF + + ac_cv_func_fcntl_o_nonblock="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_fcntl_o_nonblock="no" + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_fcntl="no" + fi + + +curl_includes_stdio="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_STDIO_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h stdio.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_stdio +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_fdopen="unknown" + tst_proto_fdopen="unknown" + tst_compi_fdopen="unknown" + tst_allow_fdopen="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fdopen can be linked" >&5 +$as_echo_n "checking if fdopen can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define fdopen innocuous_fdopen +#ifdef __STDC__ +# include +#else +# include +#endif +#undef fdopen +#ifdef __cplusplus +extern "C" +#endif +char fdopen (); +#if defined __stub_fdopen || defined __stub___fdopen +choke me +#endif + +int main (void) +{ +return fdopen (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_fdopen="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_fdopen="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_fdopen" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fdopen is prototyped" >&5 +$as_echo_n "checking if fdopen is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_stdio + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "fdopen" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_fdopen="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_fdopen="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_fdopen" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fdopen is compilable" >&5 +$as_echo_n "checking if fdopen is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdio + +int main (void) +{ + + if(0 != fdopen(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_fdopen="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_fdopen="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_fdopen" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fdopen usage allowed" >&5 +$as_echo_n "checking if fdopen usage allowed... " >&6; } + if test "x$curl_disallow_fdopen" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_fdopen="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_fdopen="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fdopen might be used" >&5 +$as_echo_n "checking if fdopen might be used... " >&6; } + if test "$tst_links_fdopen" = "yes" && + test "$tst_proto_fdopen" = "yes" && + test "$tst_compi_fdopen" = "yes" && + test "$tst_allow_fdopen" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_FDOPEN 1 +_ACEOF + + ac_cv_func_fdopen="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_fdopen="no" + fi + + +curl_includes_netdb="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_NETDB_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h netdb.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_netdb +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_freeaddrinfo="unknown" + tst_proto_freeaddrinfo="unknown" + tst_compi_freeaddrinfo="unknown" + tst_allow_freeaddrinfo="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo can be linked" >&5 +$as_echo_n "checking if freeaddrinfo can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_includes_netdb + +int main (void) +{ + + freeaddrinfo(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_freeaddrinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_freeaddrinfo="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_freeaddrinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is prototyped" >&5 +$as_echo_n "checking if freeaddrinfo is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_includes_netdb + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "freeaddrinfo" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_freeaddrinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_freeaddrinfo="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_freeaddrinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is compilable" >&5 +$as_echo_n "checking if freeaddrinfo is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_includes_netdb + +int main (void) +{ + + freeaddrinfo(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_freeaddrinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_freeaddrinfo="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_freeaddrinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo usage allowed" >&5 +$as_echo_n "checking if freeaddrinfo usage allowed... " >&6; } + if test "x$curl_disallow_freeaddrinfo" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_freeaddrinfo="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_freeaddrinfo="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo might be used" >&5 +$as_echo_n "checking if freeaddrinfo might be used... " >&6; } + if test "$tst_links_freeaddrinfo" = "yes" && + test "$tst_proto_freeaddrinfo" = "yes" && + test "$tst_compi_freeaddrinfo" = "yes" && + test "$tst_allow_freeaddrinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_FREEADDRINFO 1 +_ACEOF + + ac_cv_func_freeaddrinfo="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_freeaddrinfo="no" + fi + + +curl_includes_ifaddrs="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +#ifdef HAVE_NETINET_IN_H +# include +#endif +#ifdef HAVE_IFADDRS_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h sys/socket.h netinet/in.h ifaddrs.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_ifaddrs +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_freeifaddrs="unknown" + tst_proto_freeifaddrs="unknown" + tst_compi_freeifaddrs="unknown" + tst_allow_freeifaddrs="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs can be linked" >&5 +$as_echo_n "checking if freeifaddrs can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define freeifaddrs innocuous_freeifaddrs +#ifdef __STDC__ +# include +#else +# include +#endif +#undef freeifaddrs +#ifdef __cplusplus +extern "C" +#endif +char freeifaddrs (); +#if defined __stub_freeifaddrs || defined __stub___freeifaddrs +choke me +#endif + +int main (void) +{ +return freeifaddrs (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_freeifaddrs="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_freeifaddrs="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_freeifaddrs" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs is prototyped" >&5 +$as_echo_n "checking if freeifaddrs is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_ifaddrs + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "freeifaddrs" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_freeifaddrs="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_freeifaddrs="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_freeifaddrs" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs is compilable" >&5 +$as_echo_n "checking if freeifaddrs is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ifaddrs + +int main (void) +{ + + freeifaddrs(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_freeifaddrs="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_freeifaddrs="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_freeifaddrs" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs usage allowed" >&5 +$as_echo_n "checking if freeifaddrs usage allowed... " >&6; } + if test "x$curl_disallow_freeifaddrs" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_freeifaddrs="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_freeifaddrs="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs might be used" >&5 +$as_echo_n "checking if freeifaddrs might be used... " >&6; } + if test "$tst_links_freeifaddrs" = "yes" && + test "$tst_proto_freeifaddrs" = "yes" && + test "$tst_compi_freeifaddrs" = "yes" && + test "$tst_allow_freeifaddrs" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_FREEIFADDRS 1 +_ACEOF + + ac_cv_func_freeifaddrs="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_freeifaddrs="no" + fi + + + # + tst_links_ftruncate="unknown" + tst_proto_ftruncate="unknown" + tst_compi_ftruncate="unknown" + tst_allow_ftruncate="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate can be linked" >&5 +$as_echo_n "checking if ftruncate can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define ftruncate innocuous_ftruncate +#ifdef __STDC__ +# include +#else +# include +#endif +#undef ftruncate +#ifdef __cplusplus +extern "C" +#endif +char ftruncate (); +#if defined __stub_ftruncate || defined __stub___ftruncate +choke me +#endif + +int main (void) +{ +return ftruncate (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_ftruncate="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_ftruncate="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_ftruncate" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate is prototyped" >&5 +$as_echo_n "checking if ftruncate is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_unistd + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "ftruncate" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_ftruncate="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_ftruncate="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_ftruncate" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate is compilable" >&5 +$as_echo_n "checking if ftruncate is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_unistd + +int main (void) +{ + + if(0 != ftruncate(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_ftruncate="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_ftruncate="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_ftruncate" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate usage allowed" >&5 +$as_echo_n "checking if ftruncate usage allowed... " >&6; } + if test "x$curl_disallow_ftruncate" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_ftruncate="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_ftruncate="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate might be used" >&5 +$as_echo_n "checking if ftruncate might be used... " >&6; } + if test "$tst_links_ftruncate" = "yes" && + test "$tst_proto_ftruncate" = "yes" && + test "$tst_compi_ftruncate" = "yes" && + test "$tst_allow_ftruncate" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_FTRUNCATE 1 +_ACEOF + + ac_cv_func_ftruncate="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_ftruncate="no" + fi + + +curl_includes_stdlib="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h stdlib.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_stdlib +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_getaddrinfo="unknown" + tst_proto_getaddrinfo="unknown" + tst_compi_getaddrinfo="unknown" + tst_works_getaddrinfo="unknown" + tst_allow_getaddrinfo="unknown" + tst_tsafe_getaddrinfo="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo can be linked" >&5 +$as_echo_n "checking if getaddrinfo can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_includes_netdb + +int main (void) +{ + + if(0 != getaddrinfo(0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_getaddrinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_getaddrinfo="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_getaddrinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is prototyped" >&5 +$as_echo_n "checking if getaddrinfo is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_includes_netdb + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getaddrinfo" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_getaddrinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_getaddrinfo="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_getaddrinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is compilable" >&5 +$as_echo_n "checking if getaddrinfo is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_includes_netdb + +int main (void) +{ + + if(0 != getaddrinfo(0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_getaddrinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_getaddrinfo="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_compi_getaddrinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5 +$as_echo_n "checking if getaddrinfo seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ws2tcpip + $curl_includes_stdlib + $curl_includes_string + $curl_includes_sys_socket + $curl_includes_netdb + +int main (void) +{ + + struct addrinfo hints; + struct addrinfo *ai = 0; + int error; + + memset(&hints, 0, sizeof(hints)); + hints.ai_flags = AI_NUMERICHOST; + hints.ai_family = AF_UNSPEC; + hints.ai_socktype = SOCK_STREAM; + error = getaddrinfo("127.0.0.1", 0, &hints, &ai); + if(error || !ai) + exit(1); /* fail */ + else + exit(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_getaddrinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_getaddrinfo="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_compi_getaddrinfo" = "yes" && + test "$tst_works_getaddrinfo" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo usage allowed" >&5 +$as_echo_n "checking if getaddrinfo usage allowed... " >&6; } + if test "x$curl_disallow_getaddrinfo" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_getaddrinfo="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_getaddrinfo="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo might be used" >&5 +$as_echo_n "checking if getaddrinfo might be used... " >&6; } + if test "$tst_links_getaddrinfo" = "yes" && + test "$tst_proto_getaddrinfo" = "yes" && + test "$tst_compi_getaddrinfo" = "yes" && + test "$tst_allow_getaddrinfo" = "yes" && + test "$tst_works_getaddrinfo" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETADDRINFO 1 +_ACEOF + + ac_cv_func_getaddrinfo="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_getaddrinfo="no" + ac_cv_func_getaddrinfo_threadsafe="no" + fi + # + if test "$ac_cv_func_getaddrinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is threadsafe" >&5 +$as_echo_n "checking if getaddrinfo is threadsafe... " >&6; } + case $host_os in + aix[1234].* | aix5.[01].*) + tst_tsafe_getaddrinfo="no" + ;; + aix*) + tst_tsafe_getaddrinfo="yes" + ;; + darwin[12345].*) + tst_tsafe_getaddrinfo="no" + ;; + darwin*) + tst_tsafe_getaddrinfo="yes" + ;; + freebsd[1234].* | freebsd5.[1234]*) + tst_tsafe_getaddrinfo="no" + ;; + freebsd*) + tst_tsafe_getaddrinfo="yes" + ;; + hpux[123456789].* | hpux10.* | hpux11.0* | hpux11.10*) + tst_tsafe_getaddrinfo="no" + ;; + hpux*) + tst_tsafe_getaddrinfo="yes" + ;; + netbsd[123].*) + tst_tsafe_getaddrinfo="no" + ;; + netbsd*) + tst_tsafe_getaddrinfo="yes" + ;; + *bsd*) + tst_tsafe_getaddrinfo="no" + ;; + solaris2*) + tst_tsafe_getaddrinfo="yes" + ;; + esac + if test "$tst_tsafe_getaddrinfo" = "unknown"; then + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ws2tcpip + $curl_includes_sys_socket + $curl_includes_netdb + +int main (void) +{ +#ifdef h_errno + return 0; +#else + force compilation error +#endif +} + + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tst_symbol_defined="yes" + +else + + tst_symbol_defined="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$tst_symbol_defined" = "yes"; then + curl_cv_have_def_h_errno=yes + + else + curl_cv_have_def_h_errno=no + + fi + + if test "$curl_cv_have_def_h_errno" = "no"; then + tst_tsafe_getaddrinfo="no" + fi + fi + if test "$tst_tsafe_getaddrinfo" = "unknown"; then + tst_tsafe_getaddrinfo="yes" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_tsafe_getaddrinfo" >&5 +$as_echo "$tst_tsafe_getaddrinfo" >&6; } + if test "$tst_tsafe_getaddrinfo" = "yes"; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETADDRINFO_THREADSAFE 1 +_ACEOF + + ac_cv_func_getaddrinfo_threadsafe="yes" + else + ac_cv_func_getaddrinfo_threadsafe="no" + fi + fi + + + # + tst_links_gethostbyaddr="unknown" + tst_proto_gethostbyaddr="unknown" + tst_compi_gethostbyaddr="unknown" + tst_allow_gethostbyaddr="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr can be linked" >&5 +$as_echo_n "checking if gethostbyaddr can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyaddr(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_gethostbyaddr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_gethostbyaddr="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_gethostbyaddr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr is prototyped" >&5 +$as_echo_n "checking if gethostbyaddr is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_winsock2 + $curl_includes_netdb + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostbyaddr" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_gethostbyaddr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_gethostbyaddr="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_gethostbyaddr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr is compilable" >&5 +$as_echo_n "checking if gethostbyaddr is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyaddr(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostbyaddr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostbyaddr="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_gethostbyaddr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr usage allowed" >&5 +$as_echo_n "checking if gethostbyaddr usage allowed... " >&6; } + if test "x$curl_disallow_gethostbyaddr" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_gethostbyaddr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_gethostbyaddr="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr might be used" >&5 +$as_echo_n "checking if gethostbyaddr might be used... " >&6; } + if test "$tst_links_gethostbyaddr" = "yes" && + test "$tst_proto_gethostbyaddr" = "yes" && + test "$tst_compi_gethostbyaddr" = "yes" && + test "$tst_allow_gethostbyaddr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETHOSTBYADDR 1 +_ACEOF + + ac_cv_func_gethostbyaddr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_gethostbyaddr="no" + fi + + + # + tst_links_gethostbyaddr_r="unknown" + tst_proto_gethostbyaddr_r="unknown" + tst_compi_gethostbyaddr_r="unknown" + tst_allow_gethostbyaddr_r="unknown" + tst_nargs_gethostbyaddr_r="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r can be linked" >&5 +$as_echo_n "checking if gethostbyaddr_r can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define gethostbyaddr_r innocuous_gethostbyaddr_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef gethostbyaddr_r +#ifdef __cplusplus +extern "C" +#endif +char gethostbyaddr_r (); +#if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r +choke me +#endif + +int main (void) +{ +return gethostbyaddr_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_gethostbyaddr_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_gethostbyaddr_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_gethostbyaddr_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r is prototyped" >&5 +$as_echo_n "checking if gethostbyaddr_r is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_netdb + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_gethostbyaddr_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_gethostbyaddr_r="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_gethostbyaddr_r" = "yes"; then + if test "$tst_nargs_gethostbyaddr_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 5 args." >&5 +$as_echo_n "checking if gethostbyaddr_r takes 5 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostbyaddr_r="yes" + tst_nargs_gethostbyaddr_r="5" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostbyaddr_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test "$tst_nargs_gethostbyaddr_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 7 args." >&5 +$as_echo_n "checking if gethostbyaddr_r takes 7 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostbyaddr_r="yes" + tst_nargs_gethostbyaddr_r="7" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostbyaddr_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test "$tst_nargs_gethostbyaddr_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 8 args." >&5 +$as_echo_n "checking if gethostbyaddr_r takes 8 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostbyaddr_r="yes" + tst_nargs_gethostbyaddr_r="8" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostbyaddr_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r is compilable" >&5 +$as_echo_n "checking if gethostbyaddr_r is compilable... " >&6; } + if test "$tst_compi_gethostbyaddr_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + fi + # + if test "$tst_compi_gethostbyaddr_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r usage allowed" >&5 +$as_echo_n "checking if gethostbyaddr_r usage allowed... " >&6; } + if test "x$curl_disallow_gethostbyaddr_r" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_gethostbyaddr_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_gethostbyaddr_r="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r might be used" >&5 +$as_echo_n "checking if gethostbyaddr_r might be used... " >&6; } + if test "$tst_links_gethostbyaddr_r" = "yes" && + test "$tst_proto_gethostbyaddr_r" = "yes" && + test "$tst_compi_gethostbyaddr_r" = "yes" && + test "$tst_allow_gethostbyaddr_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETHOSTBYADDR_R 1 +_ACEOF + + # + if test "$tst_nargs_gethostbyaddr_r" -eq "5"; then + +$as_echo "#define HAVE_GETHOSTBYADDR_R_5 1" >>confdefs.h + + elif test "$tst_nargs_gethostbyaddr_r" -eq "7"; then + +$as_echo "#define HAVE_GETHOSTBYADDR_R_7 1" >>confdefs.h + + elif test "$tst_nargs_gethostbyaddr_r" -eq "8"; then + +$as_echo "#define HAVE_GETHOSTBYADDR_R_8 1" >>confdefs.h + + fi + # + ac_cv_func_gethostbyaddr_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_gethostbyaddr_r="no" + fi + + + # + tst_links_gethostbyname="unknown" + tst_proto_gethostbyname="unknown" + tst_compi_gethostbyname="unknown" + tst_allow_gethostbyname="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname can be linked" >&5 +$as_echo_n "checking if gethostbyname can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyname(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_gethostbyname="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_gethostbyname="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_gethostbyname" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is prototyped" >&5 +$as_echo_n "checking if gethostbyname is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_winsock2 + $curl_includes_netdb + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostbyname" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_gethostbyname="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_gethostbyname="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_gethostbyname" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is compilable" >&5 +$as_echo_n "checking if gethostbyname is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyname(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostbyname="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostbyname="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_gethostbyname" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname usage allowed" >&5 +$as_echo_n "checking if gethostbyname usage allowed... " >&6; } + if test "x$curl_disallow_gethostbyname" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_gethostbyname="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_gethostbyname="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname might be used" >&5 +$as_echo_n "checking if gethostbyname might be used... " >&6; } + if test "$tst_links_gethostbyname" = "yes" && + test "$tst_proto_gethostbyname" = "yes" && + test "$tst_compi_gethostbyname" = "yes" && + test "$tst_allow_gethostbyname" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETHOSTBYNAME 1 +_ACEOF + + ac_cv_func_gethostbyname="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_gethostbyname="no" + fi + + + # + tst_links_gethostbyname_r="unknown" + tst_proto_gethostbyname_r="unknown" + tst_compi_gethostbyname_r="unknown" + tst_allow_gethostbyname_r="unknown" + tst_nargs_gethostbyname_r="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r can be linked" >&5 +$as_echo_n "checking if gethostbyname_r can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define gethostbyname_r innocuous_gethostbyname_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef gethostbyname_r +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname_r (); +#if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r +choke me +#endif + +int main (void) +{ +return gethostbyname_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_gethostbyname_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_gethostbyname_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_gethostbyname_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is prototyped" >&5 +$as_echo_n "checking if gethostbyname_r is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_netdb + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostbyname_r" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_gethostbyname_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_gethostbyname_r="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_gethostbyname_r" = "yes"; then + if test "$tst_nargs_gethostbyname_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 3 args." >&5 +$as_echo_n "checking if gethostbyname_r takes 3 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyname_r(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostbyname_r="yes" + tst_nargs_gethostbyname_r="3" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostbyname_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test "$tst_nargs_gethostbyname_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 5 args." >&5 +$as_echo_n "checking if gethostbyname_r takes 5 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyname_r(0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostbyname_r="yes" + tst_nargs_gethostbyname_r="5" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostbyname_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test "$tst_nargs_gethostbyname_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 6 args." >&5 +$as_echo_n "checking if gethostbyname_r takes 6 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != gethostbyname_r(0, 0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostbyname_r="yes" + tst_nargs_gethostbyname_r="6" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostbyname_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is compilable" >&5 +$as_echo_n "checking if gethostbyname_r is compilable... " >&6; } + if test "$tst_compi_gethostbyname_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + fi + # + if test "$tst_compi_gethostbyname_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r usage allowed" >&5 +$as_echo_n "checking if gethostbyname_r usage allowed... " >&6; } + if test "x$curl_disallow_gethostbyname_r" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_gethostbyname_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_gethostbyname_r="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r might be used" >&5 +$as_echo_n "checking if gethostbyname_r might be used... " >&6; } + if test "$tst_links_gethostbyname_r" = "yes" && + test "$tst_proto_gethostbyname_r" = "yes" && + test "$tst_compi_gethostbyname_r" = "yes" && + test "$tst_allow_gethostbyname_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETHOSTBYNAME_R 1 +_ACEOF + + # + if test "$tst_nargs_gethostbyname_r" -eq "3"; then + +$as_echo "#define HAVE_GETHOSTBYNAME_R_3 1" >>confdefs.h + + elif test "$tst_nargs_gethostbyname_r" -eq "5"; then + +$as_echo "#define HAVE_GETHOSTBYNAME_R_5 1" >>confdefs.h + + elif test "$tst_nargs_gethostbyname_r" -eq "6"; then + +$as_echo "#define HAVE_GETHOSTBYNAME_R_6 1" >>confdefs.h + + fi + # + ac_cv_func_gethostbyname_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_gethostbyname_r="no" + fi + + + # + tst_links_gethostname="unknown" + tst_proto_gethostname="unknown" + tst_compi_gethostname="unknown" + tst_allow_gethostname="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname can be linked" >&5 +$as_echo_n "checking if gethostname can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_unistd + +int main (void) +{ + + if(0 != gethostname(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_gethostname="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_gethostname="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_gethostname" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname is prototyped" >&5 +$as_echo_n "checking if gethostname is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_winsock2 + $curl_includes_unistd + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gethostname" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_gethostname="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_gethostname="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_gethostname" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname is compilable" >&5 +$as_echo_n "checking if gethostname is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_unistd + +int main (void) +{ + + if(0 != gethostname(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gethostname="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gethostname="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_gethostname" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname usage allowed" >&5 +$as_echo_n "checking if gethostname usage allowed... " >&6; } + if test "x$curl_disallow_gethostname" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_gethostname="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_gethostname="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname might be used" >&5 +$as_echo_n "checking if gethostname might be used... " >&6; } + if test "$tst_links_gethostname" = "yes" && + test "$tst_proto_gethostname" = "yes" && + test "$tst_compi_gethostname" = "yes" && + test "$tst_allow_gethostname" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETHOSTNAME 1 +_ACEOF + + ac_cv_func_gethostname="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_gethostname="no" + fi + + + # + tst_links_getifaddrs="unknown" + tst_proto_getifaddrs="unknown" + tst_compi_getifaddrs="unknown" + tst_works_getifaddrs="unknown" + tst_allow_getifaddrs="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs can be linked" >&5 +$as_echo_n "checking if getifaddrs can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define getifaddrs innocuous_getifaddrs +#ifdef __STDC__ +# include +#else +# include +#endif +#undef getifaddrs +#ifdef __cplusplus +extern "C" +#endif +char getifaddrs (); +#if defined __stub_getifaddrs || defined __stub___getifaddrs +choke me +#endif + +int main (void) +{ +return getifaddrs (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_getifaddrs="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_getifaddrs="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_getifaddrs" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is prototyped" >&5 +$as_echo_n "checking if getifaddrs is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_ifaddrs + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getifaddrs" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_getifaddrs="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_getifaddrs="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_getifaddrs" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is compilable" >&5 +$as_echo_n "checking if getifaddrs is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_ifaddrs + +int main (void) +{ + + if(0 != getifaddrs(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_getifaddrs="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_getifaddrs="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_compi_getifaddrs" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs seems to work" >&5 +$as_echo_n "checking if getifaddrs seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + $curl_includes_ifaddrs + +int main (void) +{ + + struct ifaddrs *ifa = 0; + int error; + + error = getifaddrs(&ifa); + if(error || !ifa) + exit(1); /* fail */ + else + exit(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_getifaddrs="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_getifaddrs="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_compi_getifaddrs" = "yes" && + test "$tst_works_getifaddrs" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs usage allowed" >&5 +$as_echo_n "checking if getifaddrs usage allowed... " >&6; } + if test "x$curl_disallow_getifaddrs" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_getifaddrs="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_getifaddrs="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs might be used" >&5 +$as_echo_n "checking if getifaddrs might be used... " >&6; } + if test "$tst_links_getifaddrs" = "yes" && + test "$tst_proto_getifaddrs" = "yes" && + test "$tst_compi_getifaddrs" = "yes" && + test "$tst_allow_getifaddrs" = "yes" && + test "$tst_works_getifaddrs" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETIFADDRS 1 +_ACEOF + + ac_cv_func_getifaddrs="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_getifaddrs="no" + fi + + + # + tst_links_getservbyport_r="unknown" + tst_proto_getservbyport_r="unknown" + tst_compi_getservbyport_r="unknown" + tst_allow_getservbyport_r="unknown" + tst_nargs_getservbyport_r="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r can be linked" >&5 +$as_echo_n "checking if getservbyport_r can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define getservbyport_r innocuous_getservbyport_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef getservbyport_r +#ifdef __cplusplus +extern "C" +#endif +char getservbyport_r (); +#if defined __stub_getservbyport_r || defined __stub___getservbyport_r +choke me +#endif + +int main (void) +{ +return getservbyport_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_getservbyport_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_getservbyport_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_getservbyport_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r is prototyped" >&5 +$as_echo_n "checking if getservbyport_r is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_netdb + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getservbyport_r" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_getservbyport_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_getservbyport_r="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_getservbyport_r" = "yes"; then + if test "$tst_nargs_getservbyport_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 4 args." >&5 +$as_echo_n "checking if getservbyport_r takes 4 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != getservbyport_r(0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_getservbyport_r="yes" + tst_nargs_getservbyport_r="4" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_getservbyport_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test "$tst_nargs_getservbyport_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 5 args." >&5 +$as_echo_n "checking if getservbyport_r takes 5 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != getservbyport_r(0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_getservbyport_r="yes" + tst_nargs_getservbyport_r="5" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_getservbyport_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test "$tst_nargs_getservbyport_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 6 args." >&5 +$as_echo_n "checking if getservbyport_r takes 6 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_netdb + +int main (void) +{ + + if(0 != getservbyport_r(0, 0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_getservbyport_r="yes" + tst_nargs_getservbyport_r="6" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_getservbyport_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r is compilable" >&5 +$as_echo_n "checking if getservbyport_r is compilable... " >&6; } + if test "$tst_compi_getservbyport_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + fi + # + if test "$tst_compi_getservbyport_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r usage allowed" >&5 +$as_echo_n "checking if getservbyport_r usage allowed... " >&6; } + if test "x$curl_disallow_getservbyport_r" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_getservbyport_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_getservbyport_r="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r might be used" >&5 +$as_echo_n "checking if getservbyport_r might be used... " >&6; } + if test "$tst_links_getservbyport_r" = "yes" && + test "$tst_proto_getservbyport_r" = "yes" && + test "$tst_compi_getservbyport_r" = "yes" && + test "$tst_allow_getservbyport_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETSERVBYPORT_R 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define GETSERVBYPORT_R_ARGS $tst_nargs_getservbyport_r +_ACEOF + + if test "$tst_nargs_getservbyport_r" -eq "4"; then + +$as_echo "#define GETSERVBYPORT_R_BUFSIZE sizeof(struct servent_data)" >>confdefs.h + + else + +$as_echo "#define GETSERVBYPORT_R_BUFSIZE 4096" >>confdefs.h + + fi + ac_cv_func_getservbyport_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_getservbyport_r="no" + fi + + +curl_includes_time="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_TIME_H +# include +# ifdef TIME_WITH_SYS_TIME +# include +# endif +#else +# ifdef HAVE_TIME_H +# include +# endif +#endif +/* includes end */" + for ac_header in sys/types.h sys/time.h time.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_time +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_gmtime_r="unknown" + tst_proto_gmtime_r="unknown" + tst_compi_gmtime_r="unknown" + tst_works_gmtime_r="unknown" + tst_allow_gmtime_r="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r can be linked" >&5 +$as_echo_n "checking if gmtime_r can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define gmtime_r innocuous_gmtime_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef gmtime_r +#ifdef __cplusplus +extern "C" +#endif +char gmtime_r (); +#if defined __stub_gmtime_r || defined __stub___gmtime_r +choke me +#endif + +int main (void) +{ +return gmtime_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_gmtime_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_gmtime_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_gmtime_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is prototyped" >&5 +$as_echo_n "checking if gmtime_r is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_time + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "gmtime_r" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_gmtime_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_gmtime_r="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_gmtime_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is compilable" >&5 +$as_echo_n "checking if gmtime_r is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_time + +int main (void) +{ + + if(0 != gmtime_r(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_gmtime_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_gmtime_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_compi_gmtime_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r seems to work" >&5 +$as_echo_n "checking if gmtime_r seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + $curl_includes_time + +int main (void) +{ + + time_t local = 1170352587; + struct tm *gmt = 0; + struct tm result; + gmt = gmtime_r(&local, &result); + if(gmt) + exit(0); + else + exit(1); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_gmtime_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_gmtime_r="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_compi_gmtime_r" = "yes" && + test "$tst_works_gmtime_r" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r usage allowed" >&5 +$as_echo_n "checking if gmtime_r usage allowed... " >&6; } + if test "x$curl_disallow_gmtime_r" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_gmtime_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_gmtime_r="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r might be used" >&5 +$as_echo_n "checking if gmtime_r might be used... " >&6; } + if test "$tst_links_gmtime_r" = "yes" && + test "$tst_proto_gmtime_r" = "yes" && + test "$tst_compi_gmtime_r" = "yes" && + test "$tst_allow_gmtime_r" = "yes" && + test "$tst_works_gmtime_r" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_GMTIME_R 1 +_ACEOF + + ac_cv_func_gmtime_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_gmtime_r="no" + fi + + +curl_includes_arpa_inet="\ +/* includes start */ +#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 +/* includes end */" + for ac_header in sys/types.h sys/socket.h netinet/in.h arpa/inet.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_arpa_inet +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_inet_ntoa_r="unknown" + tst_proto_inet_ntoa_r="unknown" + tst_compi_inet_ntoa_r="unknown" + tst_allow_inet_ntoa_r="unknown" + tst_nargs_inet_ntoa_r="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r can be linked" >&5 +$as_echo_n "checking if inet_ntoa_r can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_inet_ntoa_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_inet_ntoa_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_inet_ntoa_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r is prototyped" >&5 +$as_echo_n "checking if inet_ntoa_r is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_arpa_inet + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "inet_ntoa_r" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_inet_ntoa_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_inet_ntoa_r="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_inet_ntoa_r" = "yes"; then + if test "$tst_nargs_inet_ntoa_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r takes 2 args." >&5 +$as_echo_n "checking if inet_ntoa_r takes 2 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_arpa_inet + +int main (void) +{ + + struct in_addr addr; + if(0 != inet_ntoa_r(addr, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_inet_ntoa_r="yes" + tst_nargs_inet_ntoa_r="2" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_inet_ntoa_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test "$tst_nargs_inet_ntoa_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r takes 3 args." >&5 +$as_echo_n "checking if inet_ntoa_r takes 3 args.... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_arpa_inet + +int main (void) +{ + + struct in_addr addr; + if(0 != inet_ntoa_r(addr, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_inet_ntoa_r="yes" + tst_nargs_inet_ntoa_r="3" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_inet_ntoa_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r is compilable" >&5 +$as_echo_n "checking if inet_ntoa_r is compilable... " >&6; } + if test "$tst_compi_inet_ntoa_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + fi + # + if test "$tst_compi_inet_ntoa_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r usage allowed" >&5 +$as_echo_n "checking if inet_ntoa_r usage allowed... " >&6; } + if test "x$curl_disallow_inet_ntoa_r" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_inet_ntoa_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_inet_ntoa_r="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r might be used" >&5 +$as_echo_n "checking if inet_ntoa_r might be used... " >&6; } + if test "$tst_links_inet_ntoa_r" = "yes" && + test "$tst_proto_inet_ntoa_r" = "yes" && + test "$tst_compi_inet_ntoa_r" = "yes" && + test "$tst_allow_inet_ntoa_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_INET_NTOA_R 1 +_ACEOF + + # + if test "$tst_nargs_inet_ntoa_r" -eq "2"; then + +$as_echo "#define HAVE_INET_NTOA_R_2 1" >>confdefs.h + + elif test "$tst_nargs_inet_ntoa_r" -eq "3"; then + +$as_echo "#define HAVE_INET_NTOA_R_3 1" >>confdefs.h + + fi + # + ac_cv_func_inet_ntoa_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_inet_ntoa_r="no" + fi + + + # + tst_links_inet_ntop="unknown" + tst_proto_inet_ntop="unknown" + tst_compi_inet_ntop="unknown" + tst_works_inet_ntop="unknown" + tst_allow_inet_ntop="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop can be linked" >&5 +$as_echo_n "checking if inet_ntop can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define inet_ntop innocuous_inet_ntop +#ifdef __STDC__ +# include +#else +# include +#endif +#undef inet_ntop +#ifdef __cplusplus +extern "C" +#endif +char inet_ntop (); +#if defined __stub_inet_ntop || defined __stub___inet_ntop +choke me +#endif + +int main (void) +{ +return inet_ntop (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_inet_ntop="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_inet_ntop="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_inet_ntop" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is prototyped" >&5 +$as_echo_n "checking if inet_ntop is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_arpa_inet + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "inet_ntop" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_inet_ntop="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_inet_ntop="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_inet_ntop" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is compilable" >&5 +$as_echo_n "checking if inet_ntop is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_arpa_inet + +int main (void) +{ + + if(0 != inet_ntop(0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_inet_ntop="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_inet_ntop="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_compi_inet_ntop" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop seems to work" >&5 +$as_echo_n "checking if inet_ntop seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + $curl_includes_arpa_inet + $curl_includes_string + +int main (void) +{ + + char ipv6res[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")]; + char ipv4res[sizeof "255.255.255.255"]; + unsigned char ipv6a[26]; + unsigned char ipv4a[5]; + char *ipv6ptr = 0; + char *ipv4ptr = 0; + /* - */ + ipv4res[0] = '\0'; + ipv4a[0] = 0xc0; + ipv4a[1] = 0xa8; + ipv4a[2] = 0x64; + ipv4a[3] = 0x01; + ipv4a[4] = 0x01; + /* - */ + ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res)); + if(!ipv4ptr) + exit(1); /* fail */ + if(ipv4ptr != ipv4res) + exit(1); /* fail */ + if(!ipv4ptr[0]) + exit(1); /* fail */ + if(memcmp(ipv4res, "192.168.100.1", 13) != 0) + exit(1); /* fail */ + /* - */ + ipv6res[0] = '\0'; + memset(ipv6a, 0, sizeof(ipv6a)); + ipv6a[0] = 0xfe; + ipv6a[1] = 0x80; + ipv6a[8] = 0x02; + ipv6a[9] = 0x14; + ipv6a[10] = 0x4f; + ipv6a[11] = 0xff; + ipv6a[12] = 0xfe; + ipv6a[13] = 0x0b; + ipv6a[14] = 0x76; + ipv6a[15] = 0xc8; + ipv6a[25] = 0x01; + /* - */ + ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res)); + if(!ipv6ptr) + exit(1); /* fail */ + if(ipv6ptr != ipv6res) + exit(1); /* fail */ + if(!ipv6ptr[0]) + exit(1); /* fail */ + if(memcmp(ipv6res, "fe80::214:4fff:fe0b:76c8", 24) != 0) + exit(1); /* fail */ + /* - */ + exit(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_inet_ntop="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_inet_ntop="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_compi_inet_ntop" = "yes" && + test "$tst_works_inet_ntop" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop usage allowed" >&5 +$as_echo_n "checking if inet_ntop usage allowed... " >&6; } + if test "x$curl_disallow_inet_ntop" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_inet_ntop="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_inet_ntop="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop might be used" >&5 +$as_echo_n "checking if inet_ntop might be used... " >&6; } + if test "$tst_links_inet_ntop" = "yes" && + test "$tst_proto_inet_ntop" = "yes" && + test "$tst_compi_inet_ntop" = "yes" && + test "$tst_allow_inet_ntop" = "yes" && + test "$tst_works_inet_ntop" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_INET_NTOP 1 +_ACEOF + + ac_cv_func_inet_ntop="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_inet_ntop="no" + fi + + + # + tst_links_inet_pton="unknown" + tst_proto_inet_pton="unknown" + tst_compi_inet_pton="unknown" + tst_works_inet_pton="unknown" + tst_allow_inet_pton="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton can be linked" >&5 +$as_echo_n "checking if inet_pton can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define inet_pton innocuous_inet_pton +#ifdef __STDC__ +# include +#else +# include +#endif +#undef inet_pton +#ifdef __cplusplus +extern "C" +#endif +char inet_pton (); +#if defined __stub_inet_pton || defined __stub___inet_pton +choke me +#endif + +int main (void) +{ +return inet_pton (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_inet_pton="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_inet_pton="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_inet_pton" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton is prototyped" >&5 +$as_echo_n "checking if inet_pton is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_arpa_inet + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "inet_pton" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_inet_pton="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_inet_pton="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_inet_pton" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton is compilable" >&5 +$as_echo_n "checking if inet_pton is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_arpa_inet + +int main (void) +{ + + if(0 != inet_pton(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_inet_pton="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_inet_pton="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_compi_inet_pton" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton seems to work" >&5 +$as_echo_n "checking if inet_pton seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + $curl_includes_arpa_inet + $curl_includes_string + +int main (void) +{ + + unsigned char ipv6a[16+1]; + unsigned char ipv4a[4+1]; + const char *ipv6src = "fe80::214:4fff:fe0b:76c8"; + const char *ipv4src = "192.168.100.1"; + /* - */ + memset(ipv4a, 1, sizeof(ipv4a)); + if(1 != inet_pton(AF_INET, ipv4src, ipv4a)) + exit(1); /* fail */ + /* - */ + if( (ipv4a[0] != 0xc0) || + (ipv4a[1] != 0xa8) || + (ipv4a[2] != 0x64) || + (ipv4a[3] != 0x01) || + (ipv4a[4] != 0x01) ) + exit(1); /* fail */ + /* - */ + memset(ipv6a, 1, sizeof(ipv6a)); + if(1 != inet_pton(AF_INET6, ipv6src, ipv6a)) + exit(1); /* fail */ + /* - */ + if( (ipv6a[0] != 0xfe) || + (ipv6a[1] != 0x80) || + (ipv6a[8] != 0x02) || + (ipv6a[9] != 0x14) || + (ipv6a[10] != 0x4f) || + (ipv6a[11] != 0xff) || + (ipv6a[12] != 0xfe) || + (ipv6a[13] != 0x0b) || + (ipv6a[14] != 0x76) || + (ipv6a[15] != 0xc8) || + (ipv6a[16] != 0x01) ) + exit(1); /* fail */ + /* - */ + if( (ipv6a[2] != 0x0) || + (ipv6a[3] != 0x0) || + (ipv6a[4] != 0x0) || + (ipv6a[5] != 0x0) || + (ipv6a[6] != 0x0) || + (ipv6a[7] != 0x0) ) + exit(1); /* fail */ + /* - */ + exit(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_inet_pton="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_inet_pton="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_compi_inet_pton" = "yes" && + test "$tst_works_inet_pton" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton usage allowed" >&5 +$as_echo_n "checking if inet_pton usage allowed... " >&6; } + if test "x$curl_disallow_inet_pton" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_inet_pton="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_inet_pton="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton might be used" >&5 +$as_echo_n "checking if inet_pton might be used... " >&6; } + if test "$tst_links_inet_pton" = "yes" && + test "$tst_proto_inet_pton" = "yes" && + test "$tst_compi_inet_pton" = "yes" && + test "$tst_allow_inet_pton" = "yes" && + test "$tst_works_inet_pton" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_INET_PTON 1 +_ACEOF + + ac_cv_func_inet_pton="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_inet_pton="no" + fi + + +curl_includes_stropts="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +#ifdef HAVE_SYS_IOCTL_H +# include +#endif +#ifdef HAVE_STROPTS_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h unistd.h sys/socket.h sys/ioctl.h stropts.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_stropts +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_ioctl="unknown" + tst_proto_ioctl="unknown" + tst_compi_ioctl="unknown" + tst_allow_ioctl="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl can be linked" >&5 +$as_echo_n "checking if ioctl can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define ioctl innocuous_ioctl +#ifdef __STDC__ +# include +#else +# include +#endif +#undef ioctl +#ifdef __cplusplus +extern "C" +#endif +char ioctl (); +#if defined __stub_ioctl || defined __stub___ioctl +choke me +#endif + +int main (void) +{ +return ioctl (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_ioctl="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_ioctl="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_ioctl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl is prototyped" >&5 +$as_echo_n "checking if ioctl is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_stropts + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "ioctl" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_ioctl="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_ioctl="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_ioctl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl is compilable" >&5 +$as_echo_n "checking if ioctl is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stropts + +int main (void) +{ + + if(0 != ioctl(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_ioctl="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_ioctl="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_ioctl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl usage allowed" >&5 +$as_echo_n "checking if ioctl usage allowed... " >&6; } + if test "x$curl_disallow_ioctl" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_ioctl="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_ioctl="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl might be used" >&5 +$as_echo_n "checking if ioctl might be used... " >&6; } + if test "$tst_links_ioctl" = "yes" && + test "$tst_proto_ioctl" = "yes" && + test "$tst_compi_ioctl" = "yes" && + test "$tst_allow_ioctl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_IOCTL 1 +_ACEOF + + ac_cv_func_ioctl="yes" + + # + tst_compi_ioctl_fionbio="unknown" + tst_allow_ioctl_fionbio="unknown" + # + if test "$ac_cv_func_ioctl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO is compilable" >&5 +$as_echo_n "checking if ioctl FIONBIO is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stropts + +int main (void) +{ + + int flags = 0; + if(0 != ioctl(0, FIONBIO, &flags)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_ioctl_fionbio="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_ioctl_fionbio="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_ioctl_fionbio" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO usage allowed" >&5 +$as_echo_n "checking if ioctl FIONBIO usage allowed... " >&6; } + if test "x$curl_disallow_ioctl_fionbio" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_ioctl_fionbio="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_ioctl_fionbio="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO might be used" >&5 +$as_echo_n "checking if ioctl FIONBIO might be used... " >&6; } + if test "$tst_compi_ioctl_fionbio" = "yes" && + test "$tst_allow_ioctl_fionbio" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_IOCTL_FIONBIO 1 +_ACEOF + + ac_cv_func_ioctl_fionbio="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_ioctl_fionbio="no" + fi + + + # + tst_compi_ioctl_siocgifaddr="unknown" + tst_allow_ioctl_siocgifaddr="unknown" + # + if test "$ac_cv_func_ioctl" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR is compilable" >&5 +$as_echo_n "checking if ioctl SIOCGIFADDR is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stropts + #include + +int main (void) +{ + + struct ifreq ifr; + if(0 != ioctl(0, SIOCGIFADDR, &ifr)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_ioctl_siocgifaddr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_ioctl_siocgifaddr="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_ioctl_siocgifaddr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR usage allowed" >&5 +$as_echo_n "checking if ioctl SIOCGIFADDR usage allowed... " >&6; } + if test "x$curl_disallow_ioctl_siocgifaddr" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_ioctl_siocgifaddr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_ioctl_siocgifaddr="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR might be used" >&5 +$as_echo_n "checking if ioctl SIOCGIFADDR might be used... " >&6; } + if test "$tst_compi_ioctl_siocgifaddr" = "yes" && + test "$tst_allow_ioctl_siocgifaddr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_IOCTL_SIOCGIFADDR 1 +_ACEOF + + ac_cv_func_ioctl_siocgifaddr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_ioctl_siocgifaddr="no" + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_ioctl="no" + fi + + + # + tst_links_ioctlsocket="unknown" + tst_proto_ioctlsocket="unknown" + tst_compi_ioctlsocket="unknown" + tst_allow_ioctlsocket="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket can be linked" >&5 +$as_echo_n "checking if ioctlsocket can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + +int main (void) +{ + + if(0 != ioctlsocket(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_ioctlsocket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_ioctlsocket="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_ioctlsocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is prototyped" >&5 +$as_echo_n "checking if ioctlsocket is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_winsock2 + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "ioctlsocket" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_ioctlsocket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_ioctlsocket="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_ioctlsocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is compilable" >&5 +$as_echo_n "checking if ioctlsocket is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + +int main (void) +{ + + if(0 != ioctlsocket(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_ioctlsocket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_ioctlsocket="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_ioctlsocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket usage allowed" >&5 +$as_echo_n "checking if ioctlsocket usage allowed... " >&6; } + if test "x$curl_disallow_ioctlsocket" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_ioctlsocket="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_ioctlsocket="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket might be used" >&5 +$as_echo_n "checking if ioctlsocket might be used... " >&6; } + if test "$tst_links_ioctlsocket" = "yes" && + test "$tst_proto_ioctlsocket" = "yes" && + test "$tst_compi_ioctlsocket" = "yes" && + test "$tst_allow_ioctlsocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_IOCTLSOCKET 1 +_ACEOF + + ac_cv_func_ioctlsocket="yes" + + # + tst_compi_ioctlsocket_fionbio="unknown" + tst_allow_ioctlsocket_fionbio="unknown" + # + if test "$ac_cv_func_ioctlsocket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO is compilable" >&5 +$as_echo_n "checking if ioctlsocket FIONBIO is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + +int main (void) +{ + + int flags = 0; + if(0 != ioctlsocket(0, FIONBIO, &flags)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_ioctlsocket_fionbio="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_ioctlsocket_fionbio="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_ioctlsocket_fionbio" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO usage allowed" >&5 +$as_echo_n "checking if ioctlsocket FIONBIO usage allowed... " >&6; } + if test "x$curl_disallow_ioctlsocket_fionbio" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_ioctlsocket_fionbio="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_ioctlsocket_fionbio="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO might be used" >&5 +$as_echo_n "checking if ioctlsocket FIONBIO might be used... " >&6; } + if test "$tst_compi_ioctlsocket_fionbio" = "yes" && + test "$tst_allow_ioctlsocket_fionbio" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_IOCTLSOCKET_FIONBIO 1 +_ACEOF + + ac_cv_func_ioctlsocket_fionbio="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_ioctlsocket_fionbio="no" + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_ioctlsocket="no" + fi + + + # + tst_links_ioctlsocket_camel="unknown" + tst_proto_ioctlsocket_camel="unknown" + tst_compi_ioctlsocket_camel="unknown" + tst_allow_ioctlsocket_camel="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket can be linked" >&5 +$as_echo_n "checking if IoctlSocket can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_ioctlsocket_camel="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_ioctlsocket_camel="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_ioctlsocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is prototyped" >&5 +$as_echo_n "checking if IoctlSocket is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_stropts + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "IoctlSocket" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_ioctlsocket_camel="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_ioctlsocket_camel="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_ioctlsocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is compilable" >&5 +$as_echo_n "checking if IoctlSocket is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stropts + +int main (void) +{ + + if(0 != IoctlSocket(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_ioctlsocket_camel="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_ioctlsocket_camel="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_ioctlsocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket usage allowed" >&5 +$as_echo_n "checking if IoctlSocket usage allowed... " >&6; } + if test "x$curl_disallow_ioctlsocket_camel" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_ioctlsocket_camel="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_ioctlsocket_camel="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket might be used" >&5 +$as_echo_n "checking if IoctlSocket might be used... " >&6; } + if test "$tst_links_ioctlsocket_camel" = "yes" && + test "$tst_proto_ioctlsocket_camel" = "yes" && + test "$tst_compi_ioctlsocket_camel" = "yes" && + test "$tst_allow_ioctlsocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_IOCTLSOCKET_CAMEL 1 +_ACEOF + + ac_cv_func_ioctlsocket_camel="yes" + + # + tst_compi_ioctlsocket_camel_fionbio="unknown" + tst_allow_ioctlsocket_camel_fionbio="unknown" + # + if test "$ac_cv_func_ioctlsocket_camel" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO is compilable" >&5 +$as_echo_n "checking if IoctlSocket FIONBIO is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stropts + +int main (void) +{ + + long flags = 0; + if(0 != ioctlsocket(0, FIONBIO, &flags)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_ioctlsocket_camel_fionbio="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_ioctlsocket_camel_fionbio="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO usage allowed" >&5 +$as_echo_n "checking if IoctlSocket FIONBIO usage allowed... " >&6; } + if test "x$curl_disallow_ioctlsocket_camel_fionbio" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_ioctlsocket_camel_fionbio="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_ioctlsocket_camel_fionbio="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO might be used" >&5 +$as_echo_n "checking if IoctlSocket FIONBIO might be used... " >&6; } + if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes" && + test "$tst_allow_ioctlsocket_camel_fionbio" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1 +_ACEOF + + ac_cv_func_ioctlsocket_camel_fionbio="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_ioctlsocket_camel_fionbio="no" + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_ioctlsocket_camel="no" + fi + + + # + tst_links_localtime_r="unknown" + tst_proto_localtime_r="unknown" + tst_compi_localtime_r="unknown" + tst_works_localtime_r="unknown" + tst_allow_localtime_r="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r can be linked" >&5 +$as_echo_n "checking if localtime_r can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define localtime_r innocuous_localtime_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef localtime_r +#ifdef __cplusplus +extern "C" +#endif +char localtime_r (); +#if defined __stub_localtime_r || defined __stub___localtime_r +choke me +#endif + +int main (void) +{ +return localtime_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_localtime_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_localtime_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_localtime_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r is prototyped" >&5 +$as_echo_n "checking if localtime_r is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_time + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "localtime_r" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_localtime_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_localtime_r="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_localtime_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r is compilable" >&5 +$as_echo_n "checking if localtime_r is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_time + +int main (void) +{ + + if(0 != localtime_r(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_localtime_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_localtime_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_compi_localtime_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r seems to work" >&5 +$as_echo_n "checking if localtime_r seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + $curl_includes_time + +int main (void) +{ + + time_t clock = 1170352587; + struct tm *tmp = 0; + struct tm result; + tmp = localtime_r(&clock, &result); + if(tmp) + exit(0); + else + exit(1); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_localtime_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_localtime_r="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_compi_localtime_r" = "yes" && + test "$tst_works_localtime_r" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r usage allowed" >&5 +$as_echo_n "checking if localtime_r usage allowed... " >&6; } + if test "x$curl_disallow_localtime_r" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_localtime_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_localtime_r="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r might be used" >&5 +$as_echo_n "checking if localtime_r might be used... " >&6; } + if test "$tst_links_localtime_r" = "yes" && + test "$tst_proto_localtime_r" = "yes" && + test "$tst_compi_localtime_r" = "yes" && + test "$tst_allow_localtime_r" = "yes" && + test "$tst_works_localtime_r" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_LOCALTIME_R 1 +_ACEOF + + ac_cv_func_localtime_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_localtime_r="no" + fi + + + # + tst_links_memrchr="unknown" + tst_macro_memrchr="unknown" + tst_proto_memrchr="unknown" + tst_compi_memrchr="unknown" + tst_allow_memrchr="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr can be linked" >&5 +$as_echo_n "checking if memrchr can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define memrchr innocuous_memrchr +#ifdef __STDC__ +# include +#else +# include +#endif +#undef memrchr +#ifdef __cplusplus +extern "C" +#endif +char memrchr (); +#if defined __stub_memrchr || defined __stub___memrchr +choke me +#endif + +int main (void) +{ +return memrchr (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_memrchr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_memrchr="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_memrchr" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr seems a macro" >&5 +$as_echo_n "checking if memrchr seems a macro... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != memrchr(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_macro_memrchr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_macro_memrchr="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + # + if test "$tst_links_memrchr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr is prototyped" >&5 +$as_echo_n "checking if memrchr is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memrchr" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_memrchr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_memrchr="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_memrchr" = "yes" || + test "$tst_macro_memrchr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr is compilable" >&5 +$as_echo_n "checking if memrchr is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != memrchr(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_memrchr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_memrchr="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_memrchr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr usage allowed" >&5 +$as_echo_n "checking if memrchr usage allowed... " >&6; } + if test "x$curl_disallow_memrchr" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_memrchr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_memrchr="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr might be used" >&5 +$as_echo_n "checking if memrchr might be used... " >&6; } + if (test "$tst_proto_memrchr" = "yes" || + test "$tst_macro_memrchr" = "yes") && + test "$tst_compi_memrchr" = "yes" && + test "$tst_allow_memrchr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_MEMRCHR 1 +_ACEOF + + ac_cv_func_memrchr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_memrchr="no" + fi + + +curl_includes_poll="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_POLL_H +# include +#endif +#ifdef HAVE_SYS_POLL_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h poll.h sys/poll.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_poll +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_poll="unknown" + tst_proto_poll="unknown" + tst_compi_poll="unknown" + tst_works_poll="unknown" + tst_allow_poll="unknown" + # + case $host_os in + darwin*|interix*) + curl_disallow_poll="yes" + ;; + esac + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll can be linked" >&5 +$as_echo_n "checking if poll can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_poll + +int main (void) +{ + + if(0 != poll(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_poll="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_poll="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_poll" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll is prototyped" >&5 +$as_echo_n "checking if poll is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_poll + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "poll" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_poll="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_poll="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_poll" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll is compilable" >&5 +$as_echo_n "checking if poll is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_poll + +int main (void) +{ + + if(0 != poll(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_poll="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_poll="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_compi_poll" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll seems to work" >&5 +$as_echo_n "checking if poll seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + $curl_includes_poll + +int main (void) +{ + + if(0 != poll(0, 0, 10)) + exit(1); /* fail */ + else + exit(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_poll="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_poll="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_compi_poll" = "yes" && + test "$tst_works_poll" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll usage allowed" >&5 +$as_echo_n "checking if poll usage allowed... " >&6; } + if test "x$curl_disallow_poll" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_poll="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_poll="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll might be used" >&5 +$as_echo_n "checking if poll might be used... " >&6; } + if test "$tst_links_poll" = "yes" && + test "$tst_proto_poll" = "yes" && + test "$tst_compi_poll" = "yes" && + test "$tst_allow_poll" = "yes" && + test "$tst_works_poll" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_POLL 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define HAVE_POLL_FINE 1 +_ACEOF + + ac_cv_func_poll="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_poll="no" + fi + + + # + tst_links_setsockopt="unknown" + tst_proto_setsockopt="unknown" + tst_compi_setsockopt="unknown" + tst_allow_setsockopt="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt can be linked" >&5 +$as_echo_n "checking if setsockopt can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_sys_socket + +int main (void) +{ + + if(0 != setsockopt(0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_setsockopt="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_setsockopt="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_setsockopt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt is prototyped" >&5 +$as_echo_n "checking if setsockopt is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_winsock2 + $curl_includes_sys_socket + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "setsockopt" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_setsockopt="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_setsockopt="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_setsockopt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt is compilable" >&5 +$as_echo_n "checking if setsockopt is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_sys_socket + +int main (void) +{ + + if(0 != setsockopt(0, 0, 0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_setsockopt="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_setsockopt="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_setsockopt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt usage allowed" >&5 +$as_echo_n "checking if setsockopt usage allowed... " >&6; } + if test "x$curl_disallow_setsockopt" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_setsockopt="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_setsockopt="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt might be used" >&5 +$as_echo_n "checking if setsockopt might be used... " >&6; } + if test "$tst_links_setsockopt" = "yes" && + test "$tst_proto_setsockopt" = "yes" && + test "$tst_compi_setsockopt" = "yes" && + test "$tst_allow_setsockopt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_SETSOCKOPT 1 +_ACEOF + + ac_cv_func_setsockopt="yes" + + # + tst_compi_setsockopt_so_nonblock="unknown" + tst_allow_setsockopt_so_nonblock="unknown" + # + if test "$ac_cv_func_setsockopt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK is compilable" >&5 +$as_echo_n "checking if setsockopt SO_NONBLOCK is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_sys_socket + +int main (void) +{ + + if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_setsockopt_so_nonblock="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_setsockopt_so_nonblock="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_setsockopt_so_nonblock" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK usage allowed" >&5 +$as_echo_n "checking if setsockopt SO_NONBLOCK usage allowed... " >&6; } + if test "x$curl_disallow_setsockopt_so_nonblock" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_setsockopt_so_nonblock="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_setsockopt_so_nonblock="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK might be used" >&5 +$as_echo_n "checking if setsockopt SO_NONBLOCK might be used... " >&6; } + if test "$tst_compi_setsockopt_so_nonblock" = "yes" && + test "$tst_allow_setsockopt_so_nonblock" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_SETSOCKOPT_SO_NONBLOCK 1 +_ACEOF + + ac_cv_func_setsockopt_so_nonblock="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_setsockopt_so_nonblock="no" + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_setsockopt="no" + fi + + +curl_includes_signal="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SIGNAL_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h signal.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_signal +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_sigaction="unknown" + tst_proto_sigaction="unknown" + tst_compi_sigaction="unknown" + tst_allow_sigaction="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction can be linked" >&5 +$as_echo_n "checking if sigaction can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define sigaction innocuous_sigaction +#ifdef __STDC__ +# include +#else +# include +#endif +#undef sigaction +#ifdef __cplusplus +extern "C" +#endif +char sigaction (); +#if defined __stub_sigaction || defined __stub___sigaction +choke me +#endif + +int main (void) +{ +return sigaction (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_sigaction="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_sigaction="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_sigaction" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction is prototyped" >&5 +$as_echo_n "checking if sigaction is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_signal + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "sigaction" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_sigaction="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_sigaction="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_sigaction" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction is compilable" >&5 +$as_echo_n "checking if sigaction is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_signal + +int main (void) +{ + + if(0 != sigaction(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_sigaction="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_sigaction="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_sigaction" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction usage allowed" >&5 +$as_echo_n "checking if sigaction usage allowed... " >&6; } + if test "x$curl_disallow_sigaction" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_sigaction="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_sigaction="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction might be used" >&5 +$as_echo_n "checking if sigaction might be used... " >&6; } + if test "$tst_links_sigaction" = "yes" && + test "$tst_proto_sigaction" = "yes" && + test "$tst_compi_sigaction" = "yes" && + test "$tst_allow_sigaction" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGACTION 1 +_ACEOF + + ac_cv_func_sigaction="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_sigaction="no" + fi + + + # + tst_links_siginterrupt="unknown" + tst_proto_siginterrupt="unknown" + tst_compi_siginterrupt="unknown" + tst_allow_siginterrupt="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt can be linked" >&5 +$as_echo_n "checking if siginterrupt can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define siginterrupt innocuous_siginterrupt +#ifdef __STDC__ +# include +#else +# include +#endif +#undef siginterrupt +#ifdef __cplusplus +extern "C" +#endif +char siginterrupt (); +#if defined __stub_siginterrupt || defined __stub___siginterrupt +choke me +#endif + +int main (void) +{ +return siginterrupt (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_siginterrupt="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_siginterrupt="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_siginterrupt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is prototyped" >&5 +$as_echo_n "checking if siginterrupt is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_signal + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "siginterrupt" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_siginterrupt="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_siginterrupt="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_siginterrupt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is compilable" >&5 +$as_echo_n "checking if siginterrupt is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_signal + +int main (void) +{ + + if(0 != siginterrupt(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_siginterrupt="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_siginterrupt="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_siginterrupt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt usage allowed" >&5 +$as_echo_n "checking if siginterrupt usage allowed... " >&6; } + if test "x$curl_disallow_siginterrupt" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_siginterrupt="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_siginterrupt="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt might be used" >&5 +$as_echo_n "checking if siginterrupt might be used... " >&6; } + if test "$tst_links_siginterrupt" = "yes" && + test "$tst_proto_siginterrupt" = "yes" && + test "$tst_compi_siginterrupt" = "yes" && + test "$tst_allow_siginterrupt" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINTERRUPT 1 +_ACEOF + + ac_cv_func_siginterrupt="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_siginterrupt="no" + fi + + + # + tst_links_signal="unknown" + tst_proto_signal="unknown" + tst_compi_signal="unknown" + tst_allow_signal="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal can be linked" >&5 +$as_echo_n "checking if signal can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define signal innocuous_signal +#ifdef __STDC__ +# include +#else +# include +#endif +#undef signal +#ifdef __cplusplus +extern "C" +#endif +char signal (); +#if defined __stub_signal || defined __stub___signal +choke me +#endif + +int main (void) +{ +return signal (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_signal="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_signal="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_signal" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal is prototyped" >&5 +$as_echo_n "checking if signal is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_signal + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "signal" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_signal="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_signal="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_signal" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal is compilable" >&5 +$as_echo_n "checking if signal is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_signal + +int main (void) +{ + + if(0 != signal(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_signal="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_signal="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_signal" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal usage allowed" >&5 +$as_echo_n "checking if signal usage allowed... " >&6; } + if test "x$curl_disallow_signal" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_signal="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_signal="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal might be used" >&5 +$as_echo_n "checking if signal might be used... " >&6; } + if test "$tst_links_signal" = "yes" && + test "$tst_proto_signal" = "yes" && + test "$tst_compi_signal" = "yes" && + test "$tst_allow_signal" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGNAL 1 +_ACEOF + + ac_cv_func_signal="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_signal="no" + fi + + +curl_includes_setjmp="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SETJMP_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h setjmp.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_setjmp +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_sigsetjmp="unknown" + tst_macro_sigsetjmp="unknown" + tst_proto_sigsetjmp="unknown" + tst_compi_sigsetjmp="unknown" + tst_allow_sigsetjmp="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp can be linked" >&5 +$as_echo_n "checking if sigsetjmp can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define sigsetjmp innocuous_sigsetjmp +#ifdef __STDC__ +# include +#else +# include +#endif +#undef sigsetjmp +#ifdef __cplusplus +extern "C" +#endif +char sigsetjmp (); +#if defined __stub_sigsetjmp || defined __stub___sigsetjmp +choke me +#endif + +int main (void) +{ +return sigsetjmp (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_sigsetjmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_sigsetjmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_sigsetjmp" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp seems a macro" >&5 +$as_echo_n "checking if sigsetjmp seems a macro... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_setjmp + +int main (void) +{ + + sigjmp_buf env; + if(0 != sigsetjmp(env, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_macro_sigsetjmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_macro_sigsetjmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + # + if test "$tst_links_sigsetjmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is prototyped" >&5 +$as_echo_n "checking if sigsetjmp is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_setjmp + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "sigsetjmp" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_sigsetjmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_sigsetjmp="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_sigsetjmp" = "yes" || + test "$tst_macro_sigsetjmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is compilable" >&5 +$as_echo_n "checking if sigsetjmp is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_setjmp + +int main (void) +{ + + sigjmp_buf env; + if(0 != sigsetjmp(env, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_sigsetjmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_sigsetjmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_sigsetjmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp usage allowed" >&5 +$as_echo_n "checking if sigsetjmp usage allowed... " >&6; } + if test "x$curl_disallow_sigsetjmp" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_sigsetjmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_sigsetjmp="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp might be used" >&5 +$as_echo_n "checking if sigsetjmp might be used... " >&6; } + if (test "$tst_proto_sigsetjmp" = "yes" || + test "$tst_macro_sigsetjmp" = "yes") && + test "$tst_compi_sigsetjmp" = "yes" && + test "$tst_allow_sigsetjmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGSETJMP 1 +_ACEOF + + ac_cv_func_sigsetjmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_sigsetjmp="no" + fi + + + # + tst_links_socket="unknown" + tst_proto_socket="unknown" + tst_compi_socket="unknown" + tst_allow_socket="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket can be linked" >&5 +$as_echo_n "checking if socket can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_sys_socket + $curl_includes_socket + +int main (void) +{ + + if(0 != socket(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_socket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_socket="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_socket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket is prototyped" >&5 +$as_echo_n "checking if socket is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_winsock2 + $curl_includes_sys_socket + $curl_includes_socket + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "socket" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_socket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_socket="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_socket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket is compilable" >&5 +$as_echo_n "checking if socket is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_winsock2 + $curl_includes_sys_socket + $curl_includes_socket + +int main (void) +{ + + if(0 != socket(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_socket="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_socket="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_socket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket usage allowed" >&5 +$as_echo_n "checking if socket usage allowed... " >&6; } + if test "x$curl_disallow_socket" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_socket="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_socket="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket might be used" >&5 +$as_echo_n "checking if socket might be used... " >&6; } + if test "$tst_links_socket" = "yes" && + test "$tst_proto_socket" = "yes" && + test "$tst_compi_socket" = "yes" && + test "$tst_allow_socket" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_SOCKET 1 +_ACEOF + + ac_cv_func_socket="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_socket="no" + fi + + + # + tst_links_strcasecmp="unknown" + tst_proto_strcasecmp="unknown" + tst_compi_strcasecmp="unknown" + tst_allow_strcasecmp="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp can be linked" >&5 +$as_echo_n "checking if strcasecmp can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strcasecmp innocuous_strcasecmp +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strcasecmp +#ifdef __cplusplus +extern "C" +#endif +char strcasecmp (); +#if defined __stub_strcasecmp || defined __stub___strcasecmp +choke me +#endif + +int main (void) +{ +return strcasecmp (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strcasecmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strcasecmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strcasecmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is prototyped" >&5 +$as_echo_n "checking if strcasecmp is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strcasecmp" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strcasecmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strcasecmp="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strcasecmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is compilable" >&5 +$as_echo_n "checking if strcasecmp is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strcasecmp(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strcasecmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strcasecmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strcasecmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp usage allowed" >&5 +$as_echo_n "checking if strcasecmp usage allowed... " >&6; } + if test "x$curl_disallow_strcasecmp" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strcasecmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strcasecmp="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp might be used" >&5 +$as_echo_n "checking if strcasecmp might be used... " >&6; } + if test "$tst_links_strcasecmp" = "yes" && + test "$tst_proto_strcasecmp" = "yes" && + test "$tst_compi_strcasecmp" = "yes" && + test "$tst_allow_strcasecmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRCASECMP 1 +_ACEOF + + ac_cv_func_strcasecmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strcasecmp="no" + fi + + + # + tst_links_strcasestr="unknown" + tst_proto_strcasestr="unknown" + tst_compi_strcasestr="unknown" + tst_allow_strcasestr="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr can be linked" >&5 +$as_echo_n "checking if strcasestr can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strcasestr innocuous_strcasestr +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strcasestr +#ifdef __cplusplus +extern "C" +#endif +char strcasestr (); +#if defined __stub_strcasestr || defined __stub___strcasestr +choke me +#endif + +int main (void) +{ +return strcasestr (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strcasestr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strcasestr="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strcasestr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr is prototyped" >&5 +$as_echo_n "checking if strcasestr is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strcasestr" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strcasestr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strcasestr="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strcasestr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr is compilable" >&5 +$as_echo_n "checking if strcasestr is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strcasestr(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strcasestr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strcasestr="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strcasestr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr usage allowed" >&5 +$as_echo_n "checking if strcasestr usage allowed... " >&6; } + if test "x$curl_disallow_strcasestr" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strcasestr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strcasestr="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr might be used" >&5 +$as_echo_n "checking if strcasestr might be used... " >&6; } + if test "$tst_links_strcasestr" = "yes" && + test "$tst_proto_strcasestr" = "yes" && + test "$tst_compi_strcasestr" = "yes" && + test "$tst_allow_strcasestr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRCASESTR 1 +_ACEOF + + ac_cv_func_strcasestr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strcasestr="no" + fi + + + # + tst_links_strcmpi="unknown" + tst_proto_strcmpi="unknown" + tst_compi_strcmpi="unknown" + tst_allow_strcmpi="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi can be linked" >&5 +$as_echo_n "checking if strcmpi can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strcmpi="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strcmpi="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strcmpi" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi is prototyped" >&5 +$as_echo_n "checking if strcmpi is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strcmpi" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strcmpi="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strcmpi="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strcmpi" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi is compilable" >&5 +$as_echo_n "checking if strcmpi is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strcmpi(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strcmpi="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strcmpi="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strcmpi" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi usage allowed" >&5 +$as_echo_n "checking if strcmpi usage allowed... " >&6; } + if test "x$curl_disallow_strcmpi" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strcmpi="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strcmpi="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi might be used" >&5 +$as_echo_n "checking if strcmpi might be used... " >&6; } + if test "$tst_links_strcmpi" = "yes" && + test "$tst_proto_strcmpi" = "yes" && + test "$tst_compi_strcmpi" = "yes" && + test "$tst_allow_strcmpi" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRCMPI 1 +_ACEOF + + ac_cv_func_strcmpi="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strcmpi="no" + fi + + + # + tst_links_strdup="unknown" + tst_proto_strdup="unknown" + tst_compi_strdup="unknown" + tst_allow_strdup="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup can be linked" >&5 +$as_echo_n "checking if strdup can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strdup innocuous_strdup +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strdup +#ifdef __cplusplus +extern "C" +#endif +char strdup (); +#if defined __stub_strdup || defined __stub___strdup +choke me +#endif + +int main (void) +{ +return strdup (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strdup="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strdup="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strdup" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup is prototyped" >&5 +$as_echo_n "checking if strdup is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strdup" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strdup="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strdup="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strdup" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup is compilable" >&5 +$as_echo_n "checking if strdup is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strdup(0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strdup="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strdup="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strdup" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup usage allowed" >&5 +$as_echo_n "checking if strdup usage allowed... " >&6; } + if test "x$curl_disallow_strdup" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strdup="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strdup="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup might be used" >&5 +$as_echo_n "checking if strdup might be used... " >&6; } + if test "$tst_links_strdup" = "yes" && + test "$tst_proto_strdup" = "yes" && + test "$tst_compi_strdup" = "yes" && + test "$tst_allow_strdup" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRDUP 1 +_ACEOF + + ac_cv_func_strdup="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strdup="no" + fi + + + # + tst_links_strerror_r="unknown" + tst_proto_strerror_r="unknown" + tst_compi_strerror_r="unknown" + tst_glibc_strerror_r="unknown" + tst_posix_strerror_r="unknown" + tst_allow_strerror_r="unknown" + tst_works_glibc_strerror_r="unknown" + tst_works_posix_strerror_r="unknown" + tst_glibc_strerror_r_type_arg3="unknown" + tst_posix_strerror_r_type_arg3="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r can be linked" >&5 +$as_echo_n "checking if strerror_r can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strerror_r innocuous_strerror_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strerror_r +#ifdef __cplusplus +extern "C" +#endif +char strerror_r (); +#if defined __stub_strerror_r || defined __stub___strerror_r +choke me +#endif + +int main (void) +{ +return strerror_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strerror_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strerror_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strerror_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is prototyped" >&5 +$as_echo_n "checking if strerror_r is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strerror_r" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strerror_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strerror_r="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strerror_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is compilable" >&5 +$as_echo_n "checking if strerror_r is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strerror_r(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strerror_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strerror_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strerror_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is glibc like" >&5 +$as_echo_n "checking if strerror_r is glibc like... " >&6; } + tst_glibc_strerror_r_type_arg3="unknown" + for arg3 in 'size_t' 'int' 'unsigned int'; do + if test "$tst_glibc_strerror_r_type_arg3" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + char *strerror_r(int errnum, char *workbuf, $arg3 bufsize); + if(0 != strerror_r(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tst_glibc_strerror_r_type_arg3="$arg3" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + case "$tst_glibc_strerror_r_type_arg3" in + unknown) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_glibc_strerror_r="no" + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_glibc_strerror_r="yes" + ;; + esac + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_glibc_strerror_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5 +$as_echo_n "checking if strerror_r seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + $curl_includes_string +# include + +int main (void) +{ + + char buffer[1024]; + char *string = 0; + buffer[0] = '\0'; + string = strerror_r(EACCES, buffer, sizeof(buffer)); + if(!string) + exit(1); /* fail */ + if(!string[0]) + exit(1); /* fail */ + else + exit(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_glibc_strerror_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_glibc_strerror_r="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_compi_strerror_r" = "yes" && + test "$tst_works_glibc_strerror_r" != "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is POSIX like" >&5 +$as_echo_n "checking if strerror_r is POSIX like... " >&6; } + tst_posix_strerror_r_type_arg3="unknown" + for arg3 in 'size_t' 'int' 'unsigned int'; do + if test "$tst_posix_strerror_r_type_arg3" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + int strerror_r(int errnum, char *resultbuf, $arg3 bufsize); + if(0 != strerror_r(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + tst_posix_strerror_r_type_arg3="$arg3" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + case "$tst_posix_strerror_r_type_arg3" in + unknown) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_posix_strerror_r="no" + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_posix_strerror_r="yes" + ;; + esac + fi + # + if test "x$cross_compiling" != "xyes" && + test "$tst_posix_strerror_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5 +$as_echo_n "checking if strerror_r seems to work... " >&6; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run test program while cross compiling +See \`config.log' for more details." "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + $curl_includes_string +# include + +int main (void) +{ + + char buffer[1024]; + int error = 1; + buffer[0] = '\0'; + error = strerror_r(EACCES, buffer, sizeof(buffer)); + if(error) + exit(1); /* fail */ + if(buffer[0] == '\0') + exit(1); /* fail */ + else + exit(0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_works_posix_strerror_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_works_posix_strerror_r="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + # + if test "$tst_works_glibc_strerror_r" = "yes"; then + tst_posix_strerror_r="no" + fi + if test "$tst_works_posix_strerror_r" = "yes"; then + tst_glibc_strerror_r="no" + fi + if test "$tst_glibc_strerror_r" = "yes" && + test "$tst_works_glibc_strerror_r" != "no" && + test "$tst_posix_strerror_r" != "yes"; then + tst_allow_strerror_r="check" + fi + if test "$tst_posix_strerror_r" = "yes" && + test "$tst_works_posix_strerror_r" != "no" && + test "$tst_glibc_strerror_r" != "yes"; then + tst_allow_strerror_r="check" + fi + if test "$tst_allow_strerror_r" = "check"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r usage allowed" >&5 +$as_echo_n "checking if strerror_r usage allowed... " >&6; } + if test "x$curl_disallow_strerror_r" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strerror_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strerror_r="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r might be used" >&5 +$as_echo_n "checking if strerror_r might be used... " >&6; } + if test "$tst_links_strerror_r" = "yes" && + test "$tst_proto_strerror_r" = "yes" && + test "$tst_compi_strerror_r" = "yes" && + test "$tst_allow_strerror_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + if test "$tst_glibc_strerror_r" = "yes"; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRERROR_R 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define HAVE_GLIBC_STRERROR_R 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define STRERROR_R_TYPE_ARG3 $tst_glibc_strerror_r_type_arg3 +_ACEOF + + fi + if test "$tst_posix_strerror_r" = "yes"; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRERROR_R 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define HAVE_POSIX_STRERROR_R 1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define STRERROR_R_TYPE_ARG3 $tst_posix_strerror_r_type_arg3 +_ACEOF + + fi + ac_cv_func_strerror_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strerror_r="no" + fi + # + if test "$tst_compi_strerror_r" = "yes" && + test "$tst_allow_strerror_r" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit lib/curl_config.h manually." >&5 +$as_echo "$as_me: WARNING: cannot determine strerror_r() style: edit lib/curl_config.h manually." >&2;} + fi + # + + + # + tst_links_stricmp="unknown" + tst_proto_stricmp="unknown" + tst_compi_stricmp="unknown" + tst_allow_stricmp="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp can be linked" >&5 +$as_echo_n "checking if stricmp can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_stricmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_stricmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_stricmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp is prototyped" >&5 +$as_echo_n "checking if stricmp is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "stricmp" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_stricmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_stricmp="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_stricmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp is compilable" >&5 +$as_echo_n "checking if stricmp is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != stricmp(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_stricmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_stricmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_stricmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp usage allowed" >&5 +$as_echo_n "checking if stricmp usage allowed... " >&6; } + if test "x$curl_disallow_stricmp" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_stricmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_stricmp="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp might be used" >&5 +$as_echo_n "checking if stricmp might be used... " >&6; } + if test "$tst_links_stricmp" = "yes" && + test "$tst_proto_stricmp" = "yes" && + test "$tst_compi_stricmp" = "yes" && + test "$tst_allow_stricmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRICMP 1 +_ACEOF + + ac_cv_func_stricmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_stricmp="no" + fi + + + # + tst_links_strlcat="unknown" + tst_proto_strlcat="unknown" + tst_compi_strlcat="unknown" + tst_allow_strlcat="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat can be linked" >&5 +$as_echo_n "checking if strlcat can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strlcat innocuous_strlcat +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strlcat +#ifdef __cplusplus +extern "C" +#endif +char strlcat (); +#if defined __stub_strlcat || defined __stub___strlcat +choke me +#endif + +int main (void) +{ +return strlcat (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strlcat="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strlcat="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strlcat" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat is prototyped" >&5 +$as_echo_n "checking if strlcat is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strlcat" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strlcat="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strlcat="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strlcat" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat is compilable" >&5 +$as_echo_n "checking if strlcat is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strlcat(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strlcat="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strlcat="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strlcat" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat usage allowed" >&5 +$as_echo_n "checking if strlcat usage allowed... " >&6; } + if test "x$curl_disallow_strlcat" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strlcat="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strlcat="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat might be used" >&5 +$as_echo_n "checking if strlcat might be used... " >&6; } + if test "$tst_links_strlcat" = "yes" && + test "$tst_proto_strlcat" = "yes" && + test "$tst_compi_strlcat" = "yes" && + test "$tst_allow_strlcat" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRLCAT 1 +_ACEOF + + ac_cv_func_strlcat="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strlcat="no" + fi + + + # + tst_links_strncasecmp="unknown" + tst_proto_strncasecmp="unknown" + tst_compi_strncasecmp="unknown" + tst_allow_strncasecmp="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp can be linked" >&5 +$as_echo_n "checking if strncasecmp can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strncasecmp innocuous_strncasecmp +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strncasecmp +#ifdef __cplusplus +extern "C" +#endif +char strncasecmp (); +#if defined __stub_strncasecmp || defined __stub___strncasecmp +choke me +#endif + +int main (void) +{ +return strncasecmp (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strncasecmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strncasecmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strncasecmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp is prototyped" >&5 +$as_echo_n "checking if strncasecmp is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strncasecmp" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strncasecmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strncasecmp="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strncasecmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp is compilable" >&5 +$as_echo_n "checking if strncasecmp is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strncasecmp(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strncasecmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strncasecmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strncasecmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp usage allowed" >&5 +$as_echo_n "checking if strncasecmp usage allowed... " >&6; } + if test "x$curl_disallow_strncasecmp" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strncasecmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strncasecmp="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp might be used" >&5 +$as_echo_n "checking if strncasecmp might be used... " >&6; } + if test "$tst_links_strncasecmp" = "yes" && + test "$tst_proto_strncasecmp" = "yes" && + test "$tst_compi_strncasecmp" = "yes" && + test "$tst_allow_strncasecmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRNCASECMP 1 +_ACEOF + + ac_cv_func_strncasecmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strncasecmp="no" + fi + + + # + tst_links_strncmpi="unknown" + tst_proto_strncmpi="unknown" + tst_compi_strncmpi="unknown" + tst_allow_strncmpi="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi can be linked" >&5 +$as_echo_n "checking if strncmpi can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strncmpi="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strncmpi="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strncmpi" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi is prototyped" >&5 +$as_echo_n "checking if strncmpi is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strncmpi" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strncmpi="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strncmpi="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strncmpi" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi is compilable" >&5 +$as_echo_n "checking if strncmpi is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strncmpi(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strncmpi="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strncmpi="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strncmpi" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi usage allowed" >&5 +$as_echo_n "checking if strncmpi usage allowed... " >&6; } + if test "x$curl_disallow_strncmpi" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strncmpi="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strncmpi="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi might be used" >&5 +$as_echo_n "checking if strncmpi might be used... " >&6; } + if test "$tst_links_strncmpi" = "yes" && + test "$tst_proto_strncmpi" = "yes" && + test "$tst_compi_strncmpi" = "yes" && + test "$tst_allow_strncmpi" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRNCMPI 1 +_ACEOF + + ac_cv_func_strncmpi="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strncmpi="no" + fi + + + # + tst_links_strnicmp="unknown" + tst_proto_strnicmp="unknown" + tst_compi_strnicmp="unknown" + tst_allow_strnicmp="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp can be linked" >&5 +$as_echo_n "checking if strnicmp can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strnicmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strnicmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strnicmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp is prototyped" >&5 +$as_echo_n "checking if strnicmp is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strnicmp" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strnicmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strnicmp="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strnicmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp is compilable" >&5 +$as_echo_n "checking if strnicmp is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strnicmp(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strnicmp="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strnicmp="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strnicmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp usage allowed" >&5 +$as_echo_n "checking if strnicmp usage allowed... " >&6; } + if test "x$curl_disallow_strnicmp" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strnicmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strnicmp="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp might be used" >&5 +$as_echo_n "checking if strnicmp might be used... " >&6; } + if test "$tst_links_strnicmp" = "yes" && + test "$tst_proto_strnicmp" = "yes" && + test "$tst_compi_strnicmp" = "yes" && + test "$tst_allow_strnicmp" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRNICMP 1 +_ACEOF + + ac_cv_func_strnicmp="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strnicmp="no" + fi + + + # + tst_links_strstr="unknown" + tst_proto_strstr="unknown" + tst_compi_strstr="unknown" + tst_allow_strstr="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr can be linked" >&5 +$as_echo_n "checking if strstr can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strstr innocuous_strstr +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strstr +#ifdef __cplusplus +extern "C" +#endif +char strstr (); +#if defined __stub_strstr || defined __stub___strstr +choke me +#endif + +int main (void) +{ +return strstr (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strstr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strstr="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strstr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr is prototyped" >&5 +$as_echo_n "checking if strstr is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strstr" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strstr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strstr="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strstr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr is compilable" >&5 +$as_echo_n "checking if strstr is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strstr(0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strstr="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strstr="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strstr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr usage allowed" >&5 +$as_echo_n "checking if strstr usage allowed... " >&6; } + if test "x$curl_disallow_strstr" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strstr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strstr="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr might be used" >&5 +$as_echo_n "checking if strstr might be used... " >&6; } + if test "$tst_links_strstr" = "yes" && + test "$tst_proto_strstr" = "yes" && + test "$tst_compi_strstr" = "yes" && + test "$tst_allow_strstr" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRSTR 1 +_ACEOF + + ac_cv_func_strstr="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strstr="no" + fi + + + # + tst_links_strtok_r="unknown" + tst_proto_strtok_r="unknown" + tst_compi_strtok_r="unknown" + tst_allow_strtok_r="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r can be linked" >&5 +$as_echo_n "checking if strtok_r can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strtok_r innocuous_strtok_r +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strtok_r +#ifdef __cplusplus +extern "C" +#endif +char strtok_r (); +#if defined __stub_strtok_r || defined __stub___strtok_r +choke me +#endif + +int main (void) +{ +return strtok_r (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strtok_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strtok_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strtok_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r is prototyped" >&5 +$as_echo_n "checking if strtok_r is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_string + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strtok_r" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strtok_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strtok_r="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strtok_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r is compilable" >&5 +$as_echo_n "checking if strtok_r is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_string + +int main (void) +{ + + if(0 != strtok_r(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strtok_r="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strtok_r="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strtok_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r usage allowed" >&5 +$as_echo_n "checking if strtok_r usage allowed... " >&6; } + if test "x$curl_disallow_strtok_r" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strtok_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strtok_r="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r might be used" >&5 +$as_echo_n "checking if strtok_r might be used... " >&6; } + if test "$tst_links_strtok_r" = "yes" && + test "$tst_proto_strtok_r" = "yes" && + test "$tst_compi_strtok_r" = "yes" && + test "$tst_allow_strtok_r" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRTOK_R 1 +_ACEOF + + ac_cv_func_strtok_r="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strtok_r="no" + fi + + + # + tst_links_strtoll="unknown" + tst_proto_strtoll="unknown" + tst_compi_strtoll="unknown" + tst_allow_strtoll="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll can be linked" >&5 +$as_echo_n "checking if strtoll can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define strtoll innocuous_strtoll +#ifdef __STDC__ +# include +#else +# include +#endif +#undef strtoll +#ifdef __cplusplus +extern "C" +#endif +char strtoll (); +#if defined __stub_strtoll || defined __stub___strtoll +choke me +#endif + +int main (void) +{ +return strtoll (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_strtoll="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_strtoll="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_strtoll" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll is prototyped" >&5 +$as_echo_n "checking if strtoll is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_stdlib + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "strtoll" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_strtoll="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_strtoll="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_strtoll" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll is compilable" >&5 +$as_echo_n "checking if strtoll is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_stdlib + +int main (void) +{ + + if(0 != strtoll(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_strtoll="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_strtoll="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_strtoll" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll usage allowed" >&5 +$as_echo_n "checking if strtoll usage allowed... " >&6; } + if test "x$curl_disallow_strtoll" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_strtoll="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_strtoll="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll might be used" >&5 +$as_echo_n "checking if strtoll might be used... " >&6; } + if test "$tst_links_strtoll" = "yes" && + test "$tst_proto_strtoll" = "yes" && + test "$tst_compi_strtoll" = "yes" && + test "$tst_allow_strtoll" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRTOLL 1 +_ACEOF + + ac_cv_func_strtoll="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_strtoll="no" + fi + + +curl_includes_sys_uio="\ +/* includes start */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_UIO_H +# include +#endif +/* includes end */" + for ac_header in sys/types.h sys/uio.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_sys_uio +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + # + tst_links_writev="unknown" + tst_proto_writev="unknown" + tst_compi_writev="unknown" + tst_allow_writev="unknown" + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev can be linked" >&5 +$as_echo_n "checking if writev can be linked... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define writev innocuous_writev +#ifdef __STDC__ +# include +#else +# include +#endif +#undef writev +#ifdef __cplusplus +extern "C" +#endif +char writev (); +#if defined __stub_writev || defined __stub___writev +choke me +#endif + +int main (void) +{ +return writev (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_links_writev="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_links_writev="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$tst_links_writev" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev is prototyped" >&5 +$as_echo_n "checking if writev is prototyped... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + $curl_includes_sys_uio + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "writev" >/dev/null 2>&1; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_proto_writev="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_proto_writev="no" + +fi +rm -f conftest* + + fi + # + if test "$tst_proto_writev" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev is compilable" >&5 +$as_echo_n "checking if writev is compilable... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + $curl_includes_sys_uio + +int main (void) +{ + + if(0 != writev(0, 0, 0)) + return 1; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_compi_writev="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_compi_writev="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + # + if test "$tst_compi_writev" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev usage allowed" >&5 +$as_echo_n "checking if writev usage allowed... " >&6; } + if test "x$curl_disallow_writev" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + tst_allow_writev="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + tst_allow_writev="no" + fi + fi + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev might be used" >&5 +$as_echo_n "checking if writev might be used... " >&6; } + if test "$tst_links_writev" = "yes" && + test "$tst_proto_writev" = "yes" && + test "$tst_compi_writev" = "yes" && + test "$tst_allow_writev" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_WRITEV 1 +_ACEOF + + ac_cv_func_writev="yes" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ac_cv_func_writev="no" + fi + + + +case $host in + *msdosdjgpp) + ac_cv_func_pipe=no + skipcheck_pipe=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: skip check for pipe on msdosdjgpp" >&5 +$as_echo "$as_me: skip check for pipe on msdosdjgpp" >&6;} + ;; +esac + +for ac_func in fork \ + geteuid \ + getpass_r \ + getppid \ + getprotobyname \ + getpwuid \ + getrlimit \ + gettimeofday \ + inet_addr \ + perror \ + pipe \ + setlocale \ + setmode \ + setrlimit \ + uname \ + utime + +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + + +else + + func="$ac_func" + eval skipcheck=\$skipcheck_$func + if test "x$skipcheck" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking deeper for $func" >&5 +$as_echo_n "checking deeper for $func... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + $func (); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + eval "ac_cv_func_$func=yes" + +cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$func" | $as_tr_cpp` 1 +_ACEOF + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: but still no" >&5 +$as_echo "but still no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + +fi +done + + + + for ac_header in sys/types.h sys/socket.h netdb.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getnameinfo" >&5 +$as_echo_n "checking for getnameinfo... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define getnameinfo innocuous_getnameinfo +#ifdef __STDC__ +# include +#else +# include +#endif +#undef getnameinfo +#ifdef __cplusplus +extern "C" +#endif +char getnameinfo (); +#if defined __stub_getnameinfo || defined __stub___getnameinfo +choke me +#endif + +int main (void) +{ +return getnameinfo (); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_cv_getnameinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + curl_cv_getnameinfo="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + # + if test "$curl_cv_getnameinfo" != "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking deeper for getnameinfo" >&5 +$as_echo_n "checking deeper for getnameinfo... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int main (void) +{ + + getnameinfo(); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_cv_getnameinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: but still no" >&5 +$as_echo "but still no" >&6; } + curl_cv_getnameinfo="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + # + if test "$curl_cv_getnameinfo" != "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking deeper and deeper for getnameinfo" >&5 +$as_echo_n "checking deeper and deeper for getnameinfo... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#undef inline +#ifdef HAVE_WINDOWS_H +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#ifdef HAVE_WINSOCK2_H +#include +#ifdef HAVE_WS2TCPIP_H +#include +#endif +#endif +#else +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETDB_H +#include +#endif +#endif + +int main (void) +{ + + getnameinfo(0, 0, 0, 0, 0, 0, 0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + curl_cv_getnameinfo="yes" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: but still no" >&5 +$as_echo "but still no" >&6; } + curl_cv_getnameinfo="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + # + if test "$curl_cv_getnameinfo" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for getnameinfo" >&5 +$as_echo_n "checking types of arguments for getnameinfo... " >&6; } +if test "${curl_cv_func_getnameinfo_args+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + curl_cv_func_getnameinfo_args="unknown" + for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do + for gni_arg2 in 'socklen_t' 'size_t' 'int'; do + for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int' 'DWORD'; do + for gni_arg7 in 'int' 'unsigned int'; do + if test "$curl_cv_func_getnameinfo_args" = "unknown"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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($gni_arg1, $gni_arg2, + char *, $gni_arg46, + char *, $gni_arg46, + $gni_arg7); + +int main (void) +{ + + $gni_arg2 salen=0; + $gni_arg46 hostlen=0; + $gni_arg46 servlen=0; + $gni_arg7 flags=0; + int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + curl_cv_func_getnameinfo_args="$gni_arg1,$gni_arg2,$gni_arg46,$gni_arg7" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + done + done + done + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_getnameinfo_args" >&5 +$as_echo "$curl_cv_func_getnameinfo_args" >&6; } # AC-CACHE-CHECK + if test "$curl_cv_func_getnameinfo_args" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find proper types to use for getnameinfo args" >&5 +$as_echo "$as_me: WARNING: Cannot find proper types to use for getnameinfo args" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_GETNAMEINFO will not be defined" >&5 +$as_echo "$as_me: WARNING: HAVE_GETNAMEINFO will not be defined" >&2;} + else + gni_prev_IFS=$IFS; IFS=',' + set dummy `echo "$curl_cv_func_getnameinfo_args" | sed 's/\*/\*/g'` + IFS=$gni_prev_IFS + shift + # + gni_qual_type_arg1=$1 + # + +cat >>confdefs.h <<_ACEOF +#define GETNAMEINFO_TYPE_ARG2 $2 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define GETNAMEINFO_TYPE_ARG46 $3 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define GETNAMEINFO_TYPE_ARG7 $4 +_ACEOF + + # + prev_sh_opts=$- + # + case $prev_sh_opts in + *f*) + ;; + *) + set -f + ;; + esac + # + case "$gni_qual_type_arg1" in + const*) + gni_qual_arg1=const + gni_type_arg1=`echo $gni_qual_type_arg1 | sed 's/^const //'` + ;; + *) + gni_qual_arg1= + gni_type_arg1=$gni_qual_type_arg1 + ;; + esac + # + +cat >>confdefs.h <<_ACEOF +#define GETNAMEINFO_QUAL_ARG1 $gni_qual_arg1 +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define GETNAMEINFO_TYPE_ARG1 $gni_type_arg1 +_ACEOF + + # + case $prev_sh_opts in + *f*) + ;; + *) + set +f + ;; + esac + # + +cat >>confdefs.h <<_ACEOF +#define HAVE_GETNAMEINFO 1 +_ACEOF + + ac_cv_func_getnameinfo="yes" + fi + fi + + +if test "$ipv6" = "yes"; then + if test "$ac_cv_func_getaddrinfo" = "yes"; then + +$as_echo "#define ENABLE_IPV6 1" >>confdefs.h + + IPV6_ENABLED=1 + + fi + + for ac_header in stdio.h sys/types.h sys/socket.h \ + netdb.h netinet/in.h arpa/inet.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working NI_WITHSCOPEID" >&5 +$as_echo_n "checking for working NI_WITHSCOPEID... " >&6; } +if test "${ac_cv_working_ni_withscopeid+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + + # Program is not run when cross-compiling. So we assume + # NI_WITHSCOPEID will work if we are able to compile it. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include +#include +#include + +int main (void) +{ + + unsigned int dummy= NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + ac_cv_working_ni_withscopeid="yes" + +else + + ac_cv_working_ni_withscopeid="no" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # AC-COMPILE-IFELSE + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_STDIO_H +#include +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETDB_H +#include +#endif +#ifdef HAVE_NETINET_IN_H +#include +#endif +#ifdef HAVE_ARPA_INET_H +#include +#endif + +int main (void) +{ + +#if defined(NI_WITHSCOPEID) && defined(HAVE_GETNAMEINFO) +#ifdef HAVE_STRUCT_SOCKADDR_STORAGE + struct sockaddr_storage sa; +#else + unsigned char sa[256]; +#endif + char hostbuf[NI_MAXHOST]; + int rc; + GETNAMEINFO_TYPE_ARG2 salen = (GETNAMEINFO_TYPE_ARG2)sizeof(sa); + GETNAMEINFO_TYPE_ARG46 hostlen = (GETNAMEINFO_TYPE_ARG46)sizeof(hostbuf); + GETNAMEINFO_TYPE_ARG7 flags = NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID; + int fd = socket(AF_INET6, SOCK_STREAM, 0); + if(fd < 0) { + perror("socket()"); + return 1; /* Error creating socket */ + } + rc = getsockname(fd, (GETNAMEINFO_TYPE_ARG1)&sa, &salen); + if(rc) { + perror("getsockname()"); + return 2; /* Error retrieving socket name */ + } + rc = getnameinfo((GETNAMEINFO_TYPE_ARG1)&sa, salen, hostbuf, hostlen, NULL, 0, flags); + if(rc) { + printf("rc = %s\n", gai_strerror(rc)); + return 3; /* Error translating socket address */ + } + return 0; /* Ok, NI_WITHSCOPEID works */ +#else + return 4; /* Error, NI_WITHSCOPEID not defined or no getnameinfo() */ +#endif + + ; + return 0; +} # AC-LANG-PROGRAM + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + + # Exit code == 0. Program worked. + ac_cv_working_ni_withscopeid="yes" + +else + + # Exit code != 0. Program failed. + ac_cv_working_ni_withscopeid="no" + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + # AC-RUN-IFELSE + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_ni_withscopeid" >&5 +$as_echo "$ac_cv_working_ni_withscopeid" >&6; } # AC-CACHE-CHECK + case "$ac_cv_working_ni_withscopeid" in + yes) + +$as_echo "#define HAVE_NI_WITHSCOPEID 1" >>confdefs.h + + ;; + esac + +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable non-blocking communications" >&5 +$as_echo_n "checking whether to enable non-blocking communications... " >&6; } + OPT_NONBLOCKING="default" + # Check whether --enable-nonblocking was given. +if test "${enable_nonblocking+set}" = set; then : + enableval=$enable_nonblocking; OPT_NONBLOCKING=$enableval +fi + + case "$OPT_NONBLOCKING" in + no) + want_nonblocking="no" + ;; + default) + want_nonblocking="yes" + ;; + *) + want_nonblocking="yes" + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_nonblocking" >&5 +$as_echo "$want_nonblocking" >&6; } + + + # + tst_method="unknown" + if test "$want_nonblocking" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to set a socket into non-blocking mode" >&5 +$as_echo_n "checking how to set a socket into non-blocking mode... " >&6; } + if test "x$ac_cv_func_fcntl_o_nonblock" = "xyes"; then + tst_method="fcntl O_NONBLOCK" + elif test "x$ac_cv_func_ioctl_fionbio" = "xyes"; then + tst_method="ioctl FIONBIO" + elif test "x$ac_cv_func_ioctlsocket_fionbio" = "xyes"; then + tst_method="ioctlsocket FIONBIO" + elif test "x$ac_cv_func_ioctlsocket_camel_fionbio" = "xyes"; then + tst_method="IoctlSocket FIONBIO" + elif test "x$ac_cv_func_setsockopt_so_nonblock" = "xyes"; then + tst_method="setsockopt SO_NONBLOCK" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_method" >&5 +$as_echo "$tst_method" >&6; } + if test "$tst_method" = "unknown"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine non-blocking socket method." >&5 +$as_echo "$as_me: WARNING: cannot determine non-blocking socket method." >&2;} + fi + fi + if test "$tst_method" = "unknown"; then + +cat >>confdefs.h <<_ACEOF +#define USE_BLOCKING_SOCKETS 1 +_ACEOF + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-blocking sockets disabled." >&5 +$as_echo "$as_me: WARNING: non-blocking sockets disabled." >&2;} + fi + + + +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PERL+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PERL in + [\\/]* | ?:[\\/]*) + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin " +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PERL=$ac_cv_path_PERL +if test -n "$PERL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 +$as_echo "$PERL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +for ac_prog in gnroff nroff +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_NROFF+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $NROFF in + [\\/]* | ?:[\\/]*) + ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/usr/bin/:/usr/local/bin " +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +NROFF=$ac_cv_path_NROFF +if test -n "$NROFF"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 +$as_echo "$NROFF" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$NROFF" && break +done + + + +if test -n "$NROFF"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pages" >&5 +$as_echo_n "checking how to use *nroff to get plain text from man pages... " >&6; } + MANOPT="-man" + mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` + if test -z "$mancheck"; then + MANOPT="-mandoc" + mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` + if test -z "$mancheck"; then + MANOPT="" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man pages" >&5 +$as_echo "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;} + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +$as_echo "$MANOPT" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +$as_echo "$MANOPT" >&6; } + fi + +fi + +if test -z "$MANOPT" +then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5 +$as_echo "$as_me: WARNING: disabling built-in manual" >&2;} + USE_MANUAL="no"; +fi + + +if test "$USE_MANUAL" = "1"; then + +$as_echo "#define USE_MANUAL 1" >>confdefs.h + + curl_manual_msg="enabled" +fi + + + +if test x"$USE_MANUAL" = x1; then + USE_MANUAL_TRUE= + USE_MANUAL_FALSE='#' +else + USE_MANUAL_TRUE='#' + USE_MANUAL_FALSE= +fi + + + + + + # + if test "$want_ares" = "yes"; then + clean_CPPFLAGS="$CPPFLAGS" + clean_LDFLAGS="$LDFLAGS" + clean_LIBS="$LIBS" + embedded_ares="unknown" + configure_runpath=`pwd` + embedded_ares_builddir="$configure_runpath/ares" + if test -n "$want_ares_path"; then + ares_CPPFLAGS="-I$want_ares_path/include" + ares_LDFLAGS="-L$want_ares_path/lib" + ares_LIBS="-lcares" + else + if test -d "$srcdir/ares"; then + embedded_ares="yes" + subdirs="$subdirs ares" + + ares_CPPFLAGS="" + ares_LDFLAGS="-L$embedded_ares_builddir" + ares_LIBS="-lcares" + else + ares_CPPFLAGS="" + ares_LDFLAGS="" + ares_LIBS="-lcares" + fi + fi + # + CPPFLAGS="$ares_CPPFLAGS $clean_CPPFLAGS" + LDFLAGS="$ares_LDFLAGS $clean_LDFLAGS" + LIBS="$ares_LIBS $clean_LIBS" + # + if test "$embedded_ares" != "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that c-ares is good and recent enough" >&5 +$as_echo_n "checking that c-ares is good and recent enough... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#include + /* set of dummy functions in case c-ares was built with debug */ + void curl_dofree() { } + void curl_sclose() { } + void curl_domalloc() { } + void curl_docalloc() { } + void curl_socket() { } + +int main (void) +{ + + ares_channel channel; + ares_cancel(channel); /* added in 1.2.0 */ + ares_process_fd(channel, 0, 0); /* added in 1.4.0 */ + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + as_fn_error "c-ares library defective or too old" "$LINENO" 5 + CPPFLAGS="$clean_CPPFLAGS" + LDFLAGS="$clean_LDFLAGS" + LIBS="$clean_LIBS" + # prevent usage + want_ares="no" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + if test "$want_ares" = "yes"; then + +$as_echo "#define USE_ARES 1" >>confdefs.h + + USE_ARES=1 + + curl_ares_msg="enabled" + fi + fi + + + +if test x$embedded_ares = xyes; then + USE_EMBEDDED_ARES_TRUE= + USE_EMBEDDED_ARES_FALSE='#' +else + USE_EMBEDDED_ARES_TRUE='#' + USE_EMBEDDED_ARES_FALSE= +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable verbose strings" >&5 +$as_echo_n "checking whether to enable verbose strings... " >&6; } +# Check whether --enable-verbose was given. +if test "${enable_verbose+set}" = set; then : + enableval=$enable_verbose; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_VERBOSE_STRINGS 1" >>confdefs.h + + curl_verbose_msg="no" + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SSPI support (Windows native builds only)" >&5 +$as_echo_n "checking whether to enable SSPI support (Windows native builds only)... " >&6; } +# Check whether --enable-sspi was given. +if test "${enable_sspi+set}" = set; then : + enableval=$enable_sspi; case "$enableval" in + yes) + if test "$ac_cv_native_windows" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define USE_WINDOWS_SSPI 1" >>confdefs.h + + USE_WINDOWS_SSPI=1 + + curl_sspi_msg="enabled" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&5 +$as_echo "$as_me: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&2;} + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable cryptographic authentication methods" >&5 +$as_echo_n "checking whether to enable cryptographic authentication methods... " >&6; } +# Check whether --enable-crypto-auth was given. +if test "${enable_crypto_auth+set}" = set; then : + enableval=$enable_crypto_auth; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_CRYPTO_AUTH 1" >>confdefs.h + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for cookies" >&5 +$as_echo_n "checking whether to enable support for cookies... " >&6; } +# Check whether --enable-cookies was given. +if test "${enable_cookies+set}" = set; then : + enableval=$enable_cookies; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define CURL_DISABLE_COOKIES 1" >>confdefs.h + + ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable hidden symbols in the library" >&5 +$as_echo_n "checking whether to enable hidden symbols in the library... " >&6; } +# Check whether --enable-hidden-symbols was given. +if test "${enable_hidden_symbols+set}" = set; then : + enableval=$enable_hidden_symbols; case "$enableval" in + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports it" >&5 +$as_echo_n "checking whether $CC supports it... " >&6; } + if test "$GCC" = yes ; then + if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null || + test "$compiler_id" = "CLANG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define CURL_HIDDEN_SYMBOLS 1" >>confdefs.h + + +$as_echo "#define CURL_EXTERN_SYMBOL __attribute__ ((visibility (\"default\")))" >>confdefs.h + + CFLAGS="$CFLAGS -fvisibility=hidden" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + else + if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define CURL_HIDDEN_SYMBOLS 1" >>confdefs.h + + +$as_echo "#define CURL_EXTERN_SYMBOL __global" >>confdefs.h + + CFLAGS="$CFLAGS -xldscope=hidden" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + fi + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enforce SONAME bump" >&5 +$as_echo_n "checking whether to enforce SONAME bump... " >&6; } +# Check whether --enable-soname-bump was given. +if test "${enable_soname_bump+set}" = set; then : + enableval=$enable_soname_bump; case "$enableval" in + yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + soname_bump=yes + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $soname_bump" >&5 +$as_echo "$soname_bump" >&6; } + +fi + + + +if test x$soname_bump = xyes; then + SONAME_BUMP_TRUE= + SONAME_BUMP_FALSE='#' +else + SONAME_BUMP_TRUE='#' + SONAME_BUMP_FALSE= +fi + + + +if test ! -z "$winsock_LIB"; then + + + LIBS="$LIBS $winsock_LIB" + TEST_SERVER_LIBS="$TEST_SERVER_LIBS $winsock_LIB" + +fi + +LIBCURL_LIBS=$LIBS + + + + +LIBS=$ALL_LIBS + + +if test x$cross_compiling = xyes; then + CROSSCOMPILING_TRUE= + CROSSCOMPILING_FALSE='#' +else + CROSSCOMPILING_TRUE='#' + CROSSCOMPILING_FALSE= +fi + + + +if test "x$USE_SSLEAY" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES SSL" +elif test -n "$SSL_ENABLED"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES SSL" +fi +if test "@KRB4_ENABLED@" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES KRB4" +fi +if test "x$IPV6_ENABLED" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES IPv6" +fi +if test "x$HAVE_LIBZ" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES libz" +fi +if test "x$USE_ARES" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES AsynchDNS" +fi +if test "x$IDN_ENABLED" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES IDN" +fi +if test "x$USE_WINDOWS_SSPI" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES SSPI" +fi +if test "x$USE_SSLEAY" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" -o "x$GNUTLS_ENABLED" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES NTLM" +fi + + + +if test "x$CURL_DISABLE_HTTP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS" + fi +fi +if test "x$CURL_DISABLE_FTP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FTP" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FTPS" + fi +fi +if test "x$CURL_DISABLE_FILE" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FILE" +fi +if test "x$CURL_DISABLE_TELNET" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS TELNET" +fi +if test "x$CURL_DISABLE_LDAP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS LDAP" +fi +if test "x$CURL_DISABLE_LDAPS" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS LDAPS" +fi +if test "x$CURL_DISABLE_DICT" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS DICT" +fi +if test "x$CURL_DISABLE_TFTP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS TFTP" +fi +if test "x$CURL_DISABLE_POP3" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3S" + fi +fi +if test "x$CURL_DISABLE_IMAP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAP" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAPS" + fi +fi +if test "x$CURL_DISABLE_SMTP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMTP" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMTPS" + fi +fi +if test "x$USE_LIBSSH2" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SCP" + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SFTP" +fi +if test "x$CURL_DISABLE_RTSP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS RTSP" +fi + +SUPPORT_PROTOCOLS=`echo $SUPPORT_PROTOCOLS | tr ' ' '\012' | sort | tr '\012' ' '` + + + + +squeeze CFLAGS +squeeze CPPFLAGS +squeeze DEFS +squeeze LDFLAGS +squeeze LIBS + +squeeze CURL_LIBS +squeeze LIBCURL_LIBS +squeeze TEST_SERVER_LIBS + +squeeze SUPPORT_FEATURES +squeeze SUPPORT_PROTOCOLS + +if test "x$want_curldebug_assumed" = "xyes" && + test "x$want_curldebug" = "xyes" && test "x$USE_ARES" = "x1"; then + ac_configure_args="$ac_configure_args --enable-curldebug" +fi + +ac_config_files="$ac_config_files Makefile docs/Makefile docs/examples/Makefile docs/libcurl/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile tests/Makefile tests/data/Makefile tests/server/Makefile tests/libtest/Makefile packages/Makefile packages/Win32/Makefile packages/Win32/cygwin/Makefile packages/Linux/Makefile packages/Linux/RPM/Makefile packages/Linux/RPM/curl.spec packages/Linux/RPM/curl-ssl.spec packages/Solaris/Makefile packages/EPM/curl.list packages/EPM/Makefile packages/vms/Makefile packages/AIX/Makefile packages/AIX/RPM/Makefile packages/AIX/RPM/curl.spec curl-config libcurl.pc" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${MIMPURE_TRUE}" && test -z "${MIMPURE_FALSE}"; then + as_fn_error "conditional \"MIMPURE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${STATICLIB_TRUE}" && test -z "${STATICLIB_FALSE}"; then + as_fn_error "conditional \"STATICLIB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${STATICLIB_TRUE}" && test -z "${STATICLIB_FALSE}"; then + as_fn_error "conditional \"STATICLIB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${NO_UNDEFINED_TRUE}" && test -z "${NO_UNDEFINED_FALSE}"; then + as_fn_error "conditional \"NO_UNDEFINED\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then + as_fn_error "conditional \"CURLDEBUG\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then + as_fn_error "conditional \"HAVE_LIBZ\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then + as_fn_error "conditional \"USE_MANUAL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${USE_EMBEDDED_ARES_TRUE}" && test -z "${USE_EMBEDDED_ARES_FALSE}"; then + as_fn_error "conditional \"USE_EMBEDDED_ARES\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SONAME_BUMP_TRUE}" && test -z "${SONAME_BUMP_FALSE}"; then + as_fn_error "conditional \"SONAME_BUMP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then + as_fn_error "conditional \"CROSSCOMPILING\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: ${CONFIG_STATUS=./config.status} +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by curl $as_me -, which was +generated by GNU Autoconf 2.65. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to http://curl.haxx.se/mail/>." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +curl config.status - +configured by $0, generated by GNU Autoconf 2.65, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2009 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# Quote evaled strings. +for var in SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +deplibs_check_method \ +file_magic_cmd \ +AR \ +AR_FLAGS \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +SHELL \ +ECHO \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_wl \ +lt_prog_compiler_pic \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_flag_spec_ld \ +hardcode_libdir_separator \ +fix_srcfile_path \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +finish_eval \ +old_striplib \ +striplib; do + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +sys_lib_dlsearch_path_spec; do + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Fix-up fallback echo if it was mangled by the above quoting rules. +case \$lt_ECHO in +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` + ;; +esac + +ac_aux_dir='$ac_aux_dir' +xsi_shell='$xsi_shell' +lt_shell_append='$lt_shell_append' + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile' + + + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "lib/curl_config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/curl_config.h" ;; + "src/curl_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/curl_config.h" ;; + "include/curl/curlbuild.h") CONFIG_HEADERS="$CONFIG_HEADERS include/curl/curlbuild.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; + "docs/examples/Makefile") CONFIG_FILES="$CONFIG_FILES docs/examples/Makefile" ;; + "docs/libcurl/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libcurl/Makefile" ;; + "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; + "include/curl/Makefile") CONFIG_FILES="$CONFIG_FILES include/curl/Makefile" ;; + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;; + "tests/server/Makefile") CONFIG_FILES="$CONFIG_FILES tests/server/Makefile" ;; + "tests/libtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libtest/Makefile" ;; + "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; + "packages/Win32/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Win32/Makefile" ;; + "packages/Win32/cygwin/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Win32/cygwin/Makefile" ;; + "packages/Linux/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Linux/Makefile" ;; + "packages/Linux/RPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/Makefile" ;; + "packages/Linux/RPM/curl.spec") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/curl.spec" ;; + "packages/Linux/RPM/curl-ssl.spec") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/curl-ssl.spec" ;; + "packages/Solaris/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Solaris/Makefile" ;; + "packages/EPM/curl.list") CONFIG_FILES="$CONFIG_FILES packages/EPM/curl.list" ;; + "packages/EPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/EPM/Makefile" ;; + "packages/vms/Makefile") CONFIG_FILES="$CONFIG_FILES packages/vms/Makefile" ;; + "packages/AIX/Makefile") CONFIG_FILES="$CONFIG_FILES packages/AIX/Makefile" ;; + "packages/AIX/RPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/AIX/RPM/Makefile" ;; + "packages/AIX/RPM/curl.spec") CONFIG_FILES="$CONFIG_FILES packages/AIX/RPM/curl.spec" ;; + "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;; + "libcurl.pc") CONFIG_FILES="$CONFIG_FILES libcurl.pc" ;; + + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || as_fn_error "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_t=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_t"; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + "$ac_file" | "$ac_file":* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + "libtool":C) + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="" + +# ### BEGIN LIBTOOL CONFIG + +# Assembler program. +AS=$AS + +# DLL creation program. +DLLTOOL=$DLLTOOL + +# Object dumper program. +OBJDUMP=$OBJDUMP + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that does not interpret backslashes. +ECHO=$lt_ECHO + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into a binary +# during linking. This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + case $xsi_shell in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac +} + +# func_basename file +func_basename () +{ + func_basename_result="${1##*/}" +} + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}" +} + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +func_stripname () +{ + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"} +} + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=${1%%=*} + func_opt_split_arg=${1#*=} +} + +# func_lo2o object +func_lo2o () +{ + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=${1%.*}.lo +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=$(( $* )) +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=${#1} +} + +_LT_EOF + ;; + *) # Bourne compatible functions. + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` +} + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; + esac +} + +# sed scripts: +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' +my_sed_long_arg='1s/^-[^=]*=//' + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` +} + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "$@"` +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` +} + +_LT_EOF +esac + +case $lt_shell_append in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1+=\$2" +} +_LT_EOF + ;; + *) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1=\$$1\$2" +} + +_LT_EOF + ;; + esac + + + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit $? +fi + +# +# CONFIG_SUBDIRS section. +# +if test "$no_recursion" != yes; then + + # Remove --cache-file, --srcdir, and --disable-option-checking arguments + # so they do not pile up. + ac_sub_configure_args= + ac_prev= + eval "set x $ac_configure_args" + shift + for ac_arg + do + if test -n "$ac_prev"; then + ac_prev= + continue + fi + case $ac_arg in + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ + | --c=*) + ;; + --config-cache | -C) + ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + ;; + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + ;; + --disable-option-checking) + ;; + *) + case $ac_arg in + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_sub_configure_args " '$ac_arg'" ;; + esac + done + + # Always prepend --prefix to ensure using the same prefix + # in subdir configurations. + ac_arg="--prefix=$prefix" + case $ac_arg in + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" + + # Pass --silent + if test "$silent" = yes; then + ac_sub_configure_args="--silent $ac_sub_configure_args" + fi + + # Always prepend --disable-option-checking to silence warnings, since + # different subdirs can have different --enable and --with options. + ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" + + ac_popdir=`pwd` + for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue + + # Do not complain, so a configure script can configure whichever + # parts of a large source tree are present. + test -d "$srcdir/$ac_dir" || continue + + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" + $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 + $as_echo "$ac_msg" >&6 + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + cd "$ac_dir" + + # Check for guested configure; otherwise get Cygnus style configure. + if test -f "$ac_srcdir/configure.gnu"; then + ac_sub_configure=$ac_srcdir/configure.gnu + elif test -f "$ac_srcdir/configure"; then + ac_sub_configure=$ac_srcdir/configure + elif test -f "$ac_srcdir/configure.in"; then + # This should be Cygnus configure. + ac_sub_configure=$ac_aux_dir/configure + else + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 +$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} + ac_sub_configure= + fi + + # The recursion is here. + if test -n "$ac_sub_configure"; then + # Make the cache file name correct relative to the subdirectory. + case $cache_file in + [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; + *) # Relative name. + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + # The eval makes quoting arguments work. + eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ + --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || + as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 + fi + + cd "$ac_popdir" + done +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build curl/libcurl: + + curl version: ${VERSION} + Host setup: ${host} + Install prefix: ${prefix} + Compiler: ${CC} + SSL support: ${curl_ssl_msg} + SSH support: ${curl_ssh_msg} + zlib support: ${curl_zlib_msg} + krb4 support: ${curl_krb4_msg} + GSSAPI support: ${curl_gss_msg} + SPNEGO support: ${curl_spnego_msg} + c-ares support: ${curl_ares_msg} + ipv6 support: ${curl_ipv6_msg} + IDN support: ${curl_idn_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + Verbose errors: ${curl_verbose_msg} + SSPI support: ${curl_sspi_msg} + ca cert bundle: ${ca} + ca cert path: ${capath} + LDAP support: ${curl_ldap_msg} + LDAPS support: ${curl_ldaps_msg} + RTSP support: ${curl_rtsp_msg} + Protocols: ${SUPPORT_PROTOCOLS} +" >&5 +$as_echo "$as_me: Configured to build curl/libcurl: + + curl version: ${VERSION} + Host setup: ${host} + Install prefix: ${prefix} + Compiler: ${CC} + SSL support: ${curl_ssl_msg} + SSH support: ${curl_ssh_msg} + zlib support: ${curl_zlib_msg} + krb4 support: ${curl_krb4_msg} + GSSAPI support: ${curl_gss_msg} + SPNEGO support: ${curl_spnego_msg} + c-ares support: ${curl_ares_msg} + ipv6 support: ${curl_ipv6_msg} + IDN support: ${curl_idn_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + Verbose errors: ${curl_verbose_msg} + SSPI support: ${curl_sspi_msg} + ca cert bundle: ${ca} + ca cert path: ${capath} + LDAP support: ${curl_ldap_msg} + LDAPS support: ${curl_ldaps_msg} + RTSP support: ${curl_rtsp_msg} + Protocols: ${SUPPORT_PROTOCOLS} +" >&6;} + +if test "x$soname_bump" = "xyes"; then + +cat <, et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +#*************************************************************************** +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.57) + +dnl We don't know the version number "statically" so we use a dash here +AC_INIT([curl], [-], [a suitable curl mailing list => http://curl.haxx.se/mail/]) + +CURL_OVERRIDE_AUTOCONF + +dnl configure script copyright +AC_COPYRIGHT([Copyright (c) 1998 - 2010 Daniel Stenberg, +This configure script may be copied, distributed and modified under the +terms of the curl license; see COPYING for more details]) + +AC_CONFIG_SRCDIR([lib/urldata.h]) +AM_CONFIG_HEADER(lib/curl_config.h src/curl_config.h include/curl/curlbuild.h) +AM_MAINTAINER_MODE + +CURL_CHECK_OPTION_DEBUG +CURL_CHECK_OPTION_OPTIMIZE +CURL_CHECK_OPTION_WARNINGS +CURL_CHECK_OPTION_CURLDEBUG +CURL_CHECK_OPTION_ARES + +CURL_CHECK_PATH_SEPARATOR_REQUIRED + +# +# save the configure arguments +# +CONFIGURE_OPTIONS="\"$ac_configure_args\"" +AC_SUBST(CONFIGURE_OPTIONS) + +dnl SED is mandatory for configure process and libtool. +dnl Set it now, allowing it to be changed later. +AC_PATH_PROG([SED], [sed], [not_found], + [$PATH:/usr/bin:/usr/local/bin]) +if test -z "$SED" || test "$SED" = "not_found"; then + AC_MSG_ERROR([sed not found in PATH. Cannot continue without sed.]) +fi +AC_SUBST([SED]) + +dnl GREP is mandatory for configure process and libtool. +dnl Set it now, allowing it to be changed later. +AC_PATH_PROG([GREP], [grep], [not_found], + [$PATH:/usr/bin:/usr/local/bin]) +if test -z "$GREP" || test "$GREP" = "not_found"; then + AC_MSG_ERROR([grep not found in PATH. Cannot continue without grep.]) +fi +AC_SUBST([GREP]) + +dnl EGREP is mandatory for configure process and libtool. +dnl Set it now, allowing it to be changed later. +if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then + AC_MSG_CHECKING([for egrep]) + EGREP="$GREP -E" + AC_MSG_RESULT([$EGREP]) +else + AC_PATH_PROG([EGREP], [egrep], [not_found], + [$PATH:/usr/bin:/usr/local/bin]) +fi +if test -z "$EGREP" || test "$EGREP" = "not_found"; then + AC_MSG_ERROR([egrep not found in PATH. Cannot continue without egrep.]) +fi +AC_SUBST([EGREP]) + +dnl AR is mandatory for configure process and libtool. +dnl This is target dependent, so check it as a tool. +AC_PATH_TOOL([AR], [ar], [not_found], + [$PATH:/usr/bin:/usr/local/bin]) +if test -z "$AR" || test "$AR" = "not_found"; then + AC_MSG_ERROR([ar not found in PATH. Cannot continue without ar.]) +fi +AC_SUBST([AR]) + +AC_SUBST(libext) + +dnl Remove non-configure distributed curlbuild.h +if test -f ${srcdir}/include/curl/curlbuild.h; then + rm -f ${srcdir}/include/curl/curlbuild.h +fi + +dnl figure out the libcurl version +VERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curlver.h` +AM_INIT_AUTOMAKE(curl,$VERSION) +AC_MSG_CHECKING([curl version]) +AC_MSG_RESULT($VERSION) + +dnl +dnl we extract the numerical version for curl-config only +VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/include/curl/curlver.h` +AC_SUBST(VERSIONNUM) + +dnl Solaris pkgadd support definitions +PKGADD_PKG="HAXXcurl" +PKGADD_NAME="cURL - a client that groks URLs" +PKGADD_VENDOR="curl.haxx.se" +AC_SUBST(PKGADD_PKG) +AC_SUBST(PKGADD_NAME) +AC_SUBST(PKGADD_VENDOR) + +dnl +dnl initialize all the info variables + curl_ssl_msg="no (--with-ssl / --with-gnutls / --with-nss)" + curl_ssh_msg="no (--with-libssh2)" + curl_zlib_msg="no (--with-zlib)" + curl_krb4_msg="no (--with-krb4*)" + curl_gss_msg="no (--with-gssapi)" + curl_spnego_msg="no (--with-spnego)" + curl_ares_msg="no (--enable-ares)" + curl_ipv6_msg="no (--enable-ipv6)" + curl_idn_msg="no (--with-libidn)" + curl_manual_msg="no (--enable-manual)" +curl_verbose_msg="enabled (--disable-verbose)" + curl_sspi_msg="no (--enable-sspi)" + curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)" + curl_ldaps_msg="no (--enable-ldaps)" + curl_rtsp_msg="no (--enable-rtsp)" + +dnl +dnl Save anything in $LIBS for later +dnl +ALL_LIBS=$LIBS + +dnl +dnl Detect the canonical host and target build environment +dnl + +AC_CANONICAL_HOST +dnl Get system canonical name +AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS]) + +dnl Checks for programs. +CURL_CHECK_PROG_CC + +dnl Our curl_off_t internal and external configure settings +CURL_CONFIGURE_CURL_OFF_T + +dnl This defines _ALL_SOURCE for AIX +CURL_CHECK_AIX_ALL_SOURCE + +dnl Our configure and build reentrant settings +CURL_CONFIGURE_THREAD_SAFE +CURL_CONFIGURE_REENTRANT + +dnl check for how to do large files +AC_SYS_LARGEFILE + +dnl support building of Windows DLLs +AC_LIBTOOL_WIN32_DLL + +dnl force libtool to build static libraries with PIC on AMD64-Linux & FreeBSD +AC_MSG_CHECKING([if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC)]) +case $host in + x86_64*linux*|amd64*freebsd*|ia64*freebsd*) + AC_MSG_RESULT([yes]) + with_pic=yes + ;; + *) + AC_MSG_RESULT([no]) + ;; +esac + +AC_MSG_CHECKING([if compiler is icc (to build with PIC)]) +case $CC in + icc | */icc) + AC_MSG_RESULT([yes]) + with_pic=yes + ;; + *) + AC_MSG_RESULT([no]) + ;; +esac + +dnl libtool setup +AC_PROG_LIBTOOL + +AC_MSG_CHECKING([if we need -mimpure-text]) +mimpure=no +case $host in + *-*-solaris2*) + if test "$GCC" = "yes"; then + mimpure="yes" + fi + ;; + *) + ;; +esac +AC_MSG_RESULT($mimpure) +AM_CONDITIONAL(MIMPURE, test x$mimpure = xyes) +AM_CONDITIONAL(STATICLIB, false) + +AC_MSG_CHECKING([if we need BUILDING_LIBCURL]) +case $host in + *-*-mingw*) + AC_DEFINE(BUILDING_LIBCURL, 1, [when building libcurl itself]) + AC_MSG_RESULT(yes) + AC_MSG_CHECKING([if we need CURL_STATICLIB]) + if test "X$enable_shared" = "Xno" + then + AC_DEFINE(CURL_STATICLIB, 1, [when not building a shared library]) + AC_MSG_RESULT(yes) + AM_CONDITIONAL(STATICLIB, true) + else + AC_MSG_RESULT(no) + fi + ;; + *) + AC_MSG_RESULT(no) + ;; +esac + +# Determine whether all dependent libraries must be specified when linking +if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno" +then + REQUIRE_LIB_DEPS=no +else + REQUIRE_LIB_DEPS=yes +fi +AC_SUBST(REQUIRE_LIB_DEPS) + +dnl The install stuff has already been taken care of by the automake stuff +dnl AC_PROG_INSTALL +AC_PROG_MAKE_SET + +dnl check if there's a way to force code inline +AC_C_INLINE + +dnl ********************************************************************** +dnl platform/compiler/architecture specific checks/flags +dnl ********************************************************************** + +CURL_CHECK_COMPILER +CURL_SET_COMPILER_BASIC_OPTS +CURL_SET_COMPILER_DEBUG_OPTS +CURL_SET_COMPILER_OPTIMIZE_OPTS +CURL_SET_COMPILER_WARNING_OPTS + +if test "$compiler_id" = "INTEL_UNIX_C"; then + # + if test "$compiler_num" -ge "1000"; then + dnl icc 10.X or later + CFLAGS="$CFLAGS -shared-intel" + elif test "$compiler_num" -ge "900"; then + dnl icc 9.X specific + CFLAGS="$CFLAGS -i-dynamic" + fi + # +fi + +CURL_CHECK_COMPILER_HALT_ON_ERROR +CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE + +CURL_CHECK_NO_UNDEFINED +AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes) + +CURL_CHECK_CURLDEBUG +AM_CONDITIONAL(CURLDEBUG, test x$want_curldebug = xyes) + +dnl ********************************************************************** +dnl Compilation based checks should not be done before this point. +dnl ********************************************************************** + +dnl ********************************************************************** +dnl Make sure that our checks for headers windows.h winsock.h winsock2.h +dnl and ws2tcpip.h take precedence over any other further checks which +dnl could be done later using AC_CHECK_HEADER or AC_CHECK_HEADERS for +dnl this specific header files. And do them before its results are used. +dnl ********************************************************************** + +CURL_CHECK_HEADER_WINDOWS +CURL_CHECK_NATIVE_WINDOWS +case X-"$ac_cv_native_windows" in + X-yes) + CURL_CHECK_HEADER_WINSOCK + CURL_CHECK_HEADER_WINSOCK2 + CURL_CHECK_HEADER_WS2TCPIP + CURL_CHECK_HEADER_WINLDAP + CURL_CHECK_HEADER_WINBER + ;; + *) + ac_cv_header_winsock_h="no" + ac_cv_header_winsock2_h="no" + ac_cv_header_ws2tcpip_h="no" + ac_cv_header_winldap_h="no" + ac_cv_header_winber_h="no" + ;; +esac +CURL_CHECK_WIN32_LARGEFILE + +dnl ************************************************************ +dnl switch off particular protocols +dnl +AC_MSG_CHECKING([whether to support http]) +AC_ARG_ENABLE(http, +AC_HELP_STRING([--enable-http],[Enable HTTP support]) +AC_HELP_STRING([--disable-http],[Disable HTTP support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_HTTP, 1, [to disable HTTP]) + AC_MSG_WARN([disable HTTP disables FTP over proxy and RTSP]) + AC_SUBST(CURL_DISABLE_HTTP, [1]) + AC_DEFINE(CURL_DISABLE_RTSP, 1, [to disable RTSP]) + AC_SUBST(CURL_DISABLE_RTSP, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) +AC_MSG_CHECKING([whether to support ftp]) +AC_ARG_ENABLE(ftp, +AC_HELP_STRING([--enable-ftp],[Enable FTP support]) +AC_HELP_STRING([--disable-ftp],[Disable FTP support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_FTP, 1, [to disable FTP]) + AC_SUBST(CURL_DISABLE_FTP, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) +AC_MSG_CHECKING([whether to support file]) +AC_ARG_ENABLE(file, +AC_HELP_STRING([--enable-file],[Enable FILE support]) +AC_HELP_STRING([--disable-file],[Disable FILE support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_FILE, 1, [to disable FILE]) + AC_SUBST(CURL_DISABLE_FILE, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) +AC_MSG_CHECKING([whether to support ldap]) +AC_ARG_ENABLE(ldap, +AC_HELP_STRING([--enable-ldap],[Enable LDAP support]) +AC_HELP_STRING([--disable-ldap],[Disable LDAP support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) + AC_SUBST(CURL_DISABLE_LDAP, [1]) + ;; + *) + case $host in + *-*-cygwin*) + # Force no ldap. config/build process is broken for cygwin + AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) + AC_SUBST(CURL_DISABLE_LDAP, [1]) + AC_MSG_RESULT(no) + ;; + *) + AC_MSG_RESULT(yes) + esac + ;; + esac ],[ + case $host in + *-*-cygwin*) + # Force no ldap. config/build process is broken for cygwin + AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) + AC_SUBST(CURL_DISABLE_LDAP, [1]) + AC_MSG_RESULT(no) + ;; + *) + AC_MSG_RESULT(yes) + esac ] +) +AC_MSG_CHECKING([whether to support ldaps]) +AC_ARG_ENABLE(ldaps, +AC_HELP_STRING([--enable-ldaps],[Enable LDAPS support]) +AC_HELP_STRING([--disable-ldaps],[Disable LDAPS support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_LDAPS, 1, [to disable LDAPS]) + AC_SUBST(CURL_DISABLE_LDAPS, [1]) + ;; + *) if test x$CURL_DISABLE_LDAP = x1 ; then + AC_MSG_RESULT(LDAP support needs to be enabled in order to enable LDAPS support!) + AC_DEFINE(CURL_DISABLE_LDAPS, 1, [to disable LDAPS]) + AC_SUBST(CURL_DISABLE_LDAPS, [1]) + else + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_LDAP_SSL, 1, [Use LDAPS implementation]) + curl_ldaps_msg="enabled" + fi + ;; + esac ], + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_LDAPS, 1, [to disable LDAPS]) + AC_SUBST(CURL_DISABLE_LDAPS, [1]) +) + +AC_MSG_CHECKING([whether to support rtsp]) +AC_ARG_ENABLE(rtsp, +AC_HELP_STRING([--enable-rtsp],[Enable RTSP support]) +AC_HELP_STRING([--disable-rtsp],[Disable RTSP support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_RTSP, 1, [to disable RTSP]) + AC_SUBST(CURL_DISABLE_RTSP, [1]) + ;; + *) if test x$CURL_DISABLE_HTTP = x1 ; then + AC_MSG_ERROR(HTTP support needs to be enabled in order to enable RTSP support!) + else + AC_MSG_RESULT(yes) + curl_rtsp_msg="enabled" + fi + ;; + esac ], + if test "x$CURL_DISABLE_HTTP" != "x1"; then + AC_MSG_RESULT(yes) + curl_rtsp_msg="enabled" + else + AC_MSG_RESULT(no) + fi +) + +AC_MSG_CHECKING([whether to support proxies]) +AC_ARG_ENABLE(proxy, +AC_HELP_STRING([--enable-proxy],[Enable proxy support]) +AC_HELP_STRING([--disable-proxy],[Disable proxy support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_PROXY, 1, [to disable proxies]) + AC_SUBST(CURL_DISABLE_PROXY, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + +AC_MSG_CHECKING([whether to support dict]) +AC_ARG_ENABLE(dict, +AC_HELP_STRING([--enable-dict],[Enable DICT support]) +AC_HELP_STRING([--disable-dict],[Disable DICT support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_DICT, 1, [to disable DICT]) + AC_SUBST(CURL_DISABLE_DICT, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) +AC_MSG_CHECKING([whether to support telnet]) +AC_ARG_ENABLE(telnet, +AC_HELP_STRING([--enable-telnet],[Enable TELNET support]) +AC_HELP_STRING([--disable-telnet],[Disable TELNET support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_TELNET, 1, [to disable TELNET]) + AC_SUBST(CURL_DISABLE_TELNET, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) +AC_MSG_CHECKING([whether to support tftp]) +AC_ARG_ENABLE(tftp, +AC_HELP_STRING([--enable-tftp],[Enable TFTP support]) +AC_HELP_STRING([--disable-tftp],[Disable TFTP support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_TFTP, 1, [to disable TFTP]) + AC_SUBST(CURL_DISABLE_TFTP, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + +AC_MSG_CHECKING([whether to support pop3]) +AC_ARG_ENABLE(pop3, +AC_HELP_STRING([--enable-pop3],[Enable POP3 support]) +AC_HELP_STRING([--disable-pop3],[Disable POP3 support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_POP3, 1, [to disable POP3]) + AC_SUBST(CURL_DISABLE_POP3, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + + +AC_MSG_CHECKING([whether to support imap]) +AC_ARG_ENABLE(imap, +AC_HELP_STRING([--enable-imap],[Enable IMAP support]) +AC_HELP_STRING([--disable-imap],[Disable IMAP support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_IMAP, 1, [to disable IMAP]) + AC_SUBST(CURL_DISABLE_IMAP, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + + +AC_MSG_CHECKING([whether to support smtp]) +AC_ARG_ENABLE(smtp, +AC_HELP_STRING([--enable-smtp],[Enable SMTP support]) +AC_HELP_STRING([--disable-smtp],[Disable SMTP support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_SMTP, 1, [to disable SMTP]) + AC_SUBST(CURL_DISABLE_SMTP, [1]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + + +dnl ********************************************************************** +dnl Check for built-in manual +dnl ********************************************************************** + +AC_MSG_CHECKING([whether to provide built-in manual]) +AC_ARG_ENABLE(manual, +AC_HELP_STRING([--enable-manual],[Enable built-in manual]) +AC_HELP_STRING([--disable-manual],[Disable built-in manual]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + ;; + *) AC_MSG_RESULT(yes) + USE_MANUAL="1" + ;; + esac ], + AC_MSG_RESULT(yes) + USE_MANUAL="1" +) +dnl The actual use of the USE_MANUAL variable is done much later in this +dnl script to allow other actions to disable it as well. + +dnl ********************************************************************** +dnl Checks for libraries. +dnl ********************************************************************** + +CURL_CHECK_LIB_XNET + +dnl gethostbyname without lib or in the nsl lib? +AC_CHECK_FUNC(gethostbyname, + [HAVE_GETHOSTBYNAME="1" + ], + [ AC_CHECK_LIB(nsl, gethostbyname, + [HAVE_GETHOSTBYNAME="1" + LIBS="$LIBS -lnsl" + ]) + ]) + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + dnl gethostbyname in the socket lib? + AC_CHECK_LIB(socket, gethostbyname, + [HAVE_GETHOSTBYNAME="1" + LIBS="$LIBS -lsocket" + ]) +fi + +dnl At least one system has been identified to require BOTH nsl and socket +dnl libs at the same time to link properly. +if test "$HAVE_GETHOSTBYNAME" != "1" +then + AC_MSG_CHECKING([for gethostbyname with both nsl and socket libs]) + my_ac_save_LIBS=$LIBS + LIBS="-lnsl -lsocket $LIBS" + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + ]],[[ + gethostbyname(); + ]]) + ],[ + AC_MSG_RESULT([yes]) + HAVE_GETHOSTBYNAME="1" + ],[ + AC_MSG_RESULT([no]) + LIBS=$my_ac_save_LIBS + ]) +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + dnl This is for winsock systems + if test "$ac_cv_header_windows_h" = "yes"; then + if test "$ac_cv_header_winsock_h" = "yes"; then + case $host in + *-*-mingw32ce*) + winsock_LIB="-lwinsock" + ;; + *) + winsock_LIB="-lwsock32" + ;; + esac + fi + if test "$ac_cv_header_winsock2_h" = "yes"; then + winsock_LIB="-lws2_32" + fi + if test ! -z "$winsock_LIB"; then + my_ac_save_LIBS=$LIBS + LIBS="$winsock_LIB $LIBS" + AC_MSG_CHECKING([for gethostbyname in $winsock_LIB]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#ifdef HAVE_WINDOWS_H +#ifndef 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 + ]],[[ + gethostbyname("www.dummysite.com"); + ]]) + ],[ + AC_MSG_RESULT([yes]) + HAVE_GETHOSTBYNAME="1" + ],[ + AC_MSG_RESULT([no]) + winsock_LIB="" + LIBS=$my_ac_save_LIBS + ]) + fi + fi +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + dnl This is for Minix 3.1 + AC_MSG_CHECKING([for gethostbyname for Minix 3]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +/* Older Minix versions may need here instead */ +#include + ]],[[ + gethostbyname("www.dummysite.com"); + ]]) + ],[ + AC_MSG_RESULT([yes]) + HAVE_GETHOSTBYNAME="1" + ],[ + AC_MSG_RESULT([no]) + ]) +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + dnl This is for eCos with a stubbed DNS implementation + AC_MSG_CHECKING([for gethostbyname for eCos]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +#include +#include + ]],[[ + gethostbyname("www.dummysite.com"); + ]]) + ],[ + AC_MSG_RESULT([yes]) + HAVE_GETHOSTBYNAME="1" + ],[ + AC_MSG_RESULT([no]) + ]) +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + dnl gethostbyname in the network lib - for Haiku OS + AC_CHECK_LIB(network, gethostbyname, + [HAVE_GETHOSTBYNAME="1" + LIBS="$LIBS -lnetwork" + ]) +fi + +if test "$HAVE_GETHOSTBYNAME" != "1" +then + dnl gethostbyname in the net lib - for BeOS + AC_CHECK_LIB(net, gethostbyname, + [HAVE_GETHOSTBYNAME="1" + LIBS="$LIBS -lnet" + ]) +fi + + +if test "$HAVE_GETHOSTBYNAME" != "1"; then + AC_MSG_ERROR([couldn't find libraries for gethostbyname()]) +fi + +dnl resolve lib? +AC_CHECK_FUNC(strcasecmp, , [ AC_CHECK_LIB(resolve, strcasecmp) ]) + +if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then + AC_CHECK_LIB(resolve, strcasecmp, + [LIBS="-lresolve $LIBS"], + , + -lnsl) +fi +ac_cv_func_strcasecmp="no" + +CURL_CHECK_LIBS_CONNECT + +dnl ********************************************************************** +dnl In case that function clock_gettime with monotonic timer is available, +dnl check for additional required libraries. +dnl ********************************************************************** +CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC + +dnl ********************************************************************** +dnl The preceding library checks are all potentially useful for test +dnl servers (for providing networking support). Save the list of required +dnl libraries at this point for use while linking those test servers. +dnl ********************************************************************** +TEST_SERVER_LIBS=$LIBS + +dnl ********************************************************************** +AC_MSG_CHECKING([whether to use libgcc]) +AC_ARG_ENABLE(libgcc, +AC_HELP_STRING([--enable-libgcc],[use libgcc when linking]), +[ case "$enableval" in + yes) + ALL_LIBS="$ALL_LIBS -lgcc" + AC_MSG_RESULT(yes) + ;; + *) AC_MSG_RESULT(no) + ;; + esac ], + AC_MSG_RESULT(no) +) + +dnl ********************************************************************** +dnl Check for LDAP +dnl ********************************************************************** + +LDAPLIBNAME="" +AC_ARG_WITH(ldap-lib, +AC_HELP_STRING([--with-ldap-lib=libname],[Specify name of ldap lib file]), + [LDAPLIBNAME="$withval"]) + +LBERLIBNAME="" +AC_ARG_WITH(lber-lib, +AC_HELP_STRING([--with-lber-lib=libname],[Specify name of lber lib file]), + [LBERLIBNAME="$withval"]) + +if test x$CURL_DISABLE_LDAP != x1 ; then + + CURL_CHECK_HEADER_LBER + CURL_CHECK_HEADER_LDAP + CURL_CHECK_HEADER_LDAPSSL + CURL_CHECK_HEADER_LDAP_SSL + + if test -z "$LDAPLIBNAME" ; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32*) + dnl Windows uses a single and unique OpenLDAP DLL name + LDAPLIBNAME="wldap32" + LBERLIBNAME="no" + ;; + esac + fi + + if test "$LDAPLIBNAME" ; then + AC_CHECK_LIB("$LDAPLIBNAME", ldap_init,, [ + AC_MSG_WARN(["$LDAPLIBNAME" is not an LDAP library: LDAP disabled]) + AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) + AC_SUBST(CURL_DISABLE_LDAP, [1])]) + AC_DEFINE(CURL_DISABLE_LDAPS, 1, [to disable LDAPS]) + AC_SUBST(CURL_DISABLE_LDAPS, [1]) + else + dnl Try to find the right ldap libraries for this system + CURL_CHECK_LIBS_LDAP + case X-"$curl_cv_ldap_LIBS" in + X-unknown) + AC_MSG_WARN([Cannot find libraries for LDAP support: LDAP disabled]) + AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) + AC_SUBST(CURL_DISABLE_LDAP, [1]) + AC_DEFINE(CURL_DISABLE_LDAPS, 1, [to disable LDAPS]) + AC_SUBST(CURL_DISABLE_LDAPS, [1]) + ;; + esac + fi +fi + +if test x$CURL_DISABLE_LDAP != x1 ; then + + if test "$LBERLIBNAME" ; then + dnl If name is "no" then don't define this library at all + dnl (it's only needed if libldap.so's dependencies are broken). + if test "$LBERLIBNAME" != "no" ; then + AC_CHECK_LIB("$LBERLIBNAME", ber_free,, [ + AC_MSG_WARN(["$LBERLIBNAME" is not an LBER library: LDAP disabled]) + AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) + AC_SUBST(CURL_DISABLE_LDAP, [1])]) + AC_DEFINE(CURL_DISABLE_LDAPS, 1, [to disable LDAPS]) + AC_SUBST(CURL_DISABLE_LDAPS, [1]) + fi + fi +fi + +if test x$CURL_DISABLE_LDAP != x1 ; then + AC_CHECK_FUNCS([ldap_url_parse]) + + if test "$LDAPLIBNAME" = "wldap32"; then + curl_ldap_msg="enabled (winldap)" + AC_DEFINE(CURL_LDAP_WIN, 1, [Use W$ LDAP implementation]) + case $host in + *-*-cygwin* | *-*-pw32*) + AC_DEFINE(CURL_LDAP_HYBRID, 1, [W$ LDAP with non-W$ compiler]) + ;; + esac + else + curl_ldap_msg="enabled (OpenLDAP)" + fi +fi + +dnl ********************************************************************** +dnl Checks for IPv6 +dnl ********************************************************************** + +AC_MSG_CHECKING([whether to enable ipv6]) +AC_ARG_ENABLE(ipv6, +AC_HELP_STRING([--enable-ipv6],[Enable ipv6 (with ipv4) support]) +AC_HELP_STRING([--disable-ipv6],[Disable ipv6 support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + ipv6=no + ;; + *) AC_MSG_RESULT(yes) + ipv6=yes + ;; + esac ], + + AC_TRY_RUN([ /* is AF_INET6 available? */ +#include +#include +main() +{ + if (socket(AF_INET6, SOCK_STREAM, 0) < 0) + exit(1); + else + exit(0); +} +], + AC_MSG_RESULT(yes) + ipv6=yes, + AC_MSG_RESULT(no) + ipv6=no, + AC_MSG_RESULT(no) + ipv6=no +)) + +if test "$ipv6" = "yes"; then + curl_ipv6_msg="enabled" +fi + +# Check if struct sockaddr_in6 have sin6_scope_id member +if test "$ipv6" = yes; then + AC_MSG_CHECKING([if struct sockaddr_in6 has sin6_scope_id member]) + AC_TRY_COMPILE([ +#include +#include ] , + struct sockaddr_in6 s; s.sin6_scope_id = 0; , have_sin6_scope_id=yes) + if test "$have_sin6_scope_id" = yes; then + AC_MSG_RESULT([yes]) + AC_DEFINE(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID, 1, [Define to 1 if struct sockaddr_in6 has the sin6_scope_id member]) + else + AC_MSG_RESULT([no]) + fi +fi + +dnl ********************************************************************** +dnl Check if the operating system allows programs to write to their own argv[] +dnl ********************************************************************** + +AC_MSG_CHECKING([if argv can be written to]) +AC_CACHE_VAL(curl_cv_writable_argv, [ +AC_RUN_IFELSE([[ +int main(int argc, char ** argv) { + argv[0][0] = ' '; + return (argv[0][0] == ' ')?0:1; +} + ]], + curl_cv_writable_argv=yes, + curl_cv_writable_argv=no, + curl_cv_writable_argv=cross) +]) +case $curl_cv_writable_argv in +yes) + AC_DEFINE(HAVE_WRITABLE_ARGV, 1, [Define this symbol if your OS supports changing the contents of argv]) + AC_MSG_RESULT(yes) + ;; +no) + AC_MSG_RESULT(no) + ;; +*) + AC_MSG_RESULT(no) + AC_MSG_WARN([the previous check could not be made default was used]) + ;; +esac + +dnl ********************************************************************** +dnl Check for the presence of Kerberos4 libraries and headers +dnl ********************************************************************** + +AC_ARG_WITH(krb4-includes, +AC_HELP_STRING([--with-krb4-includes=DIR], + [Specify location of kerberos4 headers]),[ + CPPFLAGS="$CPPFLAGS -I$withval" + KRB4INC="$withval" + want_krb4=yes + ]) + +AC_ARG_WITH(krb4-libs, +AC_HELP_STRING([--with-krb4-libs=DIR],[Specify location of kerberos4 libs]),[ + LDFLAGS="$LDFLAGS -L$withval" + KRB4LIB="$withval" + want_krb4=yes + ]) + + +OPT_KRB4=off +AC_ARG_WITH(krb4,dnl +AC_HELP_STRING([--with-krb4=DIR],[where to look for Kerberos4]),[ + OPT_KRB4="$withval" + if test X"$OPT_KRB4" != Xno; then + want_krb4="yes" + if test X"$OPT_KRB4" != Xyes; then + LDFLAGS="$LDFLAGS -L$OPT_KRB4/lib$libsuff" + KRB4LIB="$OPT_KRB4/lib$libsuff" + CPPFLAGS="$CPPFLAGS -I$OPT_KRB4/include" + KRB4INC="$OPT_KRB4/include" + fi + fi + ]) + +AC_MSG_CHECKING([if Kerberos4 support is requested]) + +if test "$want_krb4" = yes +then + if test "$ipv6" = "yes"; then + echo krb4 is not compatible with IPv6 + exit 1 + fi + AC_MSG_RESULT(yes) + + dnl Check for & handle argument to --with-krb4 + + AC_MSG_CHECKING(where to look for Kerberos4) + if test X"$OPT_KRB4" = Xyes + then + AC_MSG_RESULT([defaults]) + else + AC_MSG_RESULT([libs in $KRB4LIB, headers in $KRB4INC]) + fi + + dnl Check for DES library + AC_CHECK_LIB(des, des_pcbc_encrypt, + [ + AC_CHECK_HEADERS(des.h) + + dnl resolv lib? + AC_CHECK_FUNC(res_search, , [AC_CHECK_LIB(resolv, res_search)]) + + dnl Check for the Kerberos4 library + AC_CHECK_LIB(krb, krb_net_read, + [ + dnl Check for header files + AC_CHECK_HEADERS(krb.h) + + dnl we found the required libraries, add to LIBS + LIBS="-lkrb -lcom_err -ldes $LIBS" + + dnl Check for function krb_get_our_ip_for_realm + dnl this is needed for NAT networks + AC_CHECK_FUNCS(krb_get_our_ip_for_realm) + + dnl add define KRB4 + AC_DEFINE(HAVE_KRB4, 1, + [if you have the Kerberos4 libraries (including -ldes)]) + + dnl substitute it too! + KRB4_ENABLED=1 + AC_SUBST(KRB4_ENABLED) + + curl_krb4_msg="enabled" + + dnl the krb4 stuff needs a strlcpy() + AC_CHECK_FUNCS(strlcpy) + + ]) + ]) +else + AC_MSG_RESULT(no) +fi + +dnl ********************************************************************** +dnl Check for FBopenssl(SPNEGO) libraries +dnl ********************************************************************** + +AC_ARG_WITH(spnego, + AC_HELP_STRING([--with-spnego=DIR], + [Specify location of SPNEGO library fbopenssl]), [ + SPNEGO_ROOT="$withval" + if test x"$SPNEGO_ROOT" != xno; then + want_spnego="yes" + fi +]) + +AC_MSG_CHECKING([if SPNEGO support is requested]) +if test x"$want_spnego" = xyes; then + + if test X"$SPNEGO_ROOT" = Xyes; then + AC_MSG_ERROR([FBOpenSSL libs and/or directories were not found where specified!]) + AC_MSG_RESULT(no) + else + if test -z "$SPNEGO_LIB_DIR"; then + LDFLAGS="$LDFLAGS -L$SPNEGO_ROOT -lfbopenssl" + else + LDFLAGS="$LDFLAGS $SPNEGO_LIB_DIR" + fi + + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_SPNEGO, 1, + [Define this if you have the SPNEGO library fbopenssl]) + curl_spnego_msg="enabled" + fi +else + AC_MSG_RESULT(no) +fi + +dnl ********************************************************************** +dnl Check for GSS-API libraries +dnl ********************************************************************** + +dnl check for gss stuff in the /usr as default + +GSSAPI_ROOT="/usr" +AC_ARG_WITH(gssapi-includes, + AC_HELP_STRING([--with-gssapi-includes=DIR], + [Specify location of GSSAPI header]), + [ GSSAPI_INCS="-I$withval" + want_gss="yes" ] +) + +AC_ARG_WITH(gssapi-libs, + AC_HELP_STRING([--with-gssapi-libs=DIR], + [Specify location of GSSAPI libs]), + [ GSSAPI_LIB_DIR="-L$withval" + want_gss="yes" ] +) + +AC_ARG_WITH(gssapi, + AC_HELP_STRING([--with-gssapi=DIR], + [Where to look for GSSAPI]), [ + GSSAPI_ROOT="$withval" + if test x"$GSSAPI_ROOT" != xno; then + want_gss="yes" + if test x"$GSSAPI_ROOT" = xyes; then + dnl if yes, then use default root + GSSAPI_ROOT="/usr" + fi + fi +]) + +save_CPPFLAGS="$CPPFLAGS" +AC_MSG_CHECKING([if GSSAPI support is requested]) +if test x"$want_gss" = xyes; then + AC_MSG_RESULT(yes) + + if test -z "$GSSAPI_INCS"; then + if test -f "$GSSAPI_ROOT/bin/krb5-config"; then + GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi` + elif test "$GSSAPI_ROOT" != "yes"; then + GSSAPI_INCS="-I$GSSAPI_ROOT/include" + fi + fi + + CPPFLAGS="$CPPFLAGS $GSSAPI_INCS" + + AC_CHECK_HEADER(gss.h, + [ + dnl found in the given dirs + AC_DEFINE(HAVE_GSSGNU, 1, [if you have the GNU gssapi libraries]) + gnu_gss=yes + ], + [ + dnl not found, check Heimdal or MIT + AC_CHECK_HEADERS( + [gssapi/gssapi.h gssapi/gssapi_generic.h gssapi/gssapi_krb5.h], + [], + [not_mit=1]) + if test "x$not_mit" = "x1"; then + dnl MIT not found, check for Heimdal + AC_CHECK_HEADER(gssapi.h, + [ + dnl found + AC_DEFINE(HAVE_GSSHEIMDAL, 1, [if you have the Heimdal gssapi libraries]) + ], + [ + dnl no header found, disabling GSS + want_gss=no + AC_MSG_WARN(disabling GSSAPI since no header files was found) + ] + ) + else + dnl MIT found + AC_DEFINE(HAVE_GSSMIT, 1, [if you have the MIT gssapi libraries]) + dnl check if we have a really old MIT kerberos (<= 1.2) + AC_MSG_CHECKING([if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE]) + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#include +#include +#include + ]],[[ + gss_import_name( + (OM_uint32 *)0, + (gss_buffer_t)0, + GSS_C_NT_HOSTBASED_SERVICE, + (gss_name_t *)0); + ]]) + ],[ + AC_MSG_RESULT([yes]) + ],[ + AC_MSG_RESULT([no]) + AC_DEFINE(HAVE_OLD_GSSMIT, 1, + [if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE]) + ]) + fi + ] + ) +else + AC_MSG_RESULT(no) +fi +if test x"$want_gss" = xyes; then + AC_DEFINE(HAVE_GSSAPI, 1, [if you have the gssapi libraries]) + + curl_gss_msg="enabled (MIT/Heimdal)" + + if test -n "$gnu_gss"; then + curl_gss_msg="enabled (GNU GSS)" + LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR" + LIBS="$LIBS -lgss" + elif test -z "$GSSAPI_LIB_DIR"; then + case $host in + *-*-darwin*) + LIBS="$LIBS -lgssapi_krb5 -lresolv" + ;; + *) + if test -f "$GSSAPI_ROOT/bin/krb5-config"; then + dnl krb5-config doesn't have --libs-only-L or similar, put everything + dnl into LIBS + gss_libs=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi` + LIBS="$LIBS $gss_libs" + elif test "$GSSAPI_ROOT" != "yes"; then + LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff" + LIBS="$LIBS -lgssapi" + else + LIBS="$LIBS -lgssapi" + fi + ;; + esac + else + LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR" + LIBS="$LIBS -lgssapi" + fi +else + CPPFLAGS="$save_CPPFLAGS" +fi + +dnl ********************************************************************** +dnl Check for the presence of SSL libraries and headers +dnl ********************************************************************** + +dnl Default to compiler & linker defaults for SSL files & libraries. +OPT_SSL=off +dnl Default to no CA bundle +ca="no" +AC_ARG_WITH(ssl,dnl +AC_HELP_STRING([--with-ssl=PATH],[Where to look for OpenSSL, PATH points to the SSL installation (default: /usr/local/ssl); when possible, set the PKG_CONFIG_PATH environment variable instead of using this option]) +AC_HELP_STRING([--without-ssl], [disable OpenSSL]), + OPT_SSL=$withval) + +if test X"$OPT_SSL" != Xno; then + dnl backup the pre-ssl variables + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" + + case "$OPT_SSL" in + yes) + dnl --with-ssl (without path) used + if test x$cross_compiling != xyes; then + dnl only do pkg-config magic when not cross-compiling + PKGTEST="yes" + fi + PREFIX_OPENSSL=/usr/local/ssl + LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff" + ;; + off) + dnl no --with-ssl option given, just check default places + if test x$cross_compiling != xyes; then + dnl only do pkg-config magic when not cross-compiling + PKGTEST="yes" + fi + PREFIX_OPENSSL= + ;; + *) + dnl check the given --with-ssl spot + PKGTEST="no" + PREFIX_OPENSSL=$OPT_SSL + + dnl Try pkg-config even when cross-compiling. Since we + dnl specify PKG_CONFIG_LIBDIR we're only looking where + dnl the user told us to look + OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig" + AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$OPENSSL_PCDIR"]) + if test -e "$OPENSSL_PCDIR/openssl.pc"; then + PKGTEST="yes" + fi + + dnl in case pkg-config comes up empty, use what we got + dnl via --with-ssl + LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff" + if test "$PREFIX_OPENSSL" != "/usr" ; then + SSL_LDFLAGS="-L$LIB_OPENSSL" + SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include" + fi + SSL_CPPFLAGS="$SSL_CPPFLAGS -I$PREFIX_OPENSSL/include/openssl" + ;; + esac + + if test "$PKGTEST" = "yes"; then + + CURL_CHECK_PKGCONFIG(openssl, [$OPENSSL_PCDIR]) + + if test "$PKGCONFIG" != "no" ; then + SSL_LIBS=`CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) dnl + $PKGCONFIG --libs-only-l openssl 2>/dev/null` + + SSL_LDFLAGS=`CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) dnl + $PKGCONFIG --libs-only-L openssl 2>/dev/null` + + SSL_CPPFLAGS=`CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) dnl + $PKGCONFIG --cflags-only-I openssl 2>/dev/null` + + AC_MSG_NOTICE([pkg-config: SSL_LIBS: "$SSL_LIBS"]) + AC_MSG_NOTICE([pkg-config: SSL_LDFLAGS: "$SSL_LDFLAGS"]) + AC_MSG_NOTICE([pkg-config: SSL_CPPFLAGS: "$SSL_CPPFLAGS"]) + + LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/-L//g'` + + dnl use the values pkg-config reported. This is here + dnl instead of below with CPPFLAGS and LDFLAGS because we only + dnl learn about this via pkg-config. If we only have + dnl the argument to --with-ssl we don't know what + dnl additional libs may be necessary. Hope that we + dnl don't need any. + LIBS="$LIBS $SSL_LIBS" + fi + fi + + dnl finally, set flags to use SSL + CPPFLAGS="$CPPFLAGS $SSL_CPPFLAGS" + LDFLAGS="$LDFLAGS $SSL_LDFLAGS" + + dnl This is for Msys/Mingw + case $host in + *-*-msys* | *-*-mingw*) + AC_MSG_CHECKING([for gdi32]) + my_ac_save_LIBS=$LIBS + LIBS="-lgdi32 $LIBS" + AC_TRY_LINK([#include + #include ], + [GdiFlush();], + [ dnl worked! + AC_MSG_RESULT([yes])], + [ dnl failed, restore LIBS + LIBS=$my_ac_save_LIBS + AC_MSG_RESULT(no)] + ) + ;; + esac + + AC_CHECK_LIB(crypto, CRYPTO_lock,[ + HAVECRYPTO="yes" + LIBS="-lcrypto $LIBS" + ],[ + LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL" + CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include" + AC_CHECK_LIB(crypto, CRYPTO_add_lock,[ + HAVECRYPTO="yes" + LIBS="-lcrypto $LIBS"], [ + LDFLAGS="$CLEANLDFLAGS" + CPPFLAGS="$CLEANCPPFLAGS" + LIBS="$CLEANLIBS" + ]) + ]) + + + if test X"$HAVECRYPTO" = X"yes"; then + dnl This is only reasonable to do if crypto actually is there: check for + dnl SSL libs NOTE: it is important to do this AFTER the crypto lib + + AC_CHECK_LIB(ssl, SSL_connect) + + if test "$ac_cv_lib_ssl_SSL_connect" != yes; then + dnl we didn't find the SSL lib, try the RSAglue/rsaref stuff + AC_MSG_CHECKING(for ssl with RSAglue/rsaref libs in use); + OLIBS=$LIBS + LIBS="$LIBS -lRSAglue -lrsaref" + AC_CHECK_LIB(ssl, SSL_connect) + if test "$ac_cv_lib_ssl_SSL_connect" != yes; then + dnl still no SSL_connect + AC_MSG_RESULT(no) + LIBS=$OLIBS + else + AC_MSG_RESULT(yes) + fi + + else + + dnl Have the libraries--check for SSLeay/OpenSSL headers + AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \ + openssl/pem.h openssl/ssl.h openssl/err.h, + curl_ssl_msg="enabled (OpenSSL)" + OPENSSL_ENABLED=1 + AC_DEFINE(USE_OPENSSL, 1, [if OpenSSL is in use])) + + if test $ac_cv_header_openssl_x509_h = no; then + dnl we don't use the "action" part of the AC_CHECK_HEADERS macro + dnl since 'err.h' might in fact find a krb4 header with the same + dnl name + AC_CHECK_HEADERS(x509.h rsa.h crypto.h pem.h ssl.h err.h) + + if test $ac_cv_header_x509_h = yes && + test $ac_cv_header_crypto_h = yes && + test $ac_cv_header_ssl_h = yes; then + dnl three matches + curl_ssl_msg="enabled (OpenSSL)" + OPENSSL_ENABLED=1 + fi + fi + fi + + if test X"$OPENSSL_ENABLED" = X"1"; then + AC_DEFINE(USE_SSLEAY, 1, [if SSL is enabled]) + + dnl is there a pkcs12.h header present? + AC_CHECK_HEADERS(openssl/pkcs12.h) + else + LIBS="$CLEANLIBS" + fi + dnl USE_SSLEAY is the historical name for what configure calls + dnl OPENSSL_ENABLED; the names should really be unified + USE_SSLEAY="$OPENSSL_ENABLED" + AC_SUBST(USE_SSLEAY) + + if test X"$OPT_SSL" != Xoff && + test "$OPENSSL_ENABLED" != "1"; then + AC_MSG_ERROR([OpenSSL libs and/or directories were not found where specified!]) + fi + fi + + if test X"$OPENSSL_ENABLED" = X"1"; then + dnl If the ENGINE library seems to be around, check for the OpenSSL engine + dnl stuff, it is kind of "separated" from the main SSL check + AC_CHECK_FUNC(ENGINE_init, + [ + AC_CHECK_HEADERS(openssl/engine.h) + AC_CHECK_FUNCS( ENGINE_load_builtin_engines ) + ]) + + dnl these can only exist if openssl exists + dnl yassl doesn't have SSL_get_shutdown + + AC_CHECK_FUNCS( RAND_status \ + RAND_screen \ + RAND_egd \ + ENGINE_cleanup \ + CRYPTO_cleanup_all_ex_data \ + SSL_get_shutdown ) + + dnl Make an attempt to detect if this is actually yassl's headers and + dnl OpenSSL emulation layer. We still leave everything else believing + dnl and acting like OpenSSL. + + AC_MSG_CHECKING([for yaSSL using OpenSSL compatibility mode]) + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#include + ]],[[ +#if defined(YASSL_VERSION) && defined(OPENSSL_VERSION_NUMBER) + int dummy = SSL_ERROR_NONE; +#else + Not the yaSSL OpenSSL compatibility header. +#endif + ]]) + ],[ + AC_MSG_RESULT([yes]) + AC_DEFINE_UNQUOTED(USE_YASSLEMUL, 1, + [Define to 1 if using yaSSL in OpenSSL compatibility mode.]) + curl_ssl_msg="enabled (OpenSSL emulation by yaSSL)" + ],[ + AC_MSG_RESULT([no]) + ]) + fi + + if test "$OPENSSL_ENABLED" = "1"; then + if test -n "$LIB_OPENSSL"; then + dnl when the ssl shared libs were found in a path that the run-time + dnl linker doesn't search through, we need to add it to LD_LIBRARY_PATH + dnl to prevent further configure tests to fail due to this + + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_OPENSSL" + export LD_LIBRARY_PATH + AC_MSG_NOTICE([Added $LIB_OPENSSL to LD_LIBRARY_PATH]) + fi + fi + +fi + +dnl ********************************************************************** +dnl Check for the presence of ZLIB libraries and headers +dnl ********************************************************************** + +dnl Check for & handle argument to --with-zlib. + +_cppflags=$CPPFLAGS +_ldflags=$LDFLAGS +AC_ARG_WITH(zlib, +AC_HELP_STRING([--with-zlib=PATH],[search for zlib in PATH]) +AC_HELP_STRING([--without-zlib],[disable use of zlib]), + [OPT_ZLIB="$withval"]) + +if test "$OPT_ZLIB" = "no" ; then + AC_MSG_WARN([zlib disabled]) +else + if test "$OPT_ZLIB" = "yes" ; then + OPT_ZLIB="" + fi + + if test -z "$OPT_ZLIB" ; then + dnl check for the lib first without setting any new path, since many + dnl people have it in the default path + + AC_CHECK_LIB(z, inflateEnd, + dnl libz found, set the variable + [HAVE_LIBZ="1"], + dnl if no lib found, try /usr/local + [OPT_ZLIB="/usr/local"]) + + fi + + dnl Add a nonempty path to the compiler flags + if test -n "$OPT_ZLIB"; then + CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include" + LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff" + fi + + AC_CHECK_HEADER(zlib.h, + [ + dnl zlib.h was found + HAVE_ZLIB_H="1" + dnl if the lib wasn't found already, try again with the new paths + if test "$HAVE_LIBZ" != "1"; then + AC_CHECK_LIB(z, gzread, + [ + dnl the lib was found! + HAVE_LIBZ="1" + ], + [ CPPFLAGS=$_cppflags + LDFLAGS=$_ldflags]) + fi + ], + [ + dnl zlib.h was not found, restore the flags + CPPFLAGS=$_cppflags + LDFLAGS=$_ldflags] + ) + + if test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" != "1" + then + AC_MSG_WARN([configure found only the libz lib, not the header file!]) + HAVE_LIBZ="" + elif test "$HAVE_LIBZ" != "1" && test "$HAVE_ZLIB_H" = "1" + then + AC_MSG_WARN([configure found only the libz header file, not the lib!]) + elif test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" = "1" + then + dnl both header and lib were found! + AC_SUBST(HAVE_LIBZ) + AC_DEFINE(HAVE_ZLIB_H, 1, [if you have the zlib.h header file]) + AC_DEFINE(HAVE_LIBZ, 1, [if zlib is available]) + + CURL_LIBS="$CURL_LIBS -lz" + LIBS="$LIBS -lz" + + dnl replace 'HAVE_LIBZ' in the automake makefile.ams + AMFIXLIB="1" + AC_MSG_NOTICE([found both libz and libz.h header]) + curl_zlib_msg="enabled" + fi +fi + +dnl set variable for use in automakefile(s) +AM_CONDITIONAL(HAVE_LIBZ, test x"$AMFIXLIB" = x1) + +dnl ********************************************************************** +dnl Check for the random seed preferences +dnl ********************************************************************** + +if test X"$OPENSSL_ENABLED" = X"1"; then + AC_ARG_WITH(egd-socket, + AC_HELP_STRING([--with-egd-socket=FILE], + [Entropy Gathering Daemon socket pathname]), + [ EGD_SOCKET="$withval" ] + ) + if test -n "$EGD_SOCKET" ; then + AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET", + [your Entropy Gathering Daemon socket pathname] ) + fi + + dnl Check for user-specified random device + AC_ARG_WITH(random, + AC_HELP_STRING([--with-random=FILE], + [read randomness from FILE (default=/dev/urandom)]), + [ RANDOM_FILE="$withval" ], + [ + dnl Check for random device + AC_CHECK_FILE("/dev/urandom", [ RANDOM_FILE="/dev/urandom"] ) + ] + ) + if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then + AC_SUBST(RANDOM_FILE) + AC_DEFINE_UNQUOTED(RANDOM_FILE, "$RANDOM_FILE", + [a suitable file to read random data from]) + fi +fi + +dnl ---------------------------------------------------- +dnl check for GnuTLS +dnl ---------------------------------------------------- + +dnl Default to compiler & linker defaults for GnuTLS files & libraries. +OPT_GNUTLS=no + +AC_ARG_WITH(gnutls,dnl +AC_HELP_STRING([--with-gnutls=PATH],[where to look for GnuTLS, PATH points to the installation root (default: /usr/local/)]) +AC_HELP_STRING([--without-gnutls], [disable GnuTLS detection]), + OPT_GNUTLS=$withval) + +if test "$OPENSSL_ENABLED" != "1"; then + + if test X"$OPT_GNUTLS" != Xno; then + + addld="" + if test "x$OPT_GNUTLS" = "xyes"; then + dnl this is with no partiular path given + CURL_CHECK_PKGCONFIG(gnutls) + + if test "$PKGCONFIG" != "no" ; then + addlib=`$PKGCONFIG --libs-only-l gnutls` + addld=`$PKGCONFIG --libs-only-L gnutls` + addcflags=`$PKGCONFIG --cflags-only-I gnutls` + version=`$PKGCONFIG --modversion gnutls` + gtlslib=`echo $addld | $SED -e 's/-L//'` + else + dnl without pkg-config, we try libgnutls-config as that was how it + dnl used to be done + check=`libgnutls-config --version 2>/dev/null` + if test -n "$check"; then + addlib=`libgnutls-config --libs` + addcflags=`libgnutls-config --cflags` + version=`libgnutls-config --version` + gtlslib=`libgnutls-config --prefix`/lib$libsuff + fi + fi + else + dnl this is with a given path, first check if there's a libgnutls-config + dnl there and if not, make an educated guess + cfg=$OPT_GNUTLS/bin/libgnutls-config + check=`$cfg --version 2>/dev/null` + if test -n "$check"; then + addlib=`$cfg --libs` + addcflags=`$cfg --cflags` + version=`$cfg --version` + gtlslib=`$cfg --prefix`/lib$libsuff + else + dnl without pkg-config and libgnutls-config, we guess a lot! + addlib=-lgnutls + addld=-L$OPT_GNUTLS/lib$libsuff + addcflags=-I$OPT_GNUTLS/include + version="" # we just don't know + gtlslib=$OPT_GNUTLS/lib$libsuff + fi + fi + + if test -z "$version"; then + dnl lots of efforts, still no go + version="unknown" + fi + + if test -n "$addlib"; then + + CLEANLIBS="$LIBS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEADLDFLAGS="$LDFLAGS" + + LIBS="$LIBS $addlib" + LDFLAGS="$LDFLAGS $addld" + if test "$addcflags" != "-I/usr/include"; then + CPPFLAGS="$CPPFLAGS $addcflags" + fi + + AC_CHECK_LIB(gnutls, gnutls_check_version, + [ + AC_DEFINE(USE_GNUTLS, 1, [if GnuTLS is enabled]) + AC_SUBST(USE_GNUTLS, [1]) + GNUTLS_ENABLED=1 + USE_GNUTLS="yes" + curl_ssl_msg="enabled (GnuTLS)" + ], + [ + LIBS="$CLEANLIBS" + CPPFLAGS="$CLEANCPPFLAGS" + ]) + + if test "x$USE_GNUTLS" = "xyes"; then + AC_MSG_NOTICE([detected GnuTLS version $version]) + + if test -n "$gtlslib"; then + dnl when shared libs were found in a path that the run-time + dnl linker doesn't search through, we need to add it to + dnl LD_LIBRARY_PATH to prevent further configure tests to fail + dnl due to this + + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlslib" + export LD_LIBRARY_PATH + AC_MSG_NOTICE([Added $gtlslib to LD_LIBRARY_PATH]) + fi + fi + + fi + + fi dnl GNUTLS not disabled + +fi dnl OPENSSL != 1 + +dnl ---------------------------------------------------- +dnl NSS. Only check if GnuTLS and OpenSSL are not enabled +dnl ---------------------------------------------------- + +dnl Default to compiler & linker defaults for NSS files & libraries. +OPT_NSS=no + +AC_ARG_WITH(nss,dnl +AC_HELP_STRING([--with-nss=PATH],[where to look for NSS, PATH points to the installation root (default: /usr/local/)]) +AC_HELP_STRING([--without-nss], [disable NSS detection]), + OPT_NSS=$withval) + +if test "$OPENSSL_ENABLED" != "1" -a "$GNUTLS_ENABLED" != "1"; then + + if test X"$OPT_NSS" != Xno; then + if test "x$OPT_NSS" = "xyes"; then + + CURL_CHECK_PKGCONFIG(nss) + + if test "$PKGCONFIG" != "no" ; then + addlib=`$PKGCONFIG --libs nss` + addcflags=`$PKGCONFIG --cflags nss` + version=`$PKGCONFIG --modversion nss` + nssprefix=`$PKGCONFIG --variable=prefix nss` + else + dnl Without pkg-config, we check for nss-config + + check=`nss-config --version 2>/dev/null` + if test -n "$check"; then + addlib=`nss-config --libs` + addcflags=`nss-config --cflags` + version=`nss-config --version` + nssprefix=`nss-config --prefix` + else + addlib="-lnss3" + addcflags="" + version="unknown" + fi + fi + else + # Without pkg-config, we'll kludge in some defaults + addlib="-L$OPT_NSS/lib -lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl" + addcflags="-I$OPT_NSS/include" + version="unknown" + nssprefix=$OPT_NSS + fi + + dnl Check for functionPK11_CreateGenericObject + dnl this is needed for using the PEM PKCS#11 module + AC_CHECK_LIB(nss3, PK11_CreateGenericObject, + [ + AC_DEFINE(HAVE_PK11_CREATEGENERICOBJECT, 1, [if you have the function PK11_CreateGenericObject]) + AC_SUBST(HAVE_PK11_CREATEGENERICOBJECT, [1]) + ]) + if test -n "$addlib"; then + + CLEANLIBS="$LIBS" + CLEANCPPFLAGS="$CPPFLAGS" + + LIBS="$LIBS $addlib" + if test "$addcflags" != "-I/usr/include"; then + CPPFLAGS="$CPPFLAGS $addcflags" + fi + + AC_CHECK_LIB(nss3, NSS_Initialize, + [ + AC_DEFINE(USE_NSS, 1, [if NSS is enabled]) + AC_SUBST(USE_NSS, [1]) + USE_NSS="yes" + NSS_ENABLED=1 + curl_ssl_msg="enabled (NSS)" + ], + [ + LIBS="$CLEANLIBS" + CPPFLAGS="$CLEANCPPFLAGS" + ]) + + if test "x$USE_NSS" = "xyes"; then + AC_MSG_NOTICE([detected NSS version $version]) + + dnl when shared libs were found in a path that the run-time + dnl linker doesn't search through, we need to add it to + dnl LD_LIBRARY_PATH to prevent further configure tests to fail + dnl due to this + + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$nssprefix/lib$libsuff" + export LD_LIBRARY_PATH + AC_MSG_NOTICE([Added $nssprefix/lib$libsuff to LD_LIBRARY_PATH]) + fi + + fi + + fi dnl NSS not disabled + +fi dnl OPENSSL != 1 -a GNUTLS_ENABLED != 1 + +if test "x$OPENSSL_ENABLED$GNUTLS_ENABLED$NSS_ENABLED" = "x"; then + AC_MSG_WARN([SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.]) + AC_MSG_WARN([Use --with-ssl, --with-gnutls or --with-nss to address this.]) +else + # SSL is enabled, genericly + AC_SUBST(SSL_ENABLED) + SSL_ENABLED="1" +fi + +dnl ********************************************************************** +dnl Check for the CA bundle +dnl ********************************************************************** + +CURL_CHECK_CA_BUNDLE + +dnl ********************************************************************** +dnl Check for the presence of LIBSSH2 libraries and headers +dnl ********************************************************************** + +dnl Default to compiler & linker defaults for LIBSSH2 files & libraries. +OPT_LIBSSH2=off +AC_ARG_WITH(libssh2,dnl +AC_HELP_STRING([--with-libssh2=PATH],[Where to look for libssh2, PATH points to the LIBSSH2 installation (default: /usr/local/lib); when possible, set the PKG_CONFIG_PATH environment variable instead of using this option]) +AC_HELP_STRING([--without-libssh2], [disable LIBSSH2]), + OPT_LIBSSH2=$withval) + +if test X"$OPT_LIBSSH2" != Xno; then + dnl backup the pre-libssh2 variables + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" + + case "$OPT_LIBSSH2" in + yes) + dnl --with-libssh2 (without path) used + CURL_CHECK_PKGCONFIG(libssh2) + + if test "$PKGCONFIG" != "no" ; then + LIB_SSH2=`$PKGCONFIG --libs-only-l libssh2` + LD_SSH2=`$PKGCONFIG --libs-only-L libssh2` + CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2` + version=`$PKGCONFIG --modversion libssh2` + DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/-L//'` + fi + + ;; + off) + dnl no --with-libssh2 option given, just check default places + ;; + *) + dnl use the given --with-libssh2 spot + PREFIX_SSH2=$OPT_LIBSSH2 + ;; + esac + + dnl if given with a prefix, we set -L and -I based on that + if test -n "$PREFIX_SSH2"; then + LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff + CPP_SSH2=-I${PREFIX_SSH2}/include + DIR_SSH2=${PREFIX_SSH2}/lib$libsuff + fi + + LDFLAGS="$LDFLAGS $LD_SSH2" + CPPFLAGS="$CPPFLAGS $CPP_SSH2" + LIBS="$LIBS $LIB_SSH2" + + AC_CHECK_LIB(ssh2, libssh2_channel_open_ex) + + AC_CHECK_HEADERS(libssh2.h, + curl_ssh_msg="enabled (libSSH2)" + LIBSSH2_ENABLED=1 + AC_DEFINE(USE_LIBSSH2, 1, [if libSSH2 is in use]) + AC_SUBST(USE_LIBSSH2, [1]) + ) + + if test X"$OPT_LIBSSH2" != Xoff && + test "$LIBSSH2_ENABLED" != "1"; then + AC_MSG_ERROR([libSSH2 libs and/or directories were not found where specified!]) + fi + + if test "$LIBSSH2_ENABLED" = "1"; then + if test -n "$DIR_SSH2"; then + dnl when the libssh2 shared libs were found in a path that the run-time + dnl linker doesn't search through, we need to add it to LD_LIBRARY_PATH + dnl to prevent further configure tests to fail due to this + + dnl libssh2_version is a post 1.0 addition + AC_CHECK_FUNCS( libssh2_version ) + + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DIR_SSH2" + export LD_LIBRARY_PATH + AC_MSG_NOTICE([Added $DIR_SSH2 to LD_LIBRARY_PATH]) + fi + else + dnl no libssh2, revert back to clean variables + LDFLAGS=$CLEANLDFLAGS + CPPFLAGS=$CLEANCPPFLAGS + LIBS=$CLEANLIBS + fi +fi + +dnl ********************************************************************** +dnl Check for the presence of IDN libraries and headers +dnl ********************************************************************** + +AC_MSG_CHECKING([whether to build with libidn]) +AC_ARG_WITH(libidn, +AC_HELP_STRING([--with-libidn=PATH],[Enable libidn usage]) +AC_HELP_STRING([--without-libidn],[Disable libidn usage]), + [LIBIDN="$withval"]) + +case "$LIBIDN" in + no) + AC_MSG_RESULT(no) + ;; + *) AC_MSG_RESULT(yes) + + idn="" + dnl if there is a given path, check that FIRST + if test -n "$LIBIDN"; then + if test "x$LIBIDN" != "xyes"; then + oldLDFLAGS=$LDFLAGS + oldCPPFLAGS=$CPPFLAGS + LDFLAGS="$LDFLAGS -L$LIBIDN/lib" + CPPFLAGS="$CPPFLAGS -I$LIBIDN/include" + idn="yes" + AC_CHECK_LIB(idn, idna_to_ascii_4i, , + idn="" + LDFLAGS=$oldLDFLAGS + CPPFLAGS=$oldCPPFLAGS) + fi + fi + + if test "x$idn" != "xyes"; then + dnl check with default paths + idn="yes" + AC_CHECK_LIB(idn, idna_to_ascii_lz, , + idn="") + fi + + if test "x$idn" = "xyes"; then + curl_idn_msg="enabled" + AC_SUBST(IDN_ENABLED, [1]) + dnl different versions of libidn have different setups of these: + AC_CHECK_FUNCS( idn_free idna_strerror tld_strerror) + AC_CHECK_HEADERS( idn-free.h tld.h ) + fi + + ;; +esac + + +dnl Let's hope this split URL remains working: +dnl http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/ \ +dnl genprogc/thread_quick_ref.htm + + +dnl ********************************************************************** +dnl Back to "normal" configuring +dnl ********************************************************************** + +dnl Checks for header files. +AC_HEADER_STDC + +CURL_CHECK_HEADER_MALLOC +CURL_CHECK_HEADER_MEMORY + +dnl Now check for the very most basic headers. Then we can use these +dnl ones as default-headers when checking for the rest! +AC_CHECK_HEADERS( + sys/types.h \ + sys/time.h \ + sys/select.h \ + sys/socket.h \ + sys/ioctl.h \ + sys/uio.h \ + assert.h \ + unistd.h \ + stdlib.h \ + limits.h \ + arpa/inet.h \ + net/if.h \ + netinet/in.h \ + sys/un.h \ + netinet/tcp.h \ + netdb.h \ + sys/sockio.h \ + sys/stat.h \ + sys/param.h \ + termios.h \ + termio.h \ + sgtty.h \ + fcntl.h \ + alloca.h \ + time.h \ + io.h \ + pwd.h \ + utime.h \ + sys/utime.h \ + sys/poll.h \ + poll.h \ + socket.h \ + sys/resource.h \ + libgen.h \ + locale.h \ + errno.h \ + stdbool.h \ + arpa/tftp.h \ + sys/filio.h \ + setjmp.h, +dnl to do if not found +[], +dnl to do if found +[], +dnl default includes +[ +#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 +] +) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +CURL_CHECK_VARIADIC_MACROS +AC_TYPE_SIZE_T +AC_HEADER_TIME +CURL_CHECK_STRUCT_TIMEVAL +CURL_VERIFY_RUNTIMELIBS + +AC_CHECK_SIZEOF(size_t) +AC_CHECK_SIZEOF(long) +AC_CHECK_SIZEOF(int) +AC_CHECK_SIZEOF(short) +CURL_CONFIGURE_LONG +AC_CHECK_SIZEOF(time_t) +AC_CHECK_SIZEOF(off_t) + +soname_bump=no +if test x"$ac_cv_native_windows" != "xyes" && + test $ac_cv_sizeof_off_t -ne $curl_sizeof_curl_off_t; then + AC_MSG_WARN([This libcurl built is probably not ABI compatible with previous]) + AC_MSG_WARN([builds! You MUST read lib/README.curl_off_t to figure it out.]) + soname_bump=yes +fi + + +AC_CHECK_TYPE(long long, + [AC_DEFINE(HAVE_LONGLONG, 1, + [Define to 1 if the compiler supports the 'long long' data type.])] + longlong="yes" +) + +if test "xyes" = "x$longlong"; then + AC_MSG_CHECKING([if numberLL works]) + AC_COMPILE_IFELSE([long long val = 1000LL;], + [AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])] + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no) + ) +fi + + +# check for ssize_t +AC_CHECK_TYPE(ssize_t, , + AC_DEFINE(ssize_t, int, [the signed version of size_t])) + +# check for bool type +AC_CHECK_TYPE([bool],[ + AC_DEFINE(HAVE_BOOL_T, 1, + [Define to 1 if bool is an available type.]) +], ,[ +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_STDBOOL_H +#include +#endif +]) + +CURL_CONFIGURE_CURL_SOCKLEN_T + +TYPE_IN_ADDR_T + +TYPE_SOCKADDR_STORAGE + +TYPE_SIG_ATOMIC_T + +AC_TYPE_SIGNAL + +CURL_CHECK_FUNC_SELECT + +CURL_CHECK_FUNC_RECV +CURL_CHECK_FUNC_RECVFROM +CURL_CHECK_FUNC_SEND +CURL_CHECK_MSG_NOSIGNAL + +CURL_CHECK_FUNC_ALARM +CURL_CHECK_FUNC_BASENAME +CURL_CHECK_FUNC_CLOSESOCKET +CURL_CHECK_FUNC_CLOSESOCKET_CAMEL +CURL_CHECK_FUNC_CONNECT +CURL_CHECK_FUNC_FCNTL +CURL_CHECK_FUNC_FDOPEN +CURL_CHECK_FUNC_FREEADDRINFO +CURL_CHECK_FUNC_FREEIFADDRS +CURL_CHECK_FUNC_FTRUNCATE +CURL_CHECK_FUNC_GETADDRINFO +CURL_CHECK_FUNC_GETHOSTBYADDR +CURL_CHECK_FUNC_GETHOSTBYADDR_R +CURL_CHECK_FUNC_GETHOSTBYNAME +CURL_CHECK_FUNC_GETHOSTBYNAME_R +CURL_CHECK_FUNC_GETHOSTNAME +CURL_CHECK_FUNC_GETIFADDRS +CURL_CHECK_FUNC_GETSERVBYPORT_R +CURL_CHECK_FUNC_GMTIME_R +CURL_CHECK_FUNC_INET_NTOA_R +CURL_CHECK_FUNC_INET_NTOP +CURL_CHECK_FUNC_INET_PTON +CURL_CHECK_FUNC_IOCTL +CURL_CHECK_FUNC_IOCTLSOCKET +CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL +CURL_CHECK_FUNC_LOCALTIME_R +CURL_CHECK_FUNC_MEMRCHR +CURL_CHECK_FUNC_POLL +CURL_CHECK_FUNC_SETSOCKOPT +CURL_CHECK_FUNC_SIGACTION +CURL_CHECK_FUNC_SIGINTERRUPT +CURL_CHECK_FUNC_SIGNAL +CURL_CHECK_FUNC_SIGSETJMP +CURL_CHECK_FUNC_SOCKET +CURL_CHECK_FUNC_STRCASECMP +CURL_CHECK_FUNC_STRCASESTR +CURL_CHECK_FUNC_STRCMPI +CURL_CHECK_FUNC_STRDUP +CURL_CHECK_FUNC_STRERROR_R +CURL_CHECK_FUNC_STRICMP +CURL_CHECK_FUNC_STRLCAT +CURL_CHECK_FUNC_STRNCASECMP +CURL_CHECK_FUNC_STRNCMPI +CURL_CHECK_FUNC_STRNICMP +CURL_CHECK_FUNC_STRSTR +CURL_CHECK_FUNC_STRTOK_R +CURL_CHECK_FUNC_STRTOLL +CURL_CHECK_FUNC_WRITEV + +dnl Checks for library functions. +dnl AC_PROG_GCC_TRADITIONAL + +dnl AC_FUNC_VPRINTF +case $host in + *msdosdjgpp) + ac_cv_func_pipe=no + skipcheck_pipe=yes + AC_MSG_NOTICE([skip check for pipe on msdosdjgpp]) + ;; +esac + +AC_CHECK_FUNCS([fork \ + geteuid \ + getpass_r \ + getppid \ + getprotobyname \ + getpwuid \ + getrlimit \ + gettimeofday \ + inet_addr \ + perror \ + pipe \ + setlocale \ + setmode \ + setrlimit \ + uname \ + utime +],[ +],[ + func="$ac_func" + eval skipcheck=\$skipcheck_$func + if test "x$skipcheck" != "xyes"; then + AC_MSG_CHECKING([deeper for $func]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + ]],[[ + $func (); + ]]) + ],[ + AC_MSG_RESULT([yes]) + eval "ac_cv_func_$func=yes" + AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$func]), [1], + [Define to 1 if you have the $func function.]) + ],[ + AC_MSG_RESULT([but still no]) + ]) + fi +]) + +dnl Check if the getnameinfo function is available +dnl and get the types of five of its arguments. +CURL_CHECK_FUNC_GETNAMEINFO + +if test "$ipv6" = "yes"; then + if test "$ac_cv_func_getaddrinfo" = "yes"; then + AC_DEFINE(ENABLE_IPV6, 1, [Define if you want to enable IPv6 support]) + IPV6_ENABLED=1 + AC_SUBST(IPV6_ENABLED) + fi + CURL_CHECK_NI_WITHSCOPEID +fi + +dnl ************************************************************ +dnl enable non-blocking communications +dnl +CURL_CHECK_OPTION_NONBLOCKING +CURL_CHECK_NONBLOCKING_SOCKET + +dnl ************************************************************ +dnl nroff tool stuff +dnl + +AC_PATH_PROG( PERL, perl, , + $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin ) +AC_SUBST(PERL) + +AC_PATH_PROGS( NROFF, gnroff nroff, , + $PATH:/usr/bin/:/usr/local/bin ) +AC_SUBST(NROFF) + +if test -n "$NROFF"; then + dnl only check for nroff options if an nroff command was found + + AC_MSG_CHECKING([how to use *nroff to get plain text from man pages]) + MANOPT="-man" + mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` + if test -z "$mancheck"; then + MANOPT="-mandoc" + mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` + if test -z "$mancheck"; then + MANOPT="" + AC_MSG_RESULT([failed]) + AC_MSG_WARN([found no *nroff option to get plaintext from man pages]) + else + AC_MSG_RESULT([$MANOPT]) + fi + else + AC_MSG_RESULT([$MANOPT]) + fi + AC_SUBST(MANOPT) +fi + +if test -z "$MANOPT" +then + dnl if no nroff tool was found, or no option that could convert man pages + dnl was found, then disable the built-in manual stuff + AC_MSG_WARN([disabling built-in manual]) + USE_MANUAL="no"; +fi + +dnl ************************************************************************* +dnl If the manual variable still is set, then we go with providing a built-in +dnl manual + +if test "$USE_MANUAL" = "1"; then + AC_DEFINE(USE_MANUAL, 1, [If you want to build curl with the built-in manual]) + curl_manual_msg="enabled" +fi + +dnl set variable for use in automakefile(s) +AM_CONDITIONAL(USE_MANUAL, test x"$USE_MANUAL" = x1) + +CURL_CHECK_LIB_ARES +AM_CONDITIONAL(USE_EMBEDDED_ARES, test x$embedded_ares = xyes) + +dnl ************************************************************ +dnl disable verbose text strings +dnl +AC_MSG_CHECKING([whether to enable verbose strings]) +AC_ARG_ENABLE(verbose, +AC_HELP_STRING([--enable-verbose],[Enable verbose strings]) +AC_HELP_STRING([--disable-verbose],[Disable verbose strings]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_VERBOSE_STRINGS, 1, [to disable verbose strings]) + curl_verbose_msg="no" + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + +dnl ************************************************************ +dnl enable SSPI support +dnl +AC_MSG_CHECKING([whether to enable SSPI support (Windows native builds only)]) +AC_ARG_ENABLE(sspi, +AC_HELP_STRING([--enable-sspi],[Enable SSPI]) +AC_HELP_STRING([--disable-sspi],[Disable SSPI]), +[ case "$enableval" in + yes) + if test "$ac_cv_native_windows" = "yes"; then + AC_MSG_RESULT(yes) + AC_DEFINE(USE_WINDOWS_SSPI, 1, [to enable SSPI support]) + AC_SUBST(USE_WINDOWS_SSPI, [1]) + curl_sspi_msg="enabled" + else + AC_MSG_RESULT(no) + AC_MSG_WARN([--enable-sspi Ignored. Only supported on native Windows builds.]) + fi + ;; + *) + AC_MSG_RESULT(no) + ;; + esac ], + AC_MSG_RESULT(no) +) + +dnl ************************************************************ +dnl disable cryptographic authentication +dnl +AC_MSG_CHECKING([whether to enable cryptographic authentication methods]) +AC_ARG_ENABLE(crypto-auth, +AC_HELP_STRING([--enable-crypto-auth],[Enable cryptographic authentication]) +AC_HELP_STRING([--disable-crypto-auth],[Disable cryptographic authentication]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_CRYPTO_AUTH, 1, [to disable cryptographic authentication]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + +dnl ************************************************************ +dnl disable cookies support +dnl +AC_MSG_CHECKING([whether to enable support for cookies]) +AC_ARG_ENABLE(cookies, +AC_HELP_STRING([--enable-cookies],[Enable cookies support]) +AC_HELP_STRING([--disable-cookies],[Disable cookies support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_COOKIES, 1, [to disable cookies support]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + +dnl ************************************************************ +dnl Enable hiding of internal symbols in library to reduce its size and +dnl speed dynamic linking of applications. This currently is only supported +dnl on gcc >= 4.0 and SunPro C. +dnl +AC_MSG_CHECKING([whether to enable hidden symbols in the library]) +AC_ARG_ENABLE(hidden-symbols, +AC_HELP_STRING([--enable-hidden-symbols],[Hide internal symbols in library]) +AC_HELP_STRING([--disable-hidden-symbols],[Leave all symbols with default visibility in library]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + ;; + *) + AC_MSG_CHECKING([whether $CC supports it]) + if test "$GCC" = yes ; then + if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null || + dnl clang always supports -fvisibility= but it doesn't show up + dnl under --help. + test "$compiler_id" = "CLANG"; then + AC_MSG_RESULT(yes) + AC_DEFINE(CURL_HIDDEN_SYMBOLS, 1, [to enable hidden symbols]) + AC_DEFINE(CURL_EXTERN_SYMBOL, [__attribute__ ((visibility ("default")))], [to make a symbol visible]) + CFLAGS="$CFLAGS -fvisibility=hidden" + else + AC_MSG_RESULT(no) + fi + + else + dnl Test for SunPro cc + if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then + AC_MSG_RESULT(yes) + AC_DEFINE(CURL_HIDDEN_SYMBOLS, 1, [to enable hidden symbols]) + AC_DEFINE(CURL_EXTERN_SYMBOL, [__global], [to make a symbol visible]) + CFLAGS="$CFLAGS -xldscope=hidden" + else + AC_MSG_RESULT(no) + fi + fi + ;; + esac ], + AC_MSG_RESULT(no) +) + +dnl ************************************************************ +dnl enforce SONAME bump +dnl + +AC_MSG_CHECKING([whether to enforce SONAME bump]) +AC_ARG_ENABLE(soname-bump, +AC_HELP_STRING([--enable-soname-bump],[Enable enforced SONAME bump]) +AC_HELP_STRING([--disable-soname-bump],[Disable enforced SONAME bump]), +[ case "$enableval" in + yes) AC_MSG_RESULT(yes) + soname_bump=yes + ;; + *) + AC_MSG_RESULT(no) + ;; + esac ], + AC_MSG_RESULT($soname_bump) +) +AM_CONDITIONAL(SONAME_BUMP, test x$soname_bump = xyes) + + +dnl ************************************************************ +if test ! -z "$winsock_LIB"; then + + dnl If ws2_32 is wanted, make sure it is the _last_ lib in LIBS (makes + dnl things work when built with c-ares). But we can't just move it last + dnl since then other stuff (SSL) won't build. So we simply append it to the + dnl end. + + LIBS="$LIBS $winsock_LIB" + TEST_SERVER_LIBS="$TEST_SERVER_LIBS $winsock_LIB" + +fi + +dnl +dnl All the library dependencies put into $LIB apply to libcurl only. +dnl Those in $CURL_LIBS apply to the curl command-line client only. +dnl Those in $TEST_SERVER_LIBS apply to test servers only. +dnl Those in $ALL_LIBS apply to all targets, including test targets. +dnl +LIBCURL_LIBS=$LIBS + +AC_SUBST(LIBCURL_LIBS) +AC_SUBST(CURL_LIBS) +AC_SUBST(TEST_SERVER_LIBS) +LIBS=$ALL_LIBS dnl LIBS is a magic variable that's used for every link + +AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes) + +dnl +dnl For keeping supported features and protocols also in pkg-config file +dnl since it is more cross-compile frient than curl-config +dnl + +if test "x$USE_SSLEAY" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES SSL" +elif test -n "$SSL_ENABLED"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES SSL" +fi +if test "@KRB4_ENABLED@" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES KRB4" +fi +if test "x$IPV6_ENABLED" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES IPv6" +fi +if test "x$HAVE_LIBZ" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES libz" +fi +if test "x$USE_ARES" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES AsynchDNS" +fi +if test "x$IDN_ENABLED" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES IDN" +fi +if test "x$USE_WINDOWS_SSPI" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES SSPI" +fi +if test "x$USE_SSLEAY" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" -o "x$GNUTLS_ENABLED" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES NTLM" +fi + +AC_SUBST(SUPPORT_FEATURES) + +dnl For supported protocols in pkg-config file +if test "x$CURL_DISABLE_HTTP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS" + fi +fi +if test "x$CURL_DISABLE_FTP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FTP" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FTPS" + fi +fi +if test "x$CURL_DISABLE_FILE" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FILE" +fi +if test "x$CURL_DISABLE_TELNET" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS TELNET" +fi +if test "x$CURL_DISABLE_LDAP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS LDAP" +fi +if test "x$CURL_DISABLE_LDAPS" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS LDAPS" +fi +if test "x$CURL_DISABLE_DICT" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS DICT" +fi +if test "x$CURL_DISABLE_TFTP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS TFTP" +fi +if test "x$CURL_DISABLE_POP3" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3S" + fi +fi +if test "x$CURL_DISABLE_IMAP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAP" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAPS" + fi +fi +if test "x$CURL_DISABLE_SMTP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMTP" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMTPS" + fi +fi +if test "x$USE_LIBSSH2" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SCP" + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SFTP" +fi +if test "x$CURL_DISABLE_RTSP" != "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS RTSP" +fi + +dnl replace spaces with newlines +dnl sort the lines +dnl replace the newlines back to spaces +SUPPORT_PROTOCOLS=`echo $SUPPORT_PROTOCOLS | tr ' ' '\012' | sort | tr '\012' ' '` + +AC_SUBST(SUPPORT_PROTOCOLS) + +dnl squeeze whitespace out of some variables + +squeeze CFLAGS +squeeze CPPFLAGS +squeeze DEFS +squeeze LDFLAGS +squeeze LIBS + +squeeze CURL_LIBS +squeeze LIBCURL_LIBS +squeeze TEST_SERVER_LIBS + +squeeze SUPPORT_FEATURES +squeeze SUPPORT_PROTOCOLS + +if test "x$want_curldebug_assumed" = "xyes" && + test "x$want_curldebug" = "xyes" && test "x$USE_ARES" = "x1"; then + ac_configure_args="$ac_configure_args --enable-curldebug" +fi + +AC_CONFIG_FILES([Makefile \ + docs/Makefile \ + docs/examples/Makefile \ + docs/libcurl/Makefile \ + include/Makefile \ + include/curl/Makefile \ + src/Makefile \ + lib/Makefile \ + tests/Makefile \ + tests/data/Makefile \ + tests/server/Makefile \ + tests/libtest/Makefile \ + packages/Makefile \ + packages/Win32/Makefile \ + packages/Win32/cygwin/Makefile \ + packages/Linux/Makefile \ + packages/Linux/RPM/Makefile \ + packages/Linux/RPM/curl.spec \ + packages/Linux/RPM/curl-ssl.spec \ + packages/Solaris/Makefile \ + packages/EPM/curl.list \ + packages/EPM/Makefile \ + packages/vms/Makefile \ + packages/AIX/Makefile \ + packages/AIX/RPM/Makefile \ + packages/AIX/RPM/curl.spec \ + curl-config \ + libcurl.pc +]) +AC_OUTPUT + +AC_MSG_NOTICE([Configured to build curl/libcurl: + + curl version: ${VERSION} + Host setup: ${host} + Install prefix: ${prefix} + Compiler: ${CC} + SSL support: ${curl_ssl_msg} + SSH support: ${curl_ssh_msg} + zlib support: ${curl_zlib_msg} + krb4 support: ${curl_krb4_msg} + GSSAPI support: ${curl_gss_msg} + SPNEGO support: ${curl_spnego_msg} + c-ares support: ${curl_ares_msg} + ipv6 support: ${curl_ipv6_msg} + IDN support: ${curl_idn_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + Verbose errors: ${curl_verbose_msg} + SSPI support: ${curl_sspi_msg} + ca cert bundle: ${ca} + ca cert path: ${capath} + LDAP support: ${curl_ldap_msg} + LDAPS support: ${curl_ldaps_msg} + RTSP support: ${curl_rtsp_msg} + Protocols: ${SUPPORT_PROTOCOLS} +]) + +if test "x$soname_bump" = "xyes"; then + +cat <, et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + +prefix=/iraf/iraf/vendor/voclient +exec_prefix=/iraf/iraf/vendor/voclient +includedir=${prefix}/include + +usage() +{ + cat <, et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +includedir=@includedir@ + +usage() +{ + cat <. + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by `PROGRAMS ARGS'. + object Object file output by `PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputing dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## The second -e expression handles DOS-style file names with drive letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the `deleted header file' problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. + tr ' ' ' +' < "$tmpdepfile" | +## Some versions of gcc put a space before the `:'. On the theory +## that the space means something, we add a space to the output as +## well. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like `#:fec' to the end of the + # dependency line. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> $depfile + echo >> $depfile + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> $depfile + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts `$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` + tmpdepfile="$stripped.u" + if test "$libtool" = yes; then + "$@" -Wc,-M + else + "$@" -M + fi + stat=$? + + if test -f "$tmpdepfile"; then : + else + stripped=`echo "$stripped" | sed 's,^.*/,,'` + tmpdepfile="$stripped.u" + fi + + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + + if test -f "$tmpdepfile"; then + outname="$stripped.o" + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +icc) + # Intel's C compiler understands `-MD -MF file'. However on + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c + # ICC 7.0 will fill foo.d with something like + # foo.o: sub/foo.c + # foo.o: sub/foo.h + # which is wrong. We want: + # sub/foo.o: sub/foo.c + # sub/foo.o: sub/foo.h + # sub/foo.c: + # sub/foo.h: + # ICC 7.1 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using \ : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | + sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in `foo.d' instead, so we check for that too. + # Subdirectories are respected. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + + if test "$libtool" = yes; then + # With Tru64 cc, shared objects can also be used to make a + # static library. This mecanism is used in libtool 1.4 series to + # handle both shared and static libraries in a single compilation. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. + # + # With libtool 1.5 this exception was removed, and libtool now + # generates 2 separate objects for the 2 libraries. These two + # compilations output dependencies in in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 + tmpdepfile2=$dir$base.o.d # libtool 1.5 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.o.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + tmpdepfile4=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for `:' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + "$@" $dashmflag | + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no + for arg in "$@"; do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix="`echo $object | sed 's/^.*\././'`" + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + sed '1,2d' "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E | + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o, + # because we must use -o when running libtool. + "$@" || exit $? + IFS=" " + for arg + do + case "$arg" in + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + echo " " >> "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/vendor/voclient/common/curl-7.20.1/docs/BINDINGS b/vendor/voclient/common/curl-7.20.1/docs/BINDINGS new file mode 100644 index 00000000..5cf07fec --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/BINDINGS @@ -0,0 +1,228 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + + libcurl bindings + +Creative people have written bindings or interfaces for various environments +and programming languages. Using one of these allows you to take advantage of +curl powers from within your favourite language or system. + +This is a list of all known interfaces as of this writing. + +The bindings listed below are not part of the curl/libcurl distribution +archives, but must be downloaded and installed separately. + +Ada95 + + Writtten by Andreas Almroth + http://www.almroth.com/adacurl/index.html + +Basic + + ScriptBasic bindings to libcurl. Writtten by Peter Verhas + http://scriptbasic.com/ + +C + libcurl is a C library in itself! + http://curl.haxx.se/libcurl/ + +C++ + + Written by Jean-Philippe Barrette-LaPierre + http://curlpp.org/ + +Ch + + Written by Stephen Nestinger and Jonathan Rogado + http://chcurl.sourceforge.net/ + +Cocoa + + Written by Dan Wood + http://curlhandle.sourceforge.net/ + +D + + Written by Kenneth Bogert + http://curl.haxx.se/libcurl/d/ + +Dylan + + Written by Chris Double + http://dylanlibs.sourceforge.net/ + +Eiffel + Written by Eiffel Software + http://curl.haxx.se/libcurl/eiffel/ + +Euphoria + + Written by Ray Smith + http://rays-web.com/eulibcurl.htm + +Falcon + + http://www.falconpl.org/index.ftd?page_id=prjs&prj_id=curl + +Ferite + + Written by Paul Querna + http://www.ferite.org/ + +Gambas + + http://gambas.sourceforge.net + +glib/GTK+ + + Written by Richard Atterer + http://atterer.net/glibcurl/ + +Haskell + + Written by Galois, Inc + http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl + +Java + + Maintained by [blank] + http://curl.haxx.se/libcurl/java/ + +Lisp + + Written by Liam Healy + http://common-lisp.net/project/cl-curl/ + +Lua + + luacurl by Alexander Marinov + http://luacurl.luaforge.net/ + + Lua-cURL by Jürgen Hötzel + http://luaforge.net/projects/lua-curl/ + +Mono + + Written by Jeffrey Phillips + http://forge.novell.com/modules/xfmod/project/?libcurl-mono + +.NET + + libcurl-net by Jeffrey Phillips + http://sourceforge.net/projects/libcurl-net/ + +Object-Pascal + + Free Pascal, Delphi and Kylix binding written by Christophe Espern. + http://www.tekool.com/opcurl + +O'Caml + + Written by Lars Nilsson + http://sourceforge.net/projects/ocurl/ + +Pascal + + Free Pascal, Delphi and Kylix binding written by Jeffrey Pohlmeyer. + http://houston.quik.com/jkp/curlpas/ + +Perl + + Maintained by Cris Bailiff + http://curl.haxx.se/libcurl/perl/ + +PHP + + Written by Sterling Hughes + http://curl.haxx.se/libcurl/php/ + +PostgreSQL + + Written by Gian Paolo Ciceri + http://gborg.postgresql.org/project/pgcurl/projdisplay.php + +Python + + PycURL by Kjetil Jacobsen + http://pycurl.sourceforge.net/ + +R + + RCurl by Duncan Temple Lang + http://www.omegahat.org/RCurl/ + +Rexx + + Written Mark Hessling + http://rexxcurl.sourceforge.net/ + +RPG + + Support for ILE/RPG on OS/400 is included in source distribution + http://curl.haxx.se/libcurl/ + See packages/OS400/README.OS400 and packages/OS400/curl.inc.in + +Ruby + + curb - written by Ross Bamford + http://curb.rubyforge.org/ + + ruby-curl-multi - written by Kristjan Petursson and Keith Rarick + http://curl-multi.rubyforge.org/ + +Scheme + + Bigloo binding by Kirill Lisovsky + http://curl.haxx.se/libcurl/scheme/ + +S-Lang + + S-Lang binding by John E Davis + http://www.jedsoft.org/slang/modules/curl.html + +Smalltalk + + Smalltalk binding by Danil Osipchuk + http://www.squeaksource.com/CurlPlugin/ + +SP-Forth + + SP-Forth binding by ygrek + http://www.forth.org.ru/~ac/lib/lin/curl/ + +SPL + + SPL binding by Clifford Wolf + http://www.clifford.at/spl/ + +Tcl + + Tclcurl by Andrés García + http://personal1.iddeo.es/andresgarci/tclcurl/english/docs.html + +Visual Basic + + libcurl-vb by Jeffrey Phillips + http://sourceforge.net/projects/libcurl-vb/ + +Visual Foxpro + + by Carlos Alloatti + http://www.ctl32.com.ar/libcurl.asp + +Q + The libcurl module is part of the default install + http://q-lang.sourceforge.net/ + +wxWidgets + + Written by Casey O'Donnell + http://wxcode.sourceforge.net/components/wxcurl/ + +XBLite + + Written by David Szafranski + http://perso.wanadoo.fr/xblite/libraries.html diff --git a/vendor/voclient/common/curl-7.20.1/docs/BUGS b/vendor/voclient/common/curl-7.20.1/docs/BUGS new file mode 100644 index 00000000..8cbad042 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/BUGS @@ -0,0 +1,81 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + +BUGS + + Curl and libcurl have grown substantially since the beginning. At the time + of writing (July 2007), there are about 47000 lines of source code, and by + the time you read this it has probably grown even more. + + Of course there are lots of bugs left. And lots of misfeatures. + + To help us make curl the stable and solid product we want it to be, we need + bug reports and bug fixes. + +WHERE TO REPORT + + If you can't fix a bug yourself and submit a fix for it, try to report an as + detailed report as possible to a curl mailing list to allow one of us to + have a go at a solution. You should also post your bug/problem at curl's bug + tracking system over at + + http://sourceforge.net/bugs/?group_id=976 + + (but please read the sections below first before doing that) + + If you feel you need to ask around first, find a suitable mailing list and + post there. The lists are available on http://curl.haxx.se/mail/ + +WHAT TO REPORT + + When reporting a bug, you should include all information that will help us + understand what's wrong, what you expected to happen and how to repeat the + bad behavior. You therefore need to tell us: + + - your operating system's name and version number (uname -a under a unix + is fine) + - what version of curl you're using (curl -V is fine) + - versions of the used libraries that libcurl is built to use + - what URL you were working with (if possible), at least which protocol + + and anything and everything else you think matters. Tell us what you + expected to happen, tell use what did happen, tell us how you could make it + work another way. Dig around, try out, test. Then include all the tiny bits + and pieces in your report. You will benefit from this yourself, as it will + enable us to help you quicker and more accurately. + + Since curl deals with networks, it often helps us if you include a protocol + debug dump with your bug report. The output you get by using the -v or + --trace options. + + If curl crashed, causing a core dump (in unix), there is hardly any use to + send that huge file to anyone of us. Unless we have an exact same system + setup as you, we can't do much with it. Instead we ask you to get a stack + trace and send that (much smaller) output to us instead! + + The address and how to subscribe to the mailing lists are detailed in the + MANUAL file. + +HOW TO GET A STACK TRACE + + First, you must make sure that you compile all sources with -g and that you + don't 'strip' the final executable. Try to avoid optimizing the code as + well, remove -O, -O2 etc from the compiler options. + + Run the program until it cores. + + Run your debugger on the core file, like ' curl core'. + should be replaced with the name of your debugger, in most cases that will + be 'gdb', but 'dbx' and others also occur. + + When the debugger has finished loading the core file and presents you a + prompt, enter 'where' (without the quotes) and press return. + + The list that is presented is the stack trace. If everything worked, it is + supposed to contain the chain of functions that were called when curl + crashed. Include the stack trace with your detailed bug report. It'll help a + lot. + diff --git a/vendor/voclient/common/curl-7.20.1/docs/CONTRIBUTE b/vendor/voclient/common/curl-7.20.1/docs/CONTRIBUTE new file mode 100644 index 00000000..c6ecee78 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/CONTRIBUTE @@ -0,0 +1,257 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + + When Contributing Source Code + + This document is intended to offer guidelines that can be useful to keep in + mind when you decide to contribute to the project. This concerns new features + as well as corrections to existing flaws or bugs. + + 1. Learning cURL + 1.1 Join the Community + 1.2 License + 1.3 What To Read + + 2. cURL Coding Standards + 2.1 Naming + 2.2 Indenting + 2.3 Commenting + 2.4 Line Lengths + 2.5 General Style + 2.6 Non-clobbering All Over + 2.7 Platform Dependent Code + 2.8 Write Separate Patches + 2.9 Patch Against Recent Sources + 2.10 Document + 2.11 Test Cases + + 3. Pushing Out Your Changes + 3.2 How To Make a Patch with git + 3.3 How To Make a Patch without git + 3.4 How to get your changes into the main sources + +============================================================================== + +1. Learning cURL + +1.1 Join the Community + + Skip over to http://curl.haxx.se/mail/ and join the appropriate mailing + list(s). Read up on details before you post questions. Read this file before + you start sending patches! We prefer patches and discussions being held on + the mailing list(s), not sent to individuals. + + Before posting to one of the curl mailing lists, please read up on the mailing + list etiquette: http://curl.haxx.se/mail/etiquette.html + + We also hang out on IRC in #curl on irc.freenode.net + +1.2. License + + When contributing with code, you agree to put your changes and new code under + the same license curl and libcurl is already using unless stated and agreed + otherwise. + + If you add a larger piece of code, you can opt to make that file or set of + files to use a different license as long as they don't enforce any changes to + the rest of the package and they make sense. Such "separate parts" can not be + GPL licensed (as we don't want copyleft to affect users of libcurl) but they + must use "GPL compatible" licenses (as we want to allow users to use libcurl + properly in GPL licensed environments). + + When changing existing source code, you do not alter the copyright of the + original file(s). The copyright will still be owned by the original + creator(s) or those who have been assigned copyright by the original + author(s). + + By submitting a patch to the curl project, you are assumed to have the right + to the code and to be allowed by your employer or whatever to hand over that + patch/code to us. We will credit you for your changes as far as possible, to + give credit but also to keep a trace back to who made what changes. Please + always provide us with your full real name when contributing! + +1.3 What To Read + + Source code, the man pages, the INTERNALS document, TODO, KNOWN_BUGS, the + most recent CHANGES. Just lurking on the libcurl mailing list is gonna give + you a lot of insights on what's going on right now. Asking there is a good + idea too. + +2. cURL Coding Standards + +2.1 Naming + + Try using a non-confusing naming scheme for your new functions and variable + names. It doesn't necessarily have to mean that you should use the same as in + other places of the code, just that the names should be logical, + understandable and be named according to what they're used for. File-local + functions should be made static. We like lower case names. + + See the INTERNALS document on how we name non-exported library-global + symbols. + +2.2 Indenting + + Please try using the same indenting levels and bracing method as all the + other code already does. It makes the source code a lot easier to follow if + all of it is written using the same style. We don't ask you to like it, we + just ask you to follow the tradition! ;-) This mainly means: 2-level indents, + using spaces only (no tabs) and having the opening brace ({) on the same line + as the if() or while(). + + Also note that we use if() and while() with no space before the parenthesis. + +2.3 Commenting + + Comment your source code extensively using C comments (/* comment */), DO NOT + use C++ comments (// this style). Commented code is quality code and enables + future modifications much more. Uncommented code risk having to be completely + replaced when someone wants to extend things, since other persons' source + code can get quite hard to read. + +2.4 Line Lengths + + We try to keep source lines shorter than 80 columns. + +2.5 General Style + + Keep your functions small. If they're small you avoid a lot of mistakes and + you don't accidentally mix up variables etc. + +2.6 Non-clobbering All Over + + When you write new functionality or fix bugs, it is important that you don't + fiddle all over the source files and functions. Remember that it is likely + that other people have done changes in the same source files as you have and + possibly even in the same functions. If you bring completely new + functionality, try writing it in a new source file. If you fix bugs, try to + fix one bug at a time and send them as separate patches. + +2.7 Platform Dependent Code + + Use #ifdef HAVE_FEATURE to do conditional code. We avoid checking for + particular operating systems or hardware in the #ifdef lines. The + HAVE_FEATURE shall be generated by the configure script for unix-like systems + and they are hard-coded in the config-[system].h files for the others. + +2.8 Write Separate Patches + + It is annoying when you get a huge patch from someone that is said to fix 511 + odd problems, but discussions and opinions don't agree with 510 of them - or + 509 of them were already fixed in a different way. Then the patcher needs to + extract the single interesting patch from somewhere within the huge pile of + source, and that gives a lot of extra work. Preferably, all fixes that + correct different problems should be in their own patch with an attached + description exactly what they correct so that all patches can be selectively + applied by the maintainer or other interested parties. + +2.9 Patch Against Recent Sources + + Please try to get the latest available sources to make your patches + against. It makes the life of the developers so much easier. The very best is + if you get the most up-to-date sources from the git repository, but the + latest release archive is quite OK as well! + +2.10 Document + + Writing docs is dead boring and one of the big problems with many open source + projects. Someone's gotta do it. It makes it a lot easier if you submit a + small description of your fix or your new features with every contribution so + that it can be swiftly added to the package documentation. + + The documentation is always made in man pages (nroff formatted) or plain + ASCII files. All HTML files on the web site and in the release archives are + generated from the nroff/ASCII versions. + +2.11 Test Cases + + Since the introduction of the test suite, we can quickly verify that the main + features are working as they're supposed to. To maintain this situation and + improve it, all new features and functions that are added need to be tested + in the test suite. Every feature that is added should get at least one valid + test case that verifies that it works as documented. If every submitter also + posts a few test cases, it won't end up as a heavy burden on a single person! + +3. Pushing Out Your Changes + +3.1 Write Access to git Repository + + If you are a frequent contributor, or have another good reason, you can of + course get write access to the git repository and then you'll be able to push + your changes straight into the git repo instead of sending changes by mail as + patches. Just ask if this is what you'd want. You will be required to have + posted a few quality patches first, before you can be granted push access. + +3.2 How To Make a Patch with git + + You need to first checkout the respository: + + git clone git://github.com/bagder/curl.git + + You then proceed and edit all the files you like and you commit them to your + local repository: + + git commit [file] + + As usual, group your commits so that you commit all changes that at once that + constitutes a logical change. + + Once you have done all your commits and you're happy with what you see, you + can make patches out of your changes that are suitable for mailing: + + git format-patch remotes/origin/master + + This creates files in your local directory named NNNN-[name].patch for each + commit. + + Now send those patches off to the curl-library list. You can of course opt to + do that with the 'get send-email' command. + +3.3 How To Make a Patch without git + + Keep a copy of the unmodified curl sources. Make your changes in a separate + source tree. When you think you have something that you want to offer the + curl community, use GNU diff to generate patches. + + If you have modified a single file, try something like: + + diff -u unmodified-file.c my-changed-one.c > my-fixes.diff + + If you have modified several files, possibly in different directories, you + can use diff recursively: + + diff -ur curl-original-dir curl-modified-sources-dir > my-fixes.diff + + The GNU diff and GNU patch tools exist for virtually all platforms, including + all kinds of Unixes and Windows: + + For unix-like operating systems: + + http://www.gnu.org/software/patch/patch.html + http://www.gnu.org/directory/diffutils.html + + For Windows: + + http://gnuwin32.sourceforge.net/packages/patch.htm + http://gnuwin32.sourceforge.net/packages/diffutils.htm + +3.4 How to get your changes into the main sources + + 1. Submit your patch to the curl-library mailing list + + 2. Make the patch against as recent sources as possible. + + 3. Make sure your patch adheres to the source indent and coding style of + already existing source code. Failing to do so just adds more work for me. + + 4. Respond to replies on the list about the patch and answer questions and/or + fix nits/flaws. This is very important. I will take lack of replies as a + sign that you're not very anxious to get your patch accepted and I tend to + simply drop such patches from my TODO list. + + 5. If you've followed the above mentioned paragraphs and your patch still + hasn't been incorporated after some weeks, consider resubmitting it to the + list. diff --git a/vendor/voclient/common/curl-7.20.1/docs/DISTRO-DILEMMA b/vendor/voclient/common/curl-7.20.1/docs/DISTRO-DILEMMA new file mode 100644 index 00000000..108e6bad --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/DISTRO-DILEMMA @@ -0,0 +1,176 @@ + Date: February 11, 2007 + Author: Daniel Stenberg + URL: http://curl.haxx.se/legal/distro-dilemma.html + +Condition + + This document is written to describe the situation as it is right now. + libcurl 7.16.1 is currently the latest version available. Things may of + course change in the future. + + This document reflects my view and understanding of these things. Please tell + me where and how you think I'm wrong, and I'll try to correct my mistakes. + +Background + + The Free Software Foundation has deemed the Original BSD license[1] to be + "incompatible"[2] with GPL[3]. I'd rather say it is the other way around, but + the point is the same: if you distribute a binary version of a GPL program, + it MUST NOT be linked with any Original BSD-licensed parts or libraries. + Doing so will violate the GPL license. For a long time, very many GPL + licensed programs have avoided this license mess by adding an exception[8] to + their license. And many others have just closed their eyes for this problem. + + libcurl is MIT-style[4] licensed - how on earth did this dilemma fall onto + our plates? + + libcurl is only a little library. libcurl can be built to use OpenSSL for its + SSL/TLS capabilities. OpenSSL is basically Original BSD licensed[5]. + + If libcurl built to use OpenSSL is used by a GPL-licensed application and you + decide to distribute a binary version of it (Linux distros - for example - + tend to), you have a clash. GPL vs Original BSD. + + This dilemma is not libcurl-specific nor is it specific to any particular + Linux distro. (This article mentions and refers to Debian several times, but + only because Debian seems to be the only Linux distro to have faced this + issue yet since no other distro is shipping libcurl built with two SSL + libraries.) + +Part of the Operating System + + This would not be a problem if the used lib would be considered part of the + underlying operating system, as then the GPL license has an exception + clause[6] that allows applications to use such libs without having to be + allowed to distribute it or its sources. Possibly some distros will claim + that OpenSSL is part of their operating system. + + Debian does however not take this stance and has officially(?) claimed that + OpenSSL is not a required part of the Debian operating system + + Some people claim that this paragraph cannot be exploited this way by a Linux + distro, but I am not a lawyer and that is a discussion left outside of this + document. + +GnuTLS + + Since May 2005 libcurl can get built to use GnuTLS instead of OpenSSL. GnuTLS + is an LGPL[7] licensed library that offers a matching set of features as + OpenSSL does. Now, you can build and distribute an TLS/SSL capable libcurl + without including any Original BSD licensed code. + + I believe Debian is the first (only?) distro that provides libcurl/GnutTLS + packages. + +yassl + + libcurl can get also get built to use yassl for the TLS/SSL layer. yassl is a + GPL[3] licensed library. + + +GnuTLS vs OpenSSL vs yassl + + While these three libraries offer similar features, they are not equal. + libcurl does not (yet) offer a standardized stable ABI if you decide to + switch from using libcurl-openssl to libcurl-gnutls or vice versa. The GnuTLS + and yassl support is very recent in libcurl and it has not been tested nor + used very extensively, while the OpenSSL equivalent code has been used and + thus matured since 1999. + + GnuTLS + - LGPL licensened + - supports SRP + - lacks SSLv2 support + - lacks MD2 support (used by at least some CA certs) + - lacks the crypto functions libcurl uses for NTLM + + OpenSSL + - Original BSD licensened + - lacks SRP + - supports SSLv2 + - older and more widely used + - provides crypto functions libcurl uses for NTLM + - libcurl can do non-blocking connects with it in 7.15.4 and later + + yassl + - GPL licensed + - much untested and unproven in the real work by (lib)curl users so we don't + know a lot about restrictions or benefits from using this + +The Better License, Original BSD, GPL or LGPL? + + It isn't obvious or without debate to any objective interested party that + either of these licenses are the "better" or even the "preferred" one in a + generic situation. + + Instead, I think we should accept the fact that the SSL/TLS libraries and + their different licenses will fit different applications and their authors + differently depending on the applications' licenses and their general usage + pattern (considering how GPL and LGPL libraries for example can be burdensome + for embedded systems usage). + + In Debian land, there seems to be a common opinion that LGPL is "maximally + compatible" with apps while Original BSD is not. Like this: + + http://lists.debian.org/debian-devel/2005/09/msg01417.html + +More SSL Libraries + + In libcurl, there's no stopping us here. There are more Open Source/Free + SSL/TLS libraries out there and we would very much like to support them as + well, to offer application authors an even wider scope of choice. + +Application Angle of this Problem + + libcurl is built to use one SSL/TLS library. It uses a single fixed name (by + default) on the built/created lib file, and applications are built/linked to + use that single lib. Replacing one libcurl instance with another one that + uses the other SSL/TLS library might break one or more applications (due to + ABI differences and/or different feature set). You want your application to + use the libcurl it was built for. + +Project cURL Angle of this Problem + + We distribute libcurl and everyone may build libcurl with either library at + their choice. This problem is not directly a problem of ours. It merely + affects users - GPL application authors only - of our lib as it comes + included and delivered on some distros. + + libcurl has different ABI when built with different SSL/TLS libraries due to + these reasons: + + 1. No one has worked on fixing this. The mutex/lock callbacks should be set + with a generic libcurl function that should use the proper underlying + functions. + + 2. The CURLOPT_SSL_CTX_FUNCTION option is not possible to "emulate" on GnuTLS + but simply requires OpenSSL. + + 3. There might be some other subtle differences just because nobody has yet + tried to make a fixed ABI like this. + +Distro Angle of this Problem + + To my knowledge there is only one distro that ships libcurl built with either + OpenSSL or GnuTLS. + + Debian Linux is now (since mid September 2005) providing two different + libcurl packages, one for libcurl built with OpenSSL and one built with + GnuTLS. They use different .so names and can this both be installed in a + single system simultaneously. This has been said to be a transitional system + not desired to keep in the long run. + +Footnotes + + [1] = http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6 + [2] = http://www.fsf.org/licensing/essays/bsd.html + [3] = http://www.fsf.org/licensing/licenses/gpl.html + [4] = http://curl.haxx.se/docs/copyright.html + [5] = http://www.openssl.org/source/license.html + [6] = http://www.fsf.org/licensing/licenses/gpl.html end of section 3 + [7] = http://www.fsf.org/licensing/licenses/lgpl.html + [8] = http://en.wikipedia.org/wiki/OpenSSL_exception + +Feedback/Updates provided by + + Eric Cooper diff --git a/vendor/voclient/common/curl-7.20.1/docs/FAQ b/vendor/voclient/common/curl-7.20.1/docs/FAQ new file mode 100644 index 00000000..dfde766f --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/FAQ @@ -0,0 +1,1288 @@ +Updated: Nov 7, 2009 (http://curl.haxx.se/docs/faq.html) + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + +FAQ + + 1. Philosophy + 1.1 What is cURL? + 1.2 What is libcurl? + 1.3 What is curl not? + 1.4 When will you make curl do XXXX ? + 1.5 Who makes curl? + 1.6 What do you get for making curl? + 1.7 What about CURL from curl.com? + 1.8 I have a problem who do I mail? + 1.9 Where do I buy commercial support for curl? + 1.10 How many are using curl? + 1.11 Why don't you update ca-bundle.crt + 1.12 I have a problem who can I chat with? + + 2. Install Related Problems + 2.1 configure doesn't find OpenSSL even when it is installed + 2.1.1 native linker doesn't find OpenSSL + 2.1.2 only the libssl lib is missing + 2.2 Does curl work/build with other SSL libraries? + 2.3 Where can I find a copy of LIBEAY32.DLL? + 2.4 Does curl support SOCKS (RFC 1928) ? + + 3. Usage Problems + 3.1 curl: (1) SSL is disabled, https: not supported + 3.2 How do I tell curl to resume a transfer? + 3.3 Why doesn't my posting using -F work? + 3.4 How do I tell curl to run custom FTP commands? + 3.5 How can I disable the Pragma: nocache header? + 3.6 Does curl support ASP, XML, XHTML or HTML version Y? + 3.7 Can I use curl to delete/rename a file through FTP? + 3.8 How do I tell curl to follow HTTP redirects? + 3.9 How do I use curl in my favorite programming language? + 3.10 What about SOAP, WebDAV, XML-RPC or similar protocols over HTTP? + 3.11 How do I POST with a different Content-Type? + 3.12 Why do FTP specific features over HTTP proxy fail? + 3.13 Why does my single/double quotes fail? + 3.14 Does curl support Javascript or PAC (automated proxy config)? + 3.15 Can I do recursive fetches with curl? + 3.16 What certificates do I need when I use SSL? + 3.17 How do I list the root dir of an FTP server? + 3.18 Can I use curl to send a POST/PUT and not wait for a response? + + 4. Running Problems + 4.1 Problems connecting to SSL servers. + 4.2 Why do I get problems when I use & or % in the URL? + 4.3 How can I use {, }, [ or ] to specify multiple URLs? + 4.4 Why do I get downloaded data even though the web page doesn't exist? + 4.5 Why do I get return code XXX from a HTTP server? + 4.5.1 "400 Bad Request" + 4.5.2 "401 Unauthorized" + 4.5.3 "403 Forbidden" + 4.5.4 "404 Not Found" + 4.5.5 "405 Method Not Allowed" + 4.5.6 "301 Moved Permanently" + 4.6 Can you tell me what error code 142 means? + 4.7 How do I keep user names and passwords secret in Curl command lines? + 4.8 I found a bug! + 4.9 Curl can't authenticate to the server that requires NTLM? + 4.10 My HTTP request using HEAD, PUT or DELETE doesn't work! + 4.11 Why does my HTTP range requests return the full document? + 4.12 Why do I get "certificate verify failed" ? + 4.13 Why is curl -R on Windows one hour off? + 4.14 Redirects work in browser but not with curl! + 4.15 FTPS doesn't work + 4.16 My HTTP POST or PUT requests are slow! + 4.17 Non-functional connect timeouts on Windows + 4.18 file:// URLs containing drive letters (Windows, NetWare) + + 5. libcurl Issues + 5.1 Is libcurl thread-safe? + 5.2 How can I receive all data into a large memory chunk? + 5.3 How do I fetch multiple files with libcurl? + 5.4 Does libcurl do Winsock initing on win32 systems? + 5.5 Does CURLOPT_WRITEDATA and CURLOPT_READDATA work on win32 ? + 5.6 What about Keep-Alive or persistent connections? + 5.7 Link errors when building libcurl on Windows! + 5.8 libcurl.so.3: open failed: No such file or directory + 5.9 How does libcurl resolve host names? + 5.10 How do I prevent libcurl from writing the response to stdout? + 5.11 How do I make libcurl not receive the whole HTTP response? + 5.12 Can I make libcurl fake or hide my real IP address? + 5.13 How do I stop an ongoing transfer? + 5.14 Using C++ non-static functions for callbacks? + 5.15 How do I get an FTP directory listing? + + 6. License Issues + 6.1 I have a GPL program, can I use the libcurl library? + 6.2 I have a closed-source program, can I use the libcurl library? + 6.3 I have a BSD licensed program, can I use the libcurl library? + 6.4 I have a program that uses LGPL libraries, can I use libcurl? + 6.5 Can I modify curl/libcurl for my program and keep the changes secret? + 6.6 Can you please change the curl/libcurl license to XXXX? + 6.7 What are my obligations when using libcurl in my commercial apps? + + 7. PHP/CURL Issues + 7.1 What is PHP/CURL? + 7.2 Who write PHP/CURL? + 7.3 Can I perform multiple requests using the same handle? + +============================================================================== + +1. Philosophy + + 1.1 What is cURL? + + cURL is the name of the project. The name is a play on 'Client for URLs', + originally with URL spelled in uppercase to make it obvious it deals with + URLs. The fact it can also be pronounced 'see URL' also helped, it works as + an abbreviation for "Client URL Request Library" or why not the recursive + version: "Curl URL Request Library". + + The cURL project produces two products: + + libcurl + + A free and easy-to-use client-side URL transfer library, supporting FTP, + FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE, LDAP and LDAPS. + libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, + kerberos, HTTP form based upload, proxies, cookies, user+password + authentication, file transfer resume, http proxy tunneling and more! + + libcurl is highly portable, it builds and works identically on numerous + platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, + IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac + OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS, Symbian, OSF, + Android, Minix, IBM TPF and more... + + libcurl is free, thread-safe, IPv6 compatible, feature rich, well + supported and fast. + + curl + + A command line tool for getting or sending files using URL syntax. + + Since curl uses libcurl, it supports a range of common Internet protocols, + currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, LDAPS, + DICT, TELNET and FILE. + + We pronounce curl and cURL with an initial k sound: [kurl]. + + There are numerous sub-projects and related projects that also use the word + curl in the project names in various combinations, but you should take + notice that this FAQ is directed at the command-line tool named curl (and + libcurl the library), and may therefore not be valid for other curl-related + projects. (There is however a small section for the PHP/CURL in this FAQ.) + + 1.2 What is libcurl? + + libcurl is a reliable and portable library which provides you with an easy + interface to a range of common Internet protocols. + + You can use libcurl for free in your application, be it open source, + commercial or closed-source. + + libcurl is most probably the most portable, most powerful and most often + used C-based multi-platform file transfer library on this planet - be it + open source or commercial. + + 1.3 What is curl not? + + Curl is not a wget clone. That is a common misconception. Never, during + curl's development, have we intended curl to replace wget or compete on its + market. Curl is targeted at single-shot file transfers. + + Curl is not a web site mirroring program. If you want to use curl to mirror + something: fine, go ahead and write a script that wraps around curl to make + it reality (like curlmirror.pl does). + + Curl is not an FTP site mirroring program. Sure, get and send FTP with curl + but if you want systematic and sequential behavior you should write a + script (or write a new program that interfaces libcurl) and do it. + + Curl is not a PHP tool, even though it works perfectly well when used from + or with PHP (when using the PHP/CURL module). + + Curl is not a program for a single operating system. Curl exists, compiles, + builds and runs under a wide range of operating systems, including all + modern Unixes (and a bunch of older ones too), Windows, Amiga, BeOS, OS/2, + OS X, QNX etc. + + 1.4 When will you make curl do XXXX ? + + We love suggestions of what to change in order to make curl and libcurl + better. We do however believe in a few rules when it comes to the future of + curl: + + * Curl -- the command line tool -- is to remain a non-graphical command line + tool. If you want GUIs or fancy scripting capabilities, you should look + for another tool that uses libcurl. + + * We do not add things to curl that other small and available tools already + do very fine at the side. Curl's output is fine to pipe into another + program or redirect to another file for the next program to interpret. + + * We focus on protocol related issues and improvements. If you wanna do more + magic with the supported protocols than curl currently does, chances are + big we will agree. If you wanna add more protocols, we may very well + agree. + + * If you want someone else to make all the work while you wait for us to + implement it for you, that is not a very friendly attitude. We spend a + considerable time already on maintaining and developing curl. In order to + get more out of us, you should consider trading in some of your time and + efforts in return. + + * If you write the code, chances are bigger that it will get into curl + faster. + + 1.5 Who makes curl? + + curl and libcurl are not made by any single individual. Daniel Stenberg is + project leader and main developer, but other persons' submissions are + important and crucial. Anyone can contribute and post their changes and + improvements and have them inserted in the main sources (of course on the + condition that developers agree on that the fixes are good). + + The full list of all contributors is found in the docs/THANKS file. + + curl is developed by a community, with Daniel at the wheel. + + 1.6 What do you get for making curl? + + Project cURL is entirely free and open. No person gets paid for developing + (lib)curl on full or even part time. We do this voluntarily on our spare + time. Occasionally companies pay individual developers to work on curl, but + that's up to each company and developer. It is not controlled by nor + supervised in any way by the project. + + We still get help from companies. Haxx provides web site, bandwidth, mailing + lists etc and sourceforge.net hosts project services we take advantage from, + like the bug tracker. Also again, some companies have sponsored certain + parts of the development in the past and I hope some will continue to do so + in the future. + + If you want to support our project, consider a donation or a banner-program + or even better: by helping us coding, documenting, testing etc. + + 1.7 What about CURL from curl.com? + + During the summer 2001, curl.com was busy advertising their client-side + programming language for the web, named CURL. + + We are in no way associated with curl.com or their CURL programming + language. + + Our project name curl has been in effective use since 1998. We were not the + first computer related project to use the name "curl" and do not claim any + first-hand rights to the name. + + We recognize that we will be living in parallel with curl.com and wish them + every success. + + 1.8 I have a problem who do I mail? + + Please do not mail any single individual unless you really need to. Keep + curl-related questions on a suitable mailing list. All available mailing + lists are listed in the MANUAL document and online at + http://curl.haxx.se/mail/ + + Keeping curl-related questions and discussions on mailing lists allows + others to join in and help, to share their ideas, contribute their + suggestions and spread their wisdom. Keeping discussions on public mailing + lists also allows for others to learn from this (both current and future + users thanks to the web based archives of the mailing lists), thus saving us + from having to repeat ourselves even more. Thanks for respecting this. + + If you have found or simply suspect a security problem in curl or libcurl, + mail curl-security at haxx.se (closed list of receivers, mails are not + disclosed) and tell. Then we can produce a fix in a timely manner before the + flaw is announced to the world, thus lessen the impact the problem will have + on existing users. + + 1.9 Where do I buy commercial support for curl? + + curl is fully open source. It means you can hire any skilled engineer to fix + your curl-related problems. + + We list available alternatives on the curl web site: + http://curl.haxx.se/support.html + + 1.10 How many are using curl? + + It is impossible to tell. + + We don't know how many users that knowingly have installed and use curl. + + We don't know how many users that use curl without knowing that they are in + fact using it. + + We don't know how many users that downloaded or installed curl and then + never use it. + + Some facts to use as input to the math: + + curl packages are downloaded from the curl.haxx.se and mirrors over a + million times per year. curl is installed by default with most Linux + distributions. curl is installed by default with Mac OS X. curl and libcurl + as used by numerous applications that include libcurl binaries in their + distribution packages (like Adobe Acrobat Reader and Google Earth). + + More than 90 known named companies use curl in commercial environments and + products. More than 100 known named open source projects depend on + (lib)curl. + + In a poll on the curl web site mid-2005, more than 50% of the 300+ answers + estimated a user base of one million users or more. + + In March 2005, the "Linux Counter project" estimated a total Linux user base + of some 29 millions, while Netcraft detected some 4 million "active" Linux + based web servers. A guess is that a fair amount of these Linux + installations have curl installed. + + All this taken together, there is no doubt that there are millions of + (lib)curl users. + + http://curl.haxx.se/docs/companies.html + http://curl.haxx.se/docs/programs.html + http://curl.haxx.se/libcurl/using/apps.html + http://counter.li.org/estimates.php + http://news.netcraft.com/archives/2005/03/14/fedora_makes_rapid_progress.html + + 1.11 Why don't you update ca-bundle.crt + + The ca-bundle.crt file that used to be bundled with curl was very outdated + (it being last modified year 2000 should tell) and must be replaced with a + much more modern and up-to-date version by anyone who wants to verify peers + anyway. It is no longer provided, the last curl release that shipped it was + curl 7.18.0. + + In the cURL project we've decided not to attempt to keep this file updated + (or even present anymore) since deciding what to add to a ca cert bundle is + an undertaking we've not been ready to accept, and the one we can get from + Mozilla is perfectly fine so there's no need to duplicate that work. + + Today, with many services performed over HTTPS, every operating system + should come with a default ca cert bundle that can be deemed somewhat + trustworthy and that collection (if reasonably updated) should be deemed to + be a lot better than a private curl version. + + If you want the most recent collection of ca certs that Mozilla Firefox + uses, we recommend that you extract the collection yourself from Mozilla + Firefox (by running 'make ca-bundle), or by using our online service setup + for this purpose: http://curl.haxx.se/docs/caextract.html + + 1.12 I have a problem who can I chat with? + + There's a bunch of friendly people hanging out in the #curl channel on the + IRC network irc.freenode.net. If you're polite and nice, chances are big + that you can get -- or provide -- help instantly. + + +2. Install Related Problems + + 2.1 configure doesn't find OpenSSL even when it is installed + + This may be because of several reasons. + + 2.1.1 native linker doesn't find openssl + + Affected platforms: + Solaris (native cc compiler) + HPUX (native cc compiler) + SGI IRIX (native cc compiler) + SCO UNIX (native cc compiler) + + When configuring curl, I specify --with-ssl. OpenSSL is installed in + /usr/local/ssl Configure reports SSL in /usr/local/ssl, but fails to find + CRYPTO_lock in -lcrypto + + Cause: The cc for this test places the -L/usr/local/ssl/lib AFTER + -lcrypto, so ld can't find the library. This is due to a bug in the GNU + autoconf tool. + + Workaround: Specifying "LDFLAGS=-L/usr/local/ssl/lib" in front of + ./configure places the -L/usr/local/ssl/lib early enough in the command + line to make things work + + 2.1.2 only the libssl lib is missing + + If all include files and the libcrypto lib is present, with only the + libssl being missing according to configure, this is mostly likely because + a few functions are left out from the libssl. + + If the function names missing include RSA or RSAREF you can be certain + that this is because libssl requires the RSA and RSAREF libs to build. + + See the INSTALL file section that explains how to add those libs to + configure. Make sure that you remove the config.cache file before you + rerun configure with the new flags. + + 2.2 Does curl work/build with other SSL libraries? + + Curl has been written to use OpenSSL, GnuTLS, yassl or NSS, although there + should not be many problems using a different library. If anyone does "port" + curl to use a different SSL library, we are of course very interested in + getting the patch! + + 2.3 Where can I find a copy of LIBEAY32.DLL? + + That is an OpenSSL binary built for Windows. + + Curl uses OpenSSL to do the SSL stuff. The LIBEAY32.DLL is what curl needs + on a windows machine to do https://. Check out the curl web site to find + accurate and up-to-date pointers to recent OpenSSL DLLs and other binary + packages. + + 2.4 Does curl support SOCKS (RFC 1928) ? + + Yes, SOCKS 4 and 5 are supported. + + +3. Usage problems + + 3.1 curl: (1) SSL is disabled, https: not supported + + If you get this output when trying to get anything from a https:// server, + it means that the configure script couldn't find all libs and include files + it requires for SSL to work. If the configure script fails to find them, + curl is simply built without SSL support. + + To get the https:// support into a curl that was previously built but that + reports that https:// is not supported, you should dig through the document + and logs and check out why the configure script doesn't find the SSL libs + and/or include files. + + Also, check out the other paragraph in this FAQ labelled "configure doesn't + find OpenSSL even when it is installed". + + 3.2 How do I tell curl to resume a transfer? + + Curl supports resumed transfers both ways on both FTP and HTTP. + + Try the -C option. + + 3.3 Why doesn't my posting using -F work? + + You can't simply use -F or -d at your choice. The web server that will + receive your post assumes one of the formats. If the form you're trying to + "fake" sets the type to 'multipart/form-data', then and only then you must + use the -F type. In all the most common cases, you should use -d which then + causes a posting with the type 'application/x-www-form-urlencoded'. + + This is described in some detail in the MANUAL and TheArtOfHttpScripting + documents, and if you don't understand it the first time, read it again + before you post questions about this to the mailing list. Also, try reading + through the mailing list archives for old postings and questions regarding + this. + + 3.4 How do I tell curl to run custom FTP commands? + + You can tell curl to perform optional commands both before and/or after a + file transfer. Study the -Q/--quote option. + + Since curl is used for file transfers, you don't use curl to just perform + FTP commands without transferring anything. Therefore you must always specify + a URL to transfer to/from even when doing custom FTP commands. + + 3.5 How can I disable the Pragma: nocache header? + + You can change all internally generated headers by adding a replacement with + the -H/--header option. By adding a header with empty contents you safely + disable that one. Use -H "Pragma:" to disable that specific header. + + 3.6 Does curl support ASP, XML, XHTML or HTML version Y? + + To curl, all contents are alike. It doesn't matter how the page was + generated. It may be ASP, PHP, Perl, shell-script, SSI or plain + HTML-files. There's no difference to curl and it doesn't even know what kind + of language that generated the page. + + See also item 3.14 regarding javascript. + + 3.7 Can I use curl to delete/rename a file through FTP? + + Yes. You specify custom FTP commands with -Q/--quote. + + One example would be to delete a file after you have downloaded it: + + curl -O ftp://download.com/coolfile -Q '-DELE coolfile' + + or rename a file after upload: + + curl -T infile ftp://upload.com/dir/ -Q "-RNFR infile" -Q "-RNTO newname" + + 3.8 How do I tell curl to follow HTTP redirects? + + Curl does not follow so-called redirects by default. The Location: header + that informs the client about this is only interpreted if you're using the + -L/--location option. As in: + + curl -L http://redirector.com + + Not all redirects are HTTP ones, see 4.14 + + 3.9 How do I use curl in my favorite programming language? + + There exist many language interfaces/bindings for curl that integrates it + better with various languages. If you are fluid in a script language, you + may very well opt to use such an interface instead of using the command line + tool. + + Find out more about which languages that support curl directly, and how to + install and use them, in the libcurl section of the curl web site: + http://curl.haxx.se/libcurl/ + + In October 2009, there were interfaces available for the following + languages: Ada95, Basic, C, C++, Ch, Cocoa, D, Dylan, Eiffel, Euphoria, + Ferite, Gambas, glib/GTK+, Haskell, ILE/RPG, Java, Lisp, Lua, Mono, .NET, + Object-Pascal, O'Caml, Pascal, Perl, PHP, PostgreSQL, Python, R, Rexx, Ruby, + Scheme, S-Lang, Smalltalk, SP-Forth, SPL, Tcl, Visual Basic, Visual FoxPro, + Q, wxwidgets and XBLite. By the time you read this, additional ones may have + appeared! + + 3.10 What about SOAP, WebDAV, XML-RPC or similar protocols over HTTP? + + Curl adheres to the HTTP spec, which basically means you can play with *any* + protocol that is built on top of HTTP. Protocols such as SOAP, WEBDAV and + XML-RPC are all such ones. You can use -X to set custom requests and -H to + set custom headers (or replace internally generated ones). + + Using libcurl is of course just as fine and you'd just use the proper + library options to do the same. + + 3.11 How do I POST with a different Content-Type? + + You can always replace the internally generated headers with -H/--header. + To make a simple HTTP POST with text/xml as content-type, do something like: + + curl -d "datatopost" -H "Content-Type: text/xml" [URL] + + 3.12 Why do FTP specific features over HTTP proxy fail? + + Because when you use a HTTP proxy, the protocol spoken on the network will + be HTTP, even if you specify a FTP URL. This effectively means that you + normally can't use FTP specific features such as FTP upload and FTP quote + etc. + + There is one exception to this rule, and that is if you can "tunnel through" + the given HTTP proxy. Proxy tunneling is enabled with a special option (-p) + and is generally not available as proxy admins usually disable tunneling to + other ports than 443 (which is used for HTTPS access through proxies). + + 3.13 Why does my single/double quotes fail? + + To specify a command line option that includes spaces, you might need to + put the entire option within quotes. Like in: + + curl -d " with spaces " url.com + + or perhaps + + curl -d ' with spaces ' url.com + + Exactly what kind of quotes and how to do this is entirely up to the shell + or command line interpreter that you are using. For most unix shells, you + can more or less pick either single (') or double (") quotes. For + Windows/DOS prompts I believe you're forced to use double (") quotes. + + Please study the documentation for your particular environment. Examples in + the curl docs will use a mix of both these ones as shown above. You must + adjust them to work in your environment. + + Remember that curl works and runs on more operating systems than most single + individuals have ever tried. + + 3.14 Does curl support Javascript or PAC (automated proxy config)? + + Many web pages do magic stuff using embedded Javascript. Curl and libcurl + have no built-in support for that, so it will be treated just like any other + contents. + + .pac files are a netscape invention and are sometimes used by organizations + to allow them to differentiate which proxies to use. The .pac contents is + just a Javascript program that gets invoked by the browser and that returns + the name of the proxy to connect to. Since curl doesn't support Javascript, + it can't support .pac proxy configuration either. + + Some workarounds usually suggested to overcome this Javascript dependency: + + - Depending on the Javascript complexity, write up a script that + translates it to another language and execute that. + + - Read the Javascript code and rewrite the same logic in another language. + + - Implement a Javascript interpreter, people have successfully used the + Mozilla Javascript engine in the past. + + - Ask your admins to stop this, for a static proxy setup or similar. + + 3.15 Can I do recursive fetches with curl? + + No. curl itself has no code that performs recursive operations, such as + those performed by wget and similar tools. + + There exist wrapper scripts with that functionality (for example the + curlmirror perl script), and you can write programs based on libcurl to do + it, but the command line tool curl itself cannot. + + 3.16 What certificates do I need when I use SSL? + + There are three different kinds of "certificates" to keep track of when we + talk about using SSL-based protocols (HTTPS or FTPS) using curl or libcurl. + + - Client certificate. The server you communicate may require that you can + provide this in order to prove that you actually are who you claim to be. + If the server doesn't require this, you don't need a client certificate. + + - Server certificate. The server you communicate with has a server + certificate. You can and should verify this certificate to make sure that + you are truly talking to the real server and not a server impersonating + it. + + - Certificate Authority certificate ("CA cert"). You often have several CA + certs in a CA cert bundle that can be used to verify a server certificate + that was signed by one of the authorities in the bundle. curl comes with a + default CA cert bundle. You can override the default. + + The server certificate verification process is made by using a Certificate + Authority certificate ("CA cert") that was used to sign the server + certificate. Server certificate verification is enabled by default in curl + and libcurl and is often the reason for problems as explained in FAQ entry + 4.12 and the SSLCERTS document + (http://curl.haxx.se/docs/sslcerts.html). Server certificates that are + "self-signed" or otherwise signed by a CA that you do not have a CA cert + for, cannot be verified. If the verification during a connect fails, you + are refused access. You then need to explicitly disable the verification + to connect to the server. + + 3.17 How do I list the root dir of an FTP server? + + There are two ways. The way defined in the RFC is to use an encoded slash + in the first path part. List the "/tmp" dir like this: + + curl ftp://ftp.sunet.se/%2ftmp/ + + or the not-quite-kosher-but-more-readable way, by simply starting the path + section of the URL with a slash: + + curl ftp://ftp.sunet.se//tmp/ + + 3.18 Can I use curl to send a POST/PUT and not wait for a response? + + No. + + But you could easily write your own program using libcurl to do such stunts. + + +4. Running Problems + + 4.1 Problems connecting to SSL servers. + + It took a very long time before we could sort out why curl had problems to + connect to certain SSL servers when using SSLeay or OpenSSL v0.9+. The + error sometimes showed up similar to: + + 16570:error:1407D071:SSL routines:SSL2_READ:bad mac decode:s2_pkt.c:233: + + It turned out to be because many older SSL servers don't deal with SSLv3 + requests properly. To correct this problem, tell curl to select SSLv2 from + the command line (-2/--sslv2). + + There have also been examples where the remote server didn't like the SSLv2 + request and instead you had to force curl to use SSLv3 with -3/--sslv3. + + 4.2 Why do I get problems when I use & or % in the URL? + + In general unix shells, the & symbol is treated specially and when used, it + runs the specified command in the background. To safely send the & as a part + of a URL, you should quote the entire URL by using single (') or double (") + quotes around it. Similar problems can also occur on some shells with other + characters, including ?*!$~(){}<>\|;`. When in doubt, quote the URL. + + An example that would invoke a remote CGI that uses &-symbols could be: + + curl 'http://www.altavista.com/cgi-bin/query?text=yes&q=curl' + + In Windows, the standard DOS shell treats the %-symbol specially and you + need to use TWO %-symbols for each single one you want to use in the URL. + + Also note that if you want the literal %-symbol to be part of the data you + pass in a POST using -d/--data you must encode it as '%25' (which then also + needs the %-symbol doubled on Windows machines). + + 4.3 How can I use {, }, [ or ] to specify multiple URLs? + + Because those letters have a special meaning to the shell, and to be used in + a URL specified to curl you must quote them. + + An example that downloads two URLs (sequentially) would do: + + curl '{curl,www}.haxx.se' + + To be able to use those letters as actual parts of the URL (without using + them for the curl URL "globbing" system), use the -g/--globoff option: + + curl -g 'www.site.com/weirdname[].html' + + 4.4 Why do I get downloaded data even though the web page doesn't exist? + + Curl asks remote servers for the page you specify. If the page doesn't exist + at the server, the HTTP protocol defines how the server should respond and + that means that headers and a "page" will be returned. That's simply how + HTTP works. + + By using the --fail option you can tell curl explicitly to not get any data + if the HTTP return code doesn't say success. + + 4.5 Why do I get return code XXX from a HTTP server? + + RFC2616 clearly explains the return codes. This is a short transcript. Go + read the RFC for exact details: + + 4.5.1 "400 Bad Request" + + The request could not be understood by the server due to malformed + syntax. The client SHOULD NOT repeat the request without modifications. + + 4.5.2 "401 Unauthorized" + + The request requires user authentication. + + 4.5.3 "403 Forbidden" + + The server understood the request, but is refusing to fulfill it. + Authorization will not help and the request SHOULD NOT be repeated. + + 4.5.4 "404 Not Found" + + The server has not found anything matching the Request-URI. No indication + is given of whether the condition is temporary or permanent. + + 4.5.5 "405 Method Not Allowed" + + The method specified in the Request-Line is not allowed for the resource + identified by the Request-URI. The response MUST include an Allow header + containing a list of valid methods for the requested resource. + + 4.5.6 "301 Moved Permanently" + + If you get this return code and an HTML output similar to this: + +

Moved Permanently

The document has moved
here. + + it might be because you request a directory URL but without the trailing + slash. Try the same operation again _with_ the trailing URL, or use the + -L/--location option to follow the redirection. + + 4.6 Can you tell me what error code 142 means? + + All curl error codes are described at the end of the man page, in the + section called "EXIT CODES". + + Error codes that are larger than the highest documented error code means + that curl has exited due to a crash. This is a serious error, and we + appreciate a detailed bug report from you that describes how we could go + ahead and repeat this! + + 4.7 How do I keep user names and passwords secret in Curl command lines? + + This problem has two sides: + + The first part is to avoid having clear-text passwords in the command line + so that they don't appear in 'ps' outputs and similar. That is easily + avoided by using the "-K" option to tell curl to read parameters from a file + or stdin to which you can pass the secret info. curl itself will also + attempt to "hide" the given password by blanking out the option - this + doesn't work on all platforms. + + To keep the passwords in your account secret from the rest of the world is + not a task that curl addresses. You could of course encrypt them somehow to + at least hide them from being read by human eyes, but that is not what + anyone would call security. + + Also note that regular HTTP (using Basic authentication) and FTP passwords + are sent in clear across the network. All it takes for anyone to fetch them + is to listen on the network. Eavesdropping is very easy. Use more secure + authentication methods (like Digest, Negotiate or even NTLM) or consider the + SSL-based alternatives HTTPS and FTPS. + + 4.8 I found a bug! + + It is not a bug if the behavior is documented. Read the docs first. + Especially check out the KNOWN_BUGS file, it may be a documented bug! + + If it is a problem with a binary you've downloaded or a package for your + particular platform, try contacting the person who built the package/archive + you have. + + If there is a bug, read the BUGS document first. Then report it as described + in there. + + 4.9 Curl can't authenticate to the server that requires NTLM? + + This is supported in curl 7.10.6 or later. No earlier curl version knows + of this magic. Later versions require the OpenSSL, GnuTLS or Microsoft + Windows libraries to provide this functionality. Using the NSS library + will not provide NTLM authentication functionality in curl. + + NTLM is a Microsoft proprietary protocol. Proprietary formats are evil. You + should not use such ones. + + 4.10 My HTTP request using HEAD, PUT or DELETE doesn't work! + + Many web servers allow or demand that the administrator configures the + server properly for these requests to work on the web server. + + Some servers seem to support HEAD only on certain kinds of URLs. + + To fully grasp this, try the documentation for the particular server + software you're trying to interact with. This is not anything curl can do + anything about. + + 4.11 Why does my HTTP range requests return the full document? + + Because the range may not be supported by the server, or the server may + choose to ignore it and return the full document anyway. + + 4.12 Why do I get "certificate verify failed" ? + + You invoke curl 7.10 or later to communicate on a https:// URL and get an + error back looking something similar to this: + + curl: (35) SSL: error:14090086:SSL routines: + SSL3_GET_SERVER_CERTIFICATE:certificate verify failed + + Then it means that curl couldn't verify that the server's certificate was + good. Curl verifies the certificate using the CA cert bundle that comes with + the curl installation. + + To disable the verification (which makes it act like curl did before 7.10), + use -k. This does however enable man-in-the-middle attacks. + + If you get this failure but are having a CA cert bundle installed and used, + the server's certificate is not signed by one of the CA's in the bundle. It + might for example be self-signed. You then correct this problem by obtaining + a valid CA cert for the server. Or again, decrease the security by disabling + this check. + + Details are also in the SSLCERTS file in the release archives, found online + here: http://curl.haxx.se/docs/sslcerts.html + + 4.13 Why is curl -R on Windows one hour off? + + During daylight savings time, when -R is used, curl will set a time that + appears one hour off. This happens due to a flaw in how Windows stores and + uses file modification times and it is not easily worked around. For details + on this problem, read this: http://www.codeproject.com/datetime/dstbugs.asp + + 4.14 Redirects work in browser but not with curl! + + curl supports HTTP redirects fine (see item 3.8). Browsers generally support + at least two other ways to perform directs that curl does not: + + - Meta tags. You can write a HTML tag that will cause the browser to + redirect to another given URL after a certain time. + + - Javascript. You can write a Javascript program embedded in a HTML page + that redirects the browser to another given URL. + + There is no way to make curl follow these redirects. You must either + manually figure out what the page is set to do, or you write a script that + parses the results and fetches the new URL. + + 4.15 FTPS doesn't work + + curl supports FTPS (sometimes known as FTP-SSL) both implicit and explicit + mode. + + When a URL is used that starts with FTPS://, curl assumes implicit SSL on + the control connection and will therefore immediately connect and try to + speak SSL. FTPS:// connections default to port 990. + + To use explicit FTPS, you use a FTP:// URL and the --ftp-ssl option (or one + of its related flavours). This is the most common method, and the one + mandated by RFC4217. This kind of connection then of course uses the + standard FTP port 21 by default. + + 4.16 My HTTP POST or PUT requests are slow! + + libcurl makes all POST and PUT requests (except for POST requests with a + very tiny request body) use the "Expect: 100-continue" header. This header + allows the server to deny the operation early so that libcurl can bail out + already before having to send any data. This is useful in authentication + cases and others. + + However, many servers don't implement the Expect: stuff properly and if the + server doesn't respond (positively) within 1 second libcurl will continue + and send off the data anyway. + + You can disable libcurl's use of the Expect: header the same way you disable + any header, using -H / CURLOPT_HTTPHEADER, or by forcing it to use HTTP 1.0. + + 4.17 Non-functional connect timeouts + + In most Windows setups having a timeout longer than 21 seconds make no + difference, as it will only send 3 TCP SYN packets and no more. The second + packet sent three seconds after the first and the third six seconds after + the second. No more than three packets are sent, no matter how long the + timeout is set. + + See option TcpMaxConnectRetransmissions on this page: + http://support.microsoft.com/?scid=kb%3Ben-us%3B175523&x=6&y=7 + + Also, even on non-Windows systems there may run a firewall or anti-virus + software or similar that accepts the connection but does not actually do + anything else. This will make (lib)curl to consider the connection connected + and thus the connect timeout won't trigger. + + 4.18 file:// URLs containing drive letters (Windows, NetWare) + + When using cURL to try to download a local file, one might use a URL + in this format: + + file://D:/blah.txt + + You'll find that even if D:\blah.txt does exist, cURL returns a 'file + not found' error. + + According to RFC 1738 (http://www.faqs.org/rfcs/rfc1738.html), + file:// URLs must contain a host component, but it is ignored by + most implementations. In the above example, 'D:' is treated as the + host component, and is taken away. Thus, cURL tries to open '/blah.txt'. + If your system is installed to drive C:, that will resolve to 'C:\blah.txt', + and if that doesn't exist you will get the not found error. + + To fix this problem, use file:// URLs with *three* leading slashes: + + file:///D:/blah.txt + + Alternatively, if it makes more sense, specify 'localhost' as the host + component: + + file://localhost/D:/blah.txt + + In either case, cURL should now be looking for the correct file. + +5. libcurl Issues + + 5.1 Is libcurl thread-safe? + + Yes. + + We have written the libcurl code specifically adjusted for multi-threaded + programs. libcurl will use thread-safe functions instead of non-safe ones if + your system has such. + + If you use a OpenSSL-powered libcurl in a multi-threaded environment, you + need to provide one or two locking functions: + + http://www.openssl.org/docs/crypto/threads.html + + If you use a GnuTLS-powered libcurl in a multi-threaded environment, you + need to provide locking function(s) for libgcrypt (which is used by GnuTLS + for the crypto functions). + + http://www.gnu.org/software/gnutls/manual/html_node/Multi_002dthreaded-applications.html + + No special locking is needed with a NSS-powered libcurl. NSS is thread-safe. + + 5.2 How can I receive all data into a large memory chunk? + + [ See also the examples/getinmemory.c source ] + + You are in full control of the callback function that gets called every time + there is data received from the remote server. You can make that callback do + whatever you want. You do not have to write the received data to a file. + + One solution to this problem could be to have a pointer to a struct that you + pass to the callback function. You set the pointer using the + CURLOPT_WRITEDATA option. Then that pointer will be passed to the callback + instead of a FILE * to a file: + + /* imaginary struct */ + struct MemoryStruct { + char *memory; + size_t size; + }; + + /* imaginary callback function */ + size_t + WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data) + { + size_t realsize = size * nmemb; + struct MemoryStruct *mem = (struct MemoryStruct *)data; + + mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1); + if (mem->memory) { + memcpy(&(mem->memory[mem->size]), ptr, realsize); + mem->size += realsize; + mem->memory[mem->size] = 0; + } + return realsize; + } + + 5.3 How do I fetch multiple files with libcurl? + + libcurl has excellent support for transferring multiple files. You should + just repeatedly set new URLs with curl_easy_setopt() and then transfer it + with curl_easy_perform(). The handle you get from curl_easy_init() is not + only reusable, but you're even encouraged to reuse it if you can, as that + will enable libcurl to use persistent connections. + + 5.4 Does libcurl do Winsock initialization on win32 systems? + + Yes, if told to in the curl_global_init() call. + + 5.5 Does CURLOPT_WRITEDATA and CURLOPT_READDATA work on win32 ? + + Yes, but you cannot open a FILE * and pass the pointer to a DLL and have + that DLL use the FILE * (as the DLL and the client application cannot access + each others' variable memory areas). If you set CURLOPT_WRITEDATA you must + also use CURLOPT_WRITEFUNCTION as well to set a function that writes the + file, even if that simply writes the data to the specified FILE *. + Similarly, if you use CURLOPT_READDATA you must also specify + CURLOPT_READFUNCTION. + + 5.6 What about Keep-Alive or persistent connections? + + curl and libcurl have excellent support for persistent connections when + transferring several files from the same server. Curl will attempt to reuse + connections for all URLs specified on the same command line/config file, and + libcurl will reuse connections for all transfers that are made using the + same libcurl handle. + + 5.7 Link errors when building libcurl on Windows! + + You need to make sure that your project, and all the libraries (both static + and dynamic) that it links against, are compiled/linked against the same run + time library. + + This is determined by the /MD, /ML, /MT (and their corresponding /M?d) + options to the command line compiler. /MD (linking against MSVCRT dll) seems + to be the most commonly used option. + + When building an application that uses the static libcurl library, you must + add -DCURL_STATICLIB to your CFLAGS. Otherwise the linker will look for + dynamic import symbols. If you get linker error like "unknown symbol + __imp__curl_easy_init ..." you have linked against the wrong (static) + library. If you want to use the libcurl.dll and import lib, you don't need + any extra CFLAGS, but use one of the import libraries below. These are the + libraries produced by the various lib/Makefile.* files: + + Target: static lib. import lib for libcurl*.dll. + ----------------------------------------------------------- + MingW: libcurl.a libcurldll.a + MSVC (release): libcurl.lib libcurl_imp.lib + MSVC (debug): libcurld.lib libcurld_imp.lib + Borland: libcurl.lib libcurl_imp.lib + + + 5.8 libcurl.so.3: open failed: No such file or directory + + This is an error message you might get when you try to run a program linked + with a shared version of libcurl and your run-time linker (ld.so) couldn't + find the shared library named libcurl.so.3. + + You need to make sure that ld.so finds libcurl.so.3. You can do that + multiple ways, and it differs somewhat between different operating systems, + but they are usually: + + * Add an option to the linker command line that specify the hard-coded path + the run-time linker should check for the lib (usually -R) + + * Set an environment variable (LD_LIBRARY_PATH for example) where ld.so + should check for libs + + * Adjust the system's config to check for libs in the directory where you've + put the dir (like Linux's /etc/ld.so.conf) + + 'man ld.so' and 'man ld' will tell you more details + + 5.9 How does libcurl resolve host names? + + libcurl supports a large a number of different name resolve functions. One + of them is picked at build-time and will be used unconditionally. Thus, if + you want to change name resolver function you must rebuild libcurl and tell + it to use a different function. + + - The non-ipv6 resolver that can use one out of four host name resolve calls + (depending on what your system supports): + + A - gethostbyname() + B - gethostbyname_r() with 3 arguments + C - gethostbyname_r() with 5 arguments + D - gethostbyname_r() with 6 arguments + + - The ipv6-resolver that uses getaddrinfo() + + - The c-ares based name resolver that uses the c-ares library for resolves. + Using this offers asynchronous name resolves but it currently has no IPv6 + support. + + - The Windows threaded resolver. It use: + + A - gethostbyname() on plain ipv4 windows hosts + B - getaddrinfo() on ipv6-enabled windows hosts + + Also note that libcurl never resolves or reverse-lookups addresses given as + pure numbers, such as 127.0.0.1 or ::1. + + 5.10 How do I prevent libcurl from writing the response to stdout? + + libcurl provides a default built-in write function that writes received data + to stdout. Set the CURLOPT_WRITEFUNCTION to receive the data, or possibly + set CURLOPT_WRITEDATA to a different FILE * handle. + + 5.11 How do I make libcurl not receive the whole HTTP response? + + You make the write callback (or progress callback) return an error and + libcurl will then abort the transfer. + + 5.12 Can I make libcurl fake or hide my real IP address? + + No. libcurl operates on a higher level than so. Besides, faking IP address + would imply sending IP packages with a made-up source address, and then you + normally get a problem with intercepting the packages sent back as they + would then not be routed to you! + + If you use a proxy to access remote sites, the sites will not see your local + IP address but instead the address of the proxy. + + Also note that on many networks NATs or other IP-munging techniques are used + that makes you see and use a different IP address locally than what the + remote server will see you coming from. + + 5.13 How do I stop an ongoing transfer? + + There are several ways, but none of them are instant. There is no function + you can call from another thread or similar that will stop it immediately. + Instead you need to make sure that one of the callbacks you use return an + appropriate value that will stop the transfer. + + Suitable callbacks that you can do this with include the progress callback, + the read callback and the write callback. + + If you're using the multi interface, you also stop a transfer by removing + the particular easy handle from the multi stack. + + 5.14 Using C++ non-static functions for callbacks? + + libcurl is a C library, it doesn't know anything about C++ member functions. + + You can overcome this "limitation" with a relative ease using a static + member function that is passed a pointer to the class: + + // f is the pointer to your object. + static YourClass::staticFunction(void *buffer, size_t sz, size_t n, void *f) + { + // Call non-static member function. + static_cast(f)->nonStaticFunction(); + } + + // This is how you pass pointer to the static function: + curl_easy_setopt(hcurl, CURLOPT_WRITEFUNCTION, YourClass:staticFunction); + curl_easy_setopt(hcurl, CURLOPT_WRITEDATA, this); + + 5.15 How do I get an FTP directory listing? + + If you end the FTP URL you request with a slash, libcurl will provide you + with a directory listing of that given directory. You can also set + CURLOPT_CUSTOMREQUEST to alter what exact listing command libcurl would use + to list the files. + + The follow-up question that tend to follow the previous one, is how a + program is supposed to parse the directory listing. How does it know what's + a file and what's a dir and what's a symlink etc. The harsh reality is that + FTP provides no such fine and easy-to-parse output. The output format FTP + servers respond to LIST commands are entirely at the server's own liking and + the NLST output doesn't reveal any types and in many cases don't even + include all the directory entries. Also, both LIST and NLST tend to hide + unix-style hidden files (those that start with a dot) by default so you need + to do "LIST -a" or similar to see them. + + The application thus needs to parse the LIST output. One such existing + list parser is available at http://cr.yp.to/ftpparse.html + + +6. License Issues + + Curl and libcurl are released under a MIT/X derivate license. The license is + very liberal and should not impose a problem for your project. This section + is just a brief summary for the cases we get the most questions. (Parts of + this section was much enhanced by Bjorn Reese.) + + We are not lawyers and this is not legal advice. You should probably consult + one if you want true and accurate legal insights without our prejudice. + + 6.1 I have a GPL program, can I use the libcurl library? + + Yes! + + Since libcurl may be distributed under the MIT/X derivate license, it can be + used together with GPL in any software. + + 6.2 I have a closed-source program, can I use the libcurl library? + + Yes! + + libcurl does not put any restrictions on the program that uses the library. + + 6.3 I have a BSD licensed program, can I use the libcurl library? + + Yes! + + libcurl does not put any restrictions on the program that uses the library. + + 6.4 I have a program that uses LGPL libraries, can I use libcurl? + + Yes! + + The LGPL license doesn't clash with other licenses. + + 6.5 Can I modify curl/libcurl for my program and keep the changes secret? + + Yes! + + The MIT/X derivate license practically allows you to do almost anything with + the sources, on the condition that the copyright texts in the sources are + left intact. + + 6.6 Can you please change the curl/libcurl license to XXXX? + + No. + + We have carefully picked this license after years of development and + discussions and a large amount of people have contributed with source code + knowing that this is the license we use. This license puts the restrictions + we want on curl/libcurl and it does not spread to other programs or + libraries that use it. It should be possible for everyone to use libcurl or + curl in their projects, no matter what license they already have in use. + + 6.7 What are my obligations when using libcurl in my commercial apps? + + Next to none. All you need to adhere to is the MIT-style license (stated in + the COPYING file) which basically says you have to include the copyright + notice in "all copies" and that you may not use the copyright holder's name + when promoting your software. + + You do not have to release any of your source code. + + You do not have to reveal or make public any changes to the libcurl source + code. + + You do not have to reveal or make public that you are using libcurl within + your app. + + As can be seen here: http://curl.haxx.se/docs/companies.html and + elsewhere, more and more companies are discovering the power + of libcurl and take advantage of it even in commercial environments. + + +7. PHP/CURL Issues + + 7.1 What is PHP/CURL? + + The module for PHP that makes it possible for PHP programs to access curl- + functions from within PHP. + + In the cURL project we call this module PHP/CURL to differentiate it from + curl the command line tool and libcurl the library. The PHP team however + does not refer to it like this (for unknown reasons). They call it plain + CURL (often using all caps) or sometimes ext/curl, but both cause much + confusion to users which in turn gives us a higher question load. + + 7.2 Who write PHP/CURL? + + PHP/CURL is a module that comes with the regular PHP package. It depends and + uses libcurl, so you need to have libcurl installed properly first before + PHP/CURL can be used. PHP/CURL was initially written by Sterling Hughes. + + 7.3 Can I perform multiple requests using the same handle? + + Yes - at least in PHP version 4.3.8 and later (this has been known to not + work in earlier versions, but the exact version when it started to work is + unknown to me). + + After a transfer, you just set new options in the handle and make another + transfer. This will make libcurl to re-use the same connection if it can. diff --git a/vendor/voclient/common/curl-7.20.1/docs/FEATURES b/vendor/voclient/common/curl-7.20.1/docs/FEATURES new file mode 100644 index 00000000..bc95aacd --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/FEATURES @@ -0,0 +1,135 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + +FEATURES + +curl tool + - config file support + - multiple URLs in a single command line + - range "globbing" support: [0-13], {one,two,three} + - multiple file upload on a single command line + - custom maximum transfer rate + - redirectable stderr + +libcurl supports + - full URL syntax with no length limit + - custom maximum download time + - custom least download speed acceptable + - custom output result after completion + - guesses protocol from host name unless specified + - uses .netrc + - progress bar/time specs while downloading + - "standard" proxy environment variables support + - compiles on win32 (reported builds on 40+ operating systems) + - selectable network interface for outgoing traffic + - IPv6 support on unix and Windows + - persistant connections + - socks5 support + - supports user name + password in proxy environment variables + - operations through proxy "tunnel" (using CONNECT) + - supports large files (>2GB and >4GB) both upload/download + - replacable memory functions (malloc, free, realloc, etc) + - asynchronous name resolving (*6) + - both a push and a pull style interface + +HTTP + - HTTP/1.1 compliant (optionally uses 1.0) + - GET + - PUT + - HEAD + - POST + - Pipelining + - multipart formpost (RFC1867-style) + - authentication: Basic, Digest, NTLM(*1), GSS-Negotiate/Negotiate(*3) and + SPNEGO (*4) to server and proxy + - resume (both GET and PUT) + - follow redirects + - maximum amount of redirects to follow + - custom HTTP request + - cookie get/send fully parsed + - reads/writes the netscape cookie file format + - custom headers (replace/remove internally generated headers) + - custom user-agent string + - custom referer string + - range + - proxy authentication + - time conditions + - via http-proxy + - retrieve file modification date + - Content-Encoding support for deflate and gzip + - "Transfer-Encoding: chunked" support for "uploads" + +HTTPS (*1) + - (all the HTTP features) + - using client certificates + - verify server certificate + - via http-proxy + - select desired encryption + - force usage of a specific SSL version (SSLv2(*7), SSLv3 or TLSv1) + +FTP + - download + - authentication + - kerberos4 (*5), kerberos5 (*3) + - active/passive using PORT, EPRT, PASV or EPSV + - single file size information (compare to HTTP HEAD) + - 'type=' URL support + - dir listing + - dir listing names-only + - upload + - upload append + - upload via http-proxy as HTTP PUT + - download resume + - upload resume + - custom ftp commands (before and/or after the transfer) + - simple "range" support + - via http-proxy + - all operations can be tunneled through a http-proxy + - customizable to retrieve file modification date + - no dir depth limit + +FTPS (*1) + - implicit ftps:// support that use SSL on both connections + - explicit "AUTH TSL" and "AUTH SSL" usage to "upgrade" plain ftp:// + connection to use SSL for both or one of the connections + +SCP (*8) + - both password and public key auth + +SFTP (*8) + - both password and public key auth + - with custom commands sent before/after the transfer + +TFTP + - download / upload + +TELNET + - connection negotiation + - custom telnet options + - stdin/stdout I/O + +LDAP (*2) + - full LDAP URL support + +DICT + - extended DICT URL support + +FILE + - URL support + - "uploads" + - resume + +FOOTNOTES +========= + + *1 = requires OpenSSL, GnuTLS, NSS or yassl + *2 = requires OpenLDAP + *3 = requires a GSSAPI-compliant library, such as Heimdal or similar. + *4 = requires FBopenssl + *5 = requires a krb4 library, such as the MIT one or similar. + *6 = requires c-ares + *7 = requires OpenSSL or NSS, as GnuTLS only supports SSLv3 and TLSv1 + *8 = requires libssh2 diff --git a/vendor/voclient/common/curl-7.20.1/docs/HISTORY b/vendor/voclient/common/curl-7.20.1/docs/HISTORY new file mode 100644 index 00000000..d429cec7 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/HISTORY @@ -0,0 +1,186 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + + How cURL Became Like This + + +In the second half of 1997, Daniel Stenberg came up with the idea to make +currency-exchange calculations available to Internet Relay Chat (IRC) +users. All the necessary data are published on the Web; he just needed to +automate their retrieval. + +Daniel simply adopted an existing command-line open-source tool, httpget, that +Brazilian Rafael Sagula had written. After a few minor adjustments, it did +just what he needed. + +Soon, he found currencies on a GOPHER site, so support for that had to go in, +and not before long FTP download support was added as well. The name of the +project was changed to urlget to better fit what it actually did now, since +the http-only days were already passed. + +The project slowly grew bigger. When upload capabilities were added and the +name once again was misleading, a second name change was made and on March 20, +1998 curl 4 was released. (The version numbering from the previous names was +kept.) + +(Unrelated to this project a company called Curl Corporation registered a US +trademark on the name "CURL" on May 18 1998. That company had then already +registered the curl.com domain back in November of the previous year. All this +was revealed to us much later.) + +SSL support was added, powered by the SSLeay library. + +August 1998, first announcement of curl on freshmeat.net. + +October 1998, with the curl 4.9 release and the introduction of cookie +support, curl was no longer released under the GPL license. Now we're at 4000 +lines of code, we switched over to the MPL license to restrict the effects of +"copyleft". + +November 1998, configure script and reported successful compiles on several +major operating systems. The never-quite-understood -F option was added and +curl could now simulate quite a lot of a browser. TELNET support was added. + +Curl 5 was released in December 1998 and introduced the first ever curl man +page. People started making Linux RPM packages out of it. + +January 1999, DICT support added. + +OpenSSL took over where SSLeay was abandoned. + +May 1999, first Debian package. + +August 1999, LDAP:// and FILE:// support added. The curl web site gets 1300 +visits weekly. + +Released curl 6.0 in September. 15000 lines of code. + +December 28 1999, added the project on Sourceforge and started using its +services for managing the project. + +Spring 2000, major internal overhaul to provide a suitable library interface. +The first non-beta release was named 7.1 and arrived in August. This offered +the easy interface and turned out to be the beginning of actually getting +other software and programs to get based on and powered by libcurl. Almost +20000 lines of code. + +August 2000, the curl web site gets 4000 visits weekly. + +The PHP guys adopted libcurl already the same month, when the first ever third +party libcurl binding showed up. CURL has been a supported module in PHP since +the release of PHP 4.0.2. This would soon get followers. More than 16 +different bindings exist at the time of this writing. + +September 2000, kerberos4 support was added. + +In November 2000 started the work on a test suite for curl. It was later +re-written from scratch again. The libcurl major SONAME number was set to 1. + +January 2001, Daniel released curl 7.5.2 under a new license again: MIT (or +MPL). The MIT license is extremely liberal and can be used combined with GPL +in other projects. This would finally put an end to the "complaints" from +people involved in GPLed projects that previously were prohibited from using +libcurl while it was released under MPL only. (Due to the fact that MPL is +deemed "GPL incompatible".) + +curl supports HTTP 1.1 starting with the release of 7.7, March 22 2001. This +also introduced libcurl's ability to do persistent connections. 24000 lines of +code. The libcurl major SONAME number was bumped to 2 due to this overhaul. + +The first experimental ftps:// support was added in March 2001. + +August 2001. curl is bundled in Mac OS X, 10.1. It was already becoming more +and more of a standard utility of Linux distributions and a regular in the BSD +ports collections. The curl web site gets 8000 visits weekly. Curl Corporation +contacted Daniel to discuss "the name issue". After Daniel's reply, they have +never since got in touch again. + +September 2001, libcurl 7.9 introduces cookie jar and curl_formadd(). During +the forthcoming 7.9.x releases, we introduced the multi interface slowly and +without much whistles. + +June 2002, the curl web site gets 13000 visits weekly. curl and libcurl is +35000 lines of code. Reported successful compiles on more than 40 combinations +of CPUs and operating systems. + +To estimate number of users of the curl tool or libcurl library is next to +impossible. Around 5000 downloaded packages each week from the main site gives +a hint, but the packages are mirrored extensively, bundled with numerous OS +distributions and otherwise retrieved as part of other software. + +September 2002, with the release of curl 7.10 it is released under the MIT +license only. + +January 2003. Started working on the distributed curl tests. The autobuilds. + +February 2003, the curl site averages at 20000 visits weekly. At any given +moment, there's an average of 3 people browsing the curl.haxx.se site. + +Multiple new authentication schemes are supported: Digest (May), NTLM (June) +and Negotiate (June). + +November 2003: curl 7.10.8 is released. 45000 lines of code. ~55000 unique +visitors to the curl.haxx.se site. Five official web mirrors. + +December 2003, full-fledged SSL for FTP is supported. + +January 2004: curl 7.11.0 introduced large file support. + +June 2004: + + curl 7.12.0 introduced IDN support. 10 official web mirrors. + + This release bumped the major SONAME to 3 due to the removal of the + curl_formparse() function + +August 2004: + Curl and libcurl 7.12.1 + + Public curl release number: 82 + Releases counted from the very beginning: 109 + Available command line options: 96 + Available curl_easy_setopt() options: 120 + Number of public functions in libcurl: 36 + Amount of public web site mirrors: 12 + Number of known libcurl bindings: 26 + +April 2005: + + GnuTLS can now optionally be used for the secure layer when curl is built. + +September 2005: + + TFTP support was added. + + More than 100,000 unique visitors of the curl web site. 25 mirrors. + +April 2006: + + Added the multi_socket() API + +September 2006: + + The major SONAME number for libcurl was bumped to 4 due to the removal of + ftp third party transfer support. + +November 2006: + + Added SCP and SFTP support + +February 2007: + + Added support for the Mozilla NSS library to do the SSL/TLS stuff + +November 2008: + + Command line options: 128 + curl_easy_setopt() options: 158 + Public functions in libcurl: 58 + Known libcurl bindings: 37 + Contributors: 683 + + 145,000 unique visitors. >100 GB downloaded. + diff --git a/vendor/voclient/common/curl-7.20.1/docs/INSTALL b/vendor/voclient/common/curl-7.20.1/docs/INSTALL new file mode 100644 index 00000000..575d0001 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/INSTALL @@ -0,0 +1,981 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + + How To Compile + +Installing Binary Packages +========================== + + Lots of people download binary distributions of curl and libcurl. This + document does not describe how to install curl or libcurl using such a + binary package. This document describes how to compile, build and install + curl and libcurl from source code. + +UNIX +==== + A normal unix installation is made in three or four steps (after you've + unpacked the source archive): + + ./configure + make + make test (optional) + make install + + You probably need to be root when doing the last command. + + If you have checked out the sources from the git repository, read the + GIT-INFO on how to proceed. + + Get a full listing of all available configure options by invoking it like: + + ./configure --help + + If you want to install curl in a different file hierarchy than /usr/local, + you need to specify that already when running configure: + + ./configure --prefix=/path/to/curl/tree + + If you happen to have write permission in that directory, you can do 'make + install' without being root. An example of this would be to make a local + install in your own home directory: + + ./configure --prefix=$HOME + make + make install + + The configure script always tries to find a working SSL library unless + explicitly told not to. If you have OpenSSL installed in the default search + path for your compiler/linker, you don't need to do anything special. If + you have OpenSSL installed in /usr/local/ssl, you can run configure like: + + ./configure --with-ssl + + If you have OpenSSL installed somewhere else (for example, /opt/OpenSSL) + and you have pkg-config installed, set the pkg-config path first, like this: + + env PKG_CONFIG_PATH=/opt/OpenSSL/lib/pkgconfig ./configure --with-ssl + + Without pkg-config installed, use this: + + ./configure --with-ssl=/opt/OpenSSL + + If you insist on forcing a build without SSL support, even though you may + have OpenSSL installed in your system, you can run configure like this: + + ./configure --without-ssl + + If you have OpenSSL installed, but with the libraries in one place and the + header files somewhere else, you have to set the LDFLAGS and CPPFLAGS + environment variables prior to running configure. Something like this + should work: + + (with the Bourne shell and its clones): + + CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" \ + ./configure + + (with csh, tcsh and their clones): + + env CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" \ + ./configure + + If you have shared SSL libs installed in a directory where your run-time + linker doesn't find them (which usually causes configure failures), you can + provide the -R option to ld on some operating systems to set a hard-coded + path to the run-time linker: + + env LDFLAGS=-R/usr/local/ssl/lib ./configure --with-ssl + + MORE OPTIONS + ------------ + + To force configure to use the standard cc compiler if both cc and gcc are + present, run configure like + + CC=cc ./configure + or + env CC=cc ./configure + + To force a static library compile, disable the shared library creation + by running configure like: + + ./configure --disable-shared + + To tell the configure script to skip searching for thread-safe functions, + add an option like: + + ./configure --disable-thread + + To build curl with kerberos4 support enabled, curl requires the krb4 libs + and headers installed. You can then use a set of options to tell + configure where those are: + + --with-krb4-includes[=DIR] Specify location of kerberos4 headers + --with-krb4-libs[=DIR] Specify location of kerberos4 libs + --with-krb4[=DIR] where to look for Kerberos4 + + In most cases, /usr/athena is the install prefix and then it works with + + ./configure --with-krb4=/usr/athena + + If you're a curl developer and use gcc, you might want to enable more + debug options with the --enable-debug option. + + curl can be built to use a whole range of libraries to provide various + useful services, and configure will try to auto-detect a decent + default. But if you want to alter it, you can select how to deal with + each individual library. + + To build with GnuTLS support instead of OpenSSL for SSL/TLS, note that + you need to use both --without-ssl and --with-gnutls. + + To build with yassl support instead of OpenSSL or GnuTLS, you must build + yassl with its OpenSSL emulation enabled and point to that directory root + with configure --with-ssl. + + To build with NSS support instead of OpenSSL for SSL/TLS, note that + you need to use both --without-ssl and --with-nss. + + To get GSSAPI support, build with --with-gssapi and have the MIT or + Heimdal Kerberos 5 packages installed. + + To get support for SCP and SFTP, build with --with-libssh2 and have + libssh2 0.16 or later installed. + + SPECIAL CASES + ------------- + Some versions of uClibc require configuring with CPPFLAGS=-D_GNU_SOURCE=1 + to get correct large file support. + + The Open Watcom C compiler on Linux requires configuring with the variables: + + ./configure CC=owcc AR="$WATCOM/binl/wlib" AR_FLAGS=-q \ + RANLIB=/bin/true STRIP="$WATCOM/binl/wstrip" CFLAGS=-Wextra + + +Win32 +===== + + Building Windows DLLs and C run-time (CRT) linkage issues + --------------------------------------------------------- + + As a general rule, building a DLL with static CRT linkage is highly + discouraged, and intermixing CRTs in the same app is something to + avoid at any cost. + + Reading and comprehension of Microsoft Knowledge Base articles + KB94248 and KB140584 is a must for any Windows developer. Especially + important is full understanding if you are not going to follow the + advice given above. + + KB94248 - How To Use the C Run-Time + http://support.microsoft.com/kb/94248/en-us + + KB140584 - How to link with the correct C Run-Time (CRT) library + http://support.microsoft.com/kb/140584/en-us + + KB190799 - Potential Errors Passing CRT Objects Across DLL Boundaries + http://msdn.microsoft.com/en-us/library/ms235460 + + If your app is misbehaving in some strange way, or it is suffering + from memory corruption, before asking for further help, please try + first to rebuild every single library your app uses as well as your + app using the debug multithreaded dynamic C runtime. + + MingW32 + ------- + + Make sure that MinGW32's bin dir is in the search path, for example: + + set PATH=c:\mingw32\bin;%PATH% + + then run 'mingw32-make mingw32' in the root dir. There are other + make targets available to build libcurl with more features, use: + 'mingw32-make mingw32-zlib' to build with Zlib support; + 'mingw32-make mingw32-ssl-zlib' to build with SSL and Zlib enabled; + 'mingw32-make mingw32-ssh2-ssl-zlib' to build with SSH2, SSL, Zlib; + 'mingw32-make mingw32-ssh2-ssl-sspi-zlib' to build with SSH2, SSL, Zlib + and SSPI support. + + If you have any problems linking libraries or finding header files, be sure + to verify that the provided "Makefile.m32" files use the proper paths, and + adjust as necessary. It is also possible to override these paths with + environment variables, for example: + + set ZLIB_PATH=c:\zlib-1.2.3 + set OPENSSL_PATH=c:\openssl-0.9.8k + set LIBSSH2_PATH=c:\libssh2-1.1 + + ATTENTION: if you want to build with libssh2 support you have to use latest + version 0.17 - previous versions will NOT work with 7.17.0 and later! + Use 'mingw32-make mingw32-ssh2-ssl-zlib' to build with SSH2 and SSL enabled. + + It is now also possible to build with other LDAP SDKs than MS LDAP; + currently it is possible to build with native Win32 OpenLDAP, or with the + Novell CLDAP SDK. If you want to use these you need to set these vars: + + set LDAP_SDK=c:\openldap + set USE_LDAP_OPENLDAP=1 + + or for using the Novell SDK: + + set USE_LDAP_NOVELL=1 + + If you want to enable LDAPS support then set LDAPS=1. + + - optional MingW32-built OpenlDAP SDK available from: + http://www.gknw.net/mirror/openldap/ + - optional recent Novell CLDAP SDK available from: + http://developer.novell.com/ndk/cldap.htm + + + Cygwin + ------ + + Almost identical to the unix installation. Run the configure script in the + curl root with 'sh configure'. Make sure you have the sh executable in + /bin/ or you'll see the configure fail toward the end. + + Run 'make' + + Dev-Cpp + ------- + + See the separate INSTALL.devcpp file for details. + + MSVC 6 caveats + -------------- + + If you use MSVC 6 it is required that you use the February 2003 edition PSDK: + http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm + + Building any software with MSVC 6 without having PSDK installed is just + asking for trouble down the road once you have released it, you might notice + the problems in the first corner or ten miles ahead, depending mostly on your + choice of static vs dynamic runtime and third party libraries. Anyone using + software built in such way will at some point regret having done so. + + When someone uses MSVC 6 without PSDK he is using a compiler back from 1998. + + If the compiler has been updated with the installation of a service pack as + those mentioned in http://support.microsoft.com/kb/194022 the compiler can be + safely used to read source code, translate and make it object code. + + But, even with the service packs mentioned above installed, the resulting + software generated in such an environment will be using outdated system + header files and libraries with bugs and security issues which have already + been addressed and fixed long time ago. + + In order to make use of the updated system headers and fixed libraries + for MSVC 6, it is required that 'Platform SDK', PSDK from now onwards, + is installed. The specific PSDK that must be installed for MSVC 6 is the + February 2003 edition, which is the latest one supporting the MSVC 6 compiler, + this PSDK is also known as 'Windows Server 2003 PSDK' and can be downloaded + from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm + + So, building curl and libcurl with MSVC 6 without PSDK is absolutely + discouraged for the benefit of anyone using software built in such + environment. And it will not be supported in any way, as we could just + be hunting bugs which have already been fixed way back in 2003. + + When building with MSVC 6 we attempt to detect if PSDK is not being used, + and if this is the case the build process will fail hard with an error + message stating that the February 2003 PSDK is required. This is done to + protect the unsuspecting and avoid PEBKAC issues. + + Additionally it might happen that a die hard MSVC hacker still wants to + build curl and libcurl with MSVC 6 without PSDK installed, even knowing + that this is a highly discouraged and unsupported build environment. In + this case the brave of heart will be able to build in such an environment + with the requisite of defining preprocessor symbol ALLOW_MSVC6_WITHOUT_PSDK + in lib/config-win32.h and knowing that LDAP and IPv6 support will be missing. + + MSVC from command line + ---------------------- + + Run the 'vcvars32.bat' file to get a proper environment. The + vcvars32.bat file is part of the Microsoft development environment and + you may find it in 'C:\Program Files\Microsoft Visual Studio\vc98\bin' + provided that you installed Visual C/C++ 6 in the default directory. + + Then run 'nmake vc' in curl's root directory. + + If you want to compile with zlib support, you will need to build + zlib (http://www.gzip.org/zlib/) as well. Please read the zlib + documentation on how to compile zlib. Define the ZLIB_PATH environment + variable to the location of zlib.h and zlib.lib, for example: + + set ZLIB_PATH=c:\zlib-1.2.3 + + Then run 'nmake vc-zlib' in curl's root directory. + + If you want to compile with SSL support you need the OpenSSL package. + Please read the OpenSSL documentation on how to compile and install + the OpenSSL libraries. The build process of OpenSSL generates the + libeay32.dll and ssleay32.dll files in the out32dll subdirectory in + the OpenSSL home directory. OpenSSL static libraries (libeay32.lib, + ssleay32.lib, RSAglue.lib) are created in the out32 subdirectory. + + Before running nmake define the OPENSSL_PATH environment variable with + the root/base directory of OpenSSL, for example: + + set OPENSSL_PATH=c:\openssl-0.9.8k + + Then run 'nmake vc-ssl' or 'nmake vc-ssl-dll' in curl's root + directory. 'nmake vc-ssl' will create a libcurl static and dynamic + libraries in the lib subdirectory, as well as a statically linked + version of curl.exe in the src subdirectory. This statically linked + version is a standalone executable not requiring any DLL at + runtime. This make method requires that you have the static OpenSSL + libraries available in OpenSSL's out32 subdirectory. + 'nmake vc-ssl-dll' creates the libcurl dynamic library and + links curl.exe against libcurl and OpenSSL dynamically. + This executable requires libcurl.dll and the OpenSSL DLLs + at runtime. + Run 'nmake vc-ssl-zlib' to build with both ssl and zlib support. + + MSVC 6 IDE + ---------- + + A minimal VC++ 6.0 reference workspace (vc6curl.dsw) is available with the + source distribution archive to allow proper building of the two included + projects, the libcurl library and the curl tool. + + 1) Open the vc6curl.dsw workspace with MSVC6's IDE. + 2) Select 'Build' from top menu. + 3) Select 'Batch Build' from dropdown menu. + 4) Make sure that the eight project configurations are 'checked'. + 5) Click on the 'Build' button. + 6) Once the eight project configurations are built you are done. + + Dynamic and static libcurl libraries are built in debug and release flavours, + and can be located each one in its own subdirectory, DLL-Debug, DLL-Release, + LIB-Debug and LIB-Release, all of them below the 'lib' subdirectory. + + In the same way four curl executables are created, each using its respective + library. The resulting curl executables are located in its own subdirectory, + DLL-Debug, DLL-Release, LIB-Debug and LIB-Release, below the 'src' subdir. + + These reference VC++ 6.0 configurations are generated using the dynamic CRT. + + Intentionally, these reference VC++ 6.0 projects and configurations don't use + third party libraries, such as OpenSSL or Zlib, to allow proper compilation + and configuration for all new users without further requirements. + + If you need something more 'involved' you might adjust them for your own use, + or explore the world of makefiles described above 'MSVC from command line'. + + Borland C++ compiler + --------------------- + + compile openssl + + Make sure you include the paths to curl/include and openssl/inc32 in + your bcc32.cnf file + + eg : -I"c:\Bcc55\include;c:\path_curl\include;c:\path_openssl\inc32" + + Check to make sure that all of the sources listed in lib/Makefile.b32 + are present in the /path_to_curl/lib directory. (Check the src + directory for missing ones.) + + Make sure the environment variable "BCCDIR" is set to the install + location for the compiler eg : c:\Borland\BCC55 + + command line: + make -f /path_to_curl/lib/Makefile-ssl.b32 + + compile simplessl.c with appropriate links + + c:\curl\docs\examples\> bcc32 -L c:\path_to_curl\lib\libcurl.lib + -L c:\borland\bcc55\lib\psdk\ws2_32.lib + -L c:\openssl\out32\libeay32.lib + -L c:\openssl\out32\ssleay32.lib + simplessl.c + + OTHER MSVC IDEs + --------------- + + If you use VC++, Borland or similar compilers. Include all lib source + files in a static lib "project" (all .c and .h files that is). + (you should name it libcurl or similar) + + Make the sources in the src/ drawer be a "win32 console application" + project. Name it curl. + + + Disabling Specific Protocols in Win32 builds + -------------------------------------------- + + The configure utility, unfortunately, is not available for the Windows + environment, therefore, you cannot use the various disable-protocol + options of the configure utility on this platform. + + However, you can use the following defines to disable specific + protocols: + + HTTP_ONLY disables all protocols except HTTP + CURL_DISABLE_FTP disables FTP + CURL_DISABLE_LDAP disables LDAP + CURL_DISABLE_TELNET disables TELNET + CURL_DISABLE_DICT disables DICT + CURL_DISABLE_FILE disables FILE + CURL_DISABLE_TFTP disables TFTP + CURL_DISABLE_HTTP disables HTTP + + If you want to set any of these defines you have the following + possibilities: + + - Modify lib/config-win32.h + - Modify lib/setup.h + - Modify lib/Makefile.vc6 + - Add defines to Project/Settings/C/C++/General/Preprocessor Definitions + in the vc6libcurl.dsw/vc6libcurl.dsp Visual C++ 6 IDE project. + + + Important static libcurl usage note + ----------------------------------- + + When building an application that uses the static libcurl library, you must + add '-DCURL_STATICLIB' to your CFLAGS. Otherwise the linker will look for + dynamic import symbols. + + +IBM OS/2 +======== + Building under OS/2 is not much different from building under unix. + You need: + + - emx 0.9d + - GNU make + - GNU patch + - ksh + - GNU bison + - GNU file utilities + - GNU sed + - autoconf 2.13 + + If you want to build with OpenSSL or OpenLDAP support, you'll need to + download those libraries, too. Dirk Ohme has done some work to port SSL + libraries under OS/2, but it looks like he doesn't care about emx. You'll + find his patches on: http://come.to/Dirk_Ohme + + If during the linking you get an error about _errno being an undefined + symbol referenced from the text segment, you need to add -D__ST_MT_ERRNO__ + in your definitions. + + If everything seems to work fine but there's no curl.exe, you need to add + -Zexe to your linker flags. + + If you're getting huge binaries, probably your makefiles have the -g in + CFLAGS. + + +VMS +=== + (The VMS section is in whole contributed by the friendly Nico Baggus) + + Curl seems to work with FTP & HTTP other protocols are not tested. (the + perl http/ftp testing server supplied as testing too cannot work on VMS + because vms has no concept of fork(). [ I tried to give it a whack, but + thats of no use. + + SSL stuff has not been ported. + + Telnet has about the same issues as for Win32. When the changes for Win32 + are clear maybe they'll work for VMS too. The basic problem is that select + ONLY works for sockets. + + Marked instances of fopen/[f]stat that might become a problem, especially + for non stream files. In this regard, the files opened for writing will be + created stream/lf and will thus be safe. Just keep in mind that non-binary + read/wring from/to files will have a records size limit of 32767 bytes + imposed. + + Stat to get the size of the files is again only safe for stream files & + fixed record files without implied CC. + + -- My guess is that only allowing access to stream files is the quickest + way to get around the most issues. Therefore all files need to to be + checked to be sure they will be stream/lf before processing them. This is + the easiest way out, I know. The reason for this is that code that needs to + report the filesize will become a pain in the ass otherwise. + + Exit status.... Well we needed something done here, + + VMS has a structured exist status: + | 3 | 2 | 1 | 0| + |1098|765432109876|5432109876543|210| + +----+------------+-------------+---+ + |Ctrl| Facility | Error code |sev| + +----+------------+-------------+---+ + + With the Ctrl-bits an application can tell if part or the whole message has + already been printed from the program, DCL doesn't need to print it again. + + Facility - basically the program ID. A code assigned to the program + the name can be fetched from external or internal message libraries + Error code - the err codes assigned by the application + Sev. - severity: Even = error, off = non error + 0 = Warning + 1 = Success + 2 = Error + 3 = Information + 4 = Fatal + <5-7> reserved. + + This all presents itself with: + %--, + + See also the src/curlmsg.msg file, it has the source for the messages In + src/main.c a section is devoted to message status values, the globalvalues + create symbols with certain values, referenced from a compiled message + file. Have all exit function use a exit status derived from a translation + table with the compiled message codes. + + This was all compiled with: + + Compaq C V6.2-003 on OpenVMS Alpha V7.1-1H2 + + So far for porting notes as of: + 13-jul-2001 + N. Baggus + + +QNX +=== + (This section was graciously brought to us by David Bentham) + + As QNX is targeted for resource constrained environments, the QNX headers + set conservative limits. This includes the FD_SETSIZE macro, set by default + to 32. Socket descriptors returned within the CURL library may exceed this, + resulting in memory faults/SIGSEGV crashes when passed into select(..) + calls using fd_set macros. + + A good all-round solution to this is to override the default when building + libcurl, by overriding CFLAGS during configure, example + # configure CFLAGS='-DFD_SETSIZE=64 -g -O2' + + +RISC OS +======= + The library can be cross-compiled using gccsdk as follows: + + CC=riscos-gcc AR=riscos-ar RANLIB='riscos-ar -s' ./configure \ + --host=arm-riscos-aof --without-random --disable-shared + make + + where riscos-gcc and riscos-ar are links to the gccsdk tools. + You can then link your program with curl/lib/.libs/libcurl.a + + +AmigaOS +======= + (This section was graciously brought to us by Diego Casorran) + + To build cURL/libcurl on AmigaOS just type 'make amiga' ... + + What you need is: (not tested with others versions) + + GeekGadgets / gcc 2.95.3 (http://www.geekgadgets.org/) + + AmiTCP SDK v4.3 (http://www.aminet.net/comm/tcp/AmiTCP-SDK-4.3.lha) + + Native Developer Kit (http://www.amiga.com/3.9/download/NDK3.9.lha) + + As no ixemul.library is required you will be able to build it for + WarpOS/PowerPC (not tested by me), as well a MorphOS version should be + possible with no problems. + + To enable SSL support, you need a OpenSSL native version (without ixemul), + you can find a precompiled package at http://amiga.sourceforge.net/OpenSSL/ + + +NetWare +======= + To compile curl.nlm / libcurl.nlm you need: + - either any gcc / nlmconv, or CodeWarrior 7 PDK 4 or later. + - gnu make and awk running on the platform you compile on; + native Win32 versions can be downloaded from: + http://www.gknw.net/development/prgtools/ + - recent Novell LibC SDK available from: + http://developer.novell.com/ndk/libc.htm + - or recent Novell CLib SDK available from: + http://developer.novell.com/ndk/clib.htm + - optional recent Novell CLDAP SDK available from: + http://developer.novell.com/ndk/cldap.htm + - optional zlib sources (static or dynamic linking with zlib.imp); + sources with NetWare Makefile can be obtained from: + http://www.gknw.net/mirror/zlib/ + - optional OpenSSL sources (version 0.9.8 or later build with BSD sockets); + you can find precompiled packages at: + http://www.gknw.net/development/ossl/netware/ + for CLIB-based builds OpenSSL 0.9.8h or later is required - earlier versions + dont support buildunf with CLIB BSD sockets. + - optional SSH2 sources (version 0.17 or later); + + Set a search path to your compiler, linker and tools; on Linux make + sure that the var OSTYPE contains the string 'linux'; set the var + NDKBASE to point to the base of your Novell NDK; and then type + 'make netware' from the top source directory; other targets available + are 'netware-ssl', 'netware-ssl-zlib', 'netware-zlib' and 'netware-ares'; + if you need other combinations you can control the build with the + environment variables WITH_SSL, WITH_ZLIB, WITH_ARES, WITH_SSH2, and + ENABLE_IPV6; you can set LINK_STATIC=1 to link curl.nlm statically. + By default LDAP support is enabled, however currently you will need a patch + in order to use the CLDAP NDK with BSD sockets (Novell Bug 300237): + http://www.gknw.net/test/curl/cldap_ndk/ldap_ndk.diff + I found on some Linux systems (RH9) that OS detection didn't work although + a 'set | grep OSTYPE' shows the var present and set; I simply overwrote it + with 'OSTYPE=linux-rh9-gnu' and the detection in the Makefile worked... + Any help in testing appreciated! + Builds automatically created 8 times a day from current git are here: + http://www.gknw.net/mirror/curl/autobuilds/ + the status of these builds can be viewed at the autobuild table: + http://curl.haxx.se/auto/ + + +eCos +==== + curl does not use the eCos build system, so you must first build eCos + separately, then link curl to the resulting eCos library. Here's a sample + configure line to do so on an x86 Linux box targeting x86: + + GCCLIB=`gcc -print-libgcc-file-name` && \ + CFLAGS="-D__ECOS=1 -nostdinc -I$ECOS_INSTALL/include \ + -I`dirname $GCCLIB`/include" \ + LDFLAGS="-nostdlib -Wl,--gc-sections -Wl,-static \ + -L$ECOS_INSTALL/lib -Ttarget.ld -ltarget" \ + ./configure --host=i386 --disable-shared \ + --without-ssl --without-zlib --disable-manual --disable-ldap + + In most cases, eCos users will be using libcurl from within a custom + embedded application. Using the standard 'curl' executable from + within eCos means facing the limitation of the standard eCos C + startup code which does not allow passing arguments in main(). To + run 'curl' from eCos and have it do something useful, you will need + to either modify the eCos startup code to pass in some arguments, or + modify the curl application itself to retrieve its arguments from + some location set by the bootloader or hard-code them. + + Something like the following patch could be used to hard-code some + arguments. The MTAB_ENTRY line mounts a RAM disk as the root filesystem + (without mounting some kind of filesystem, eCos errors out all file + operations which curl does not take to well). The next section synthesizes + some command-line arguments for curl to use, in this case to direct curl + to read further arguments from a file. It then creates that file on the + RAM disk and places within it a URL to download: a file: URL that + just happens to point to the configuration file itself. The results + of running curl in this way is the contents of the configuration file + printed to the console. + +--- src/main.c 19 Jul 2006 19:09:56 -0000 1.363 ++++ src/main.c 24 Jul 2006 21:37:23 -0000 +@@ -4286,11 +4286,31 @@ + } + + ++#ifdef __ECOS ++#include ++MTAB_ENTRY( testfs_mte1, ++ "/", ++ "ramfs", ++ "", ++ 0); ++#endif + + int main(int argc, char *argv[]) + { + int res; + struct Configurable config; ++#ifdef __ECOS ++ char *args[] = {"ecos-curl", "-K", "curlconf.txt"}; ++ FILE *f; ++ argc = sizeof(args)/sizeof(args[0]); ++ argv = args; ++ ++ f = fopen("curlconf.txt", "w"); ++ if (f) { ++ fprintf(f, "--url file:curlconf.txt"); ++ fclose(f); ++ } ++#endif + memset(&config, 0, sizeof(struct Configurable)); + + config.errors = stderr; /* default errors to stderr */ + + +Minix +===== + curl can be compiled on Minix 3 using gcc or ACK (starting with + ver. 3.1.3). Ensure that GNU gawk and bash are both installed and + available in the PATH. + + ACK + --- + Increase the heap sizes of the compiler with the command: + + binsizes xxl + + then configure and compile curl with: + + ./configure CC=cc LD=cc AR=/usr/bin/aal GREP=grep \ + CPPFLAGS='-D_POSIX_SOURCE=1 -I/usr/local/include' + make + chmem =256000 src/curl + + GCC + --- + Make sure gcc is in your PATH with the command: + + export PATH=/usr/gnu/bin:$PATH + + then configure and compile curl with: + + ./configure CC=gcc AR=/usr/gnu/bin/gar GREP=grep + make + chmem =256000 src/curl + + +Symbian OS +========== + The Symbian OS port uses the Symbian build system to compile. From the + packages/Symbian/group/ directory, run: + + bldmake bldfiles + abld build + + to compile and install curl and libcurl using SBSv1. If your Symbian + SDK doesn't include support for P.I.P.S., you will need to contact + your SDK vendor to obtain that first. + + +VxWorks +======== + Build for VxWorks is performed using cross compilation. + That means you build on Windows machine using VxWorks tools and + run the built image on the VxWorks device. + + To build libcurl for VxWorks you need: + + - CYGWIN (free, http://cygwin.com/) + - Wind River Workbench (commercial) + + If you have CYGWIN and Workbench installed on you machine + follow after next steps: + + 1. Open the Command Prompt window and change directory ('cd') + to the libcurl 'lib' folder. + 2. Add CYGWIN 'bin' folder to the PATH environment variable. + For example, type 'set PATH=C:/embedded/cygwin/bin;%PATH%'. + 3. Adjust environment variables defined in 'Environment' section + of the Makefile.vxworks file to point to your software folders. + 4. Build the libcurl by typing 'make -f ./Makefile.vxworks' + + As a result the libcurl.a library should be created in the 'lib' folder. + To clean the build results type 'make -f ./Makefile.vxworks clean'. + + +CROSS COMPILE +============= + (This section was graciously brought to us by Jim Duey, with additions by + Dan Fandrich) + + Download and unpack the cURL package. + + 'cd' to the new directory. (e.g. cd curl-7.12.3) + + Set environment variables to point to the cross-compile toolchain and call + configure with any options you need. Be sure and specify the '--host' and + '--build' parameters at configuration time. The following script is an + example of cross-compiling for the IBM 405GP PowerPC processor using the + toolchain from MonteVista for Hardhat Linux. + + (begin script) + + #! /bin/sh + + export PATH=$PATH:/opt/hardhat/devkit/ppc/405/bin + export CPPFLAGS="-I/opt/hardhat/devkit/ppc/405/target/usr/include" + export AR=ppc_405-ar + export AS=ppc_405-as + export LD=ppc_405-ld + export RANLIB=ppc_405-ranlib + export CC=ppc_405-gcc + export NM=ppc_405-nm + + ./configure --target=powerpc-hardhat-linux \ + --host=powerpc-hardhat-linux \ + --build=i586-pc-linux-gnu \ + --prefix=/opt/hardhat/devkit/ppc/405/target/usr/local \ + --exec-prefix=/usr/local + + (end script) + + You may also need to provide a parameter like '--with-random=/dev/urandom' + to configure as it cannot detect the presence of a random number + generating device for a target system. The '--prefix' parameter + specifies where cURL will be installed. If 'configure' completes + successfully, do 'make' and 'make install' as usual. + + In some cases, you may be able to simplify the above commands to as + little as: + + ./configure --host=ARCH-OS + + +REDUCING SIZE +============= + There are a number of configure options that can be used to reduce the + size of libcurl for embedded applications where binary size is an + important factor. First, be sure to set the CFLAGS variable when + configuring with any relevant compiler optimization flags to reduce the + size of the binary. For gcc, this would mean at minimum the -Os option, + and potentially the -march=X and -mdynamic-no-pic options as well, e.g. + + ./configure CFLAGS='-Os' ... + + Note that newer compilers often produce smaller code than older versions + due to improved optimization. + + Be sure to specify as many --disable- and --without- flags on the configure + command-line as you can to disable all the libcurl features that you + know your application is not going to need. Besides specifying the + --disable-PROTOCOL flags for all the types of URLs your application + will not use, here are some other flags that can reduce the size of the + library: + + --disable-ares (disables support for the C-ARES DNS library) + --disable-cookies (disables support for HTTP cookies) + --disable-crypto-auth (disables HTTP cryptographic authentication) + --disable-ipv6 (disables support for IPv6) + --disable-manual (disables support for the built-in documentation) + --disable-proxy (disables support for HTTP and SOCKS proxies) + --disable-verbose (eliminates debugging strings and error code strings) + --enable-hidden-symbols (eliminates unneeded symbols in the shared library) + --without-libidn (disables support for the libidn DNS library) + --without-ssl (disables support for SSL/TLS) + --without-zlib (disables support for on-the-fly decompression) + + The GNU compiler and linker have a number of options that can reduce the + size of the libcurl dynamic libraries on some platforms even further. + Specify them by providing appropriate CFLAGS and LDFLAGS variables on the + configure command-line: + CFLAGS="-ffunction-sections -fdata-sections" \ + LDFLAGS="-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections" + + Be sure also to strip debugging symbols from your binaries after + compiling using 'strip' (or the appropriate variant if cross-compiling). + If space is really tight, you may be able to remove some unneeded + sections of the shared library using the -R option to objcopy (e.g. the + .comment section). + + Using these techniques it is possible to create a basic HTTP-only shared + libcurl library for i386 Linux platforms that is only 98 KiB in size, and + an FTP-only library that is 94 KiB in size (as of libcurl version 7.20.0, + using gcc 4.3.3). + + You may find that statically linking libcurl to your application will + result in a lower total size than dynamically linking. + + Note that the curl test harness can detect the use of some, but not all, of + the --disable statements suggested above. Use will cause tests relying on + those features to fail. The test harness can be manually forced to skip + the relevant tests by specifying certain key words on the runtests.pl + command line. Following is a list of appropriate key words: + + --disable-cookies !cookies + --disable-crypto-auth !HTTP\ Digest\ auth !HTTP\ proxy\ Digest\ auth + --disable-manual !--manual + --disable-proxy !HTTP\ proxy !proxytunnel !SOCKS4 !SOCKS5 + + +PORTS +===== + This is a probably incomplete list of known hardware and operating systems + that curl has been compiled for. If you know a system curl compiles and + runs on, that isn't listed, please let us know! + + - Alpha DEC OSF 4 + - Alpha Digital UNIX v3.2 + - Alpha FreeBSD 4.1, 4.5 + - Alpha Linux 2.2, 2.4 + - Alpha NetBSD 1.5.2 + - Alpha OpenBSD 3.0 + - Alpha OpenVMS V7.1-1H2 + - Alpha Tru64 v5.0 5.1 + - AVR32 Linux + - ARM Android 1.5 + - ARM INTEGRITY + - ARM iPhone OS + - Cell Linux + - Cell Cell OS + - HP-PA HP-UX 9.X 10.X 11.X + - HP-PA Linux + - HP3000 MPE/iX + - MicroBlaze uClinux + - MIPS IRIX 6.2, 6.5 + - MIPS Linux + - OS/400 + - Pocket PC/Win CE 3.0 + - Power AIX 3.2.5, 4.2, 4.3.1, 4.3.2, 5.1, 5.2 + - PowerPC Darwin 1.0 + - PowerPC INTEGRITY + - PowerPC Linux + - PowerPC Mac OS 9 + - PowerPC Mac OS X + - SH4 Linux 2.6.X + - SH4 OS21 + - SINIX-Z v5 + - Sparc Linux + - Sparc Solaris 2.4, 2.5, 2.5.1, 2.6, 7, 8, 9, 10 + - Sparc SunOS 4.1.X + - StrongARM (and other ARM) RISC OS 3.1, 4.02 + - StrongARM/ARM7/ARM9 Linux 2.4, 2.6 + - StrongARM NetBSD 1.4.1 + - Symbian OS (P.I.P.S.) 9.x + - TPF + - Ultrix 4.3a + - UNICOS 9.0 + - i386 BeOS + - i386 DOS + - i386 eCos 1.3.1 + - i386 Esix 4.1 + - i386 FreeBSD + - i386 HURD + - i386 Haiku OS + - i386 Linux 1.3, 2.0, 2.2, 2.3, 2.4, 2.6 + - i386 MINIX 3.1 + - i386 NetBSD + - i386 Novell NetWare + - i386 OS/2 + - i386 OpenBSD + - i386 QNX 6 + - i386 SCO unix + - i386 Solaris 2.7 + - i386 Windows 95, 98, ME, NT, 2000, XP, 2003 + - i486 ncr-sysv4.3.03 (NCR MP-RAS) + - ia64 Linux 2.3.99 + - m68k AmigaOS 3 + - m68k Linux + - m68k uClinux + - m68k OpenBSD + - m88k dg-dgux5.4R3.00 + - s390 Linux + - x86_64 Linux + - XScale/PXA250 Linux 2.4 + - Nios II uClinux + +Useful URLs +=========== + +OpenSSL http://www.openssl.org +MingW http://www.mingw.org +OpenLDAP http://www.openldap.org +Zlib http://www.gzip.org/zlib/ +libssh2 http://www.libssh2.org + + diff --git a/vendor/voclient/common/curl-7.20.1/docs/INSTALL.devcpp b/vendor/voclient/common/curl-7.20.1/docs/INSTALL.devcpp new file mode 100644 index 00000000..7f58e4b0 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/INSTALL.devcpp @@ -0,0 +1,302 @@ +DevCpp-Mingw Install & Compilation Sept 2005 +================================== + +Reference Emails available at curl@haxx.se: + + Libcurl Install and Use Issues + Awaiting an Answer for Win 32 Install + res = curl_easy_perform(curl); Error + Makefile Issues + + +Having previously done a thorough review of what was available that met my +requirements under GPL, I settled for Libcurl as the software of choice for +many reasons not the least of which was the support. + +Background +---------- + +This quest started when I innocently tried to incorporate the libcurl library +into my simple source code. I figured that a few easy steps would accomplish +this without major headaches. I had no idea that I would be facing an almost +insurmountable challenge. + +The main problem lies in two areas. First the bulk of support for libcurl +exists for a Unix/linux command line environments. This is of little help when +it comes to Windows O/S. + +Secondly the help that does exist for the Windows O/S focused around mingw +thru a command line argument environment. + +You may ask "Why is this a problem?" + +I'm using a Windows O/S with DevCpp. For those of you who are unfamiliar with +DevCpp, it is a window shell GUI that replaces the command line environment +for gcc. A definite improvement that I am unwilling to give up. However using +DevCpp presented its own set of issues. Inadvertently I also made some +careless errors such as compiling the 7.14 version of Makefile with an older +version of source code. Thanks to Dan Fandrich for picking this up. + +I did eventually with the help of Daniel, Phillipe and others manage to +implement successfully (the only mingw available version) +curl-7.13.0-win32-ssl-devel-mingw32 into the DevCpp environment. Only the +dynamic libcurl.dll libcurldll.a libraries worked. The static library which I +was interested in did not. Furthermore when I tried to implement one of the +examples included with the curl package (get info.c) it caused the executable +to crash. Tracing the bug I found it in the code and function res = +curl_easy_perform(curl);. + +At this point I had to make a choice as to whether invest my limited +time-energy resource to fixing the bug or to compile the new version +available. After searching the archives I found a very similar or the same bug +reported from version 7.12x on. Daniel did inform me that he thought that this +bug had been fixed with the latest version. So I proceeded to compile the +latest SSL version where I faced other challenges. + +In order to make this process unremarkable for others using the same +environment I decided to document the process so that others will find it +routine. It would be a shame if newbies could not implement this excellent +package for their use. + +I would like to thank the many others in this forum and in the DevCpp forum +for their help. Without your help I may either have given up or it would have +taken me many times longer to achieve success. + +The Cookbook Approach +--------------------- + +This discussion will be confined to a SSL static library compilation and +installation. Limited mention and comments will be inserted where appropriate +to help with non-SSL, dynamic libraries and executables. + + + Using Makefile from DevCpp to compile Libcurl libraries + +Preamble +-------- + +Using the latest version release - curl-7.14.0.tar.gz. Curl source code is +platform independent. This simply means that the source code can be compiled +for any Operating System (Linux/Unix Windows etc. and variations of thereof). + +The first thing to note is that inside curl-7.14.0 you will find two folders +lib and src. Both contain Makefile.m32 (required for win mingw library or exe +compilation) files which are different. The main difference between these two +folders and the makefiles is that the src folder contents are used to compile +an executable file(curl.exe) while the lib folder contents are used to compile +a static (libcurl.a) and dynamic (libcurl.dll & libcurldll.a) file that can be +used to compile libcurl with your own source code so that one can use and +access all libcurl functions. + +Before we start please make sure that DevCpp is installed properly. In +particular make sure you have no spaces in the name of any of the directories +and subdirectories where DevCpp is installed. Failure to comply with the +install instructions may produce erratic behaviour in DevCpp. For further info +check the following sites + +http://aditsu.freeunixhost.com/dev-cpp-faq.html +http://sourceforge.net/forum/message.php?msg_id=3252213 + +As I have mentioned before I will confine this to the SSL Library compilations +but the process is very similar for compilation of the executable - curl.exe; +just substitute the src folder makefile in its stead. + +First use a text processor Notepad, or your own favourite text processor. To +engage your favourite text processor, select Makefile.m32 click once with your +mouse on file icon; icon turns blue, press the shift key and right-click on +mouse, menu appears select "Open with", select your favourite text processor. + +Next read the contents of Makefile.m32. It includes instructions on its use. + +Method I - DOS Command Line +--------------------------- + +Note - The only reason I have included this method is that Method II which is +the preferred method for compiling does not allow for the setting of option +switches (e.g. SSL = 1 or SSL =0). At least that's what they tell me at the +Dev-Cpp forum. + +1 - Make a copy of (D:\Dev-Cpp\bin) bin folder and name it "bin Original" +place it in the Dev-Cpp installed directory (D:\Dev-Cpp\ for this example) + +2 - Copy the entire contents of the LIB folder of curl-7.14.0.tar.gz or zip +version into the bin folder above (D:\Dev-Cpp\bin). The reason being is that +the make.exe file resides in this folder. Make.exe will use - Makefile.m32, +Makefile.inc, and the source code included in the lib folder to compile the +source code. There is a PATH issue with make.exe that remains unresolved at +least for me. Unless the entire source code to be compiled is placed entirely +within the directory of make.exe an error message will be generated - "file +xxxx.yyy not available". + +3- Go to Dev-Cpp\bin and double click on make .exe. You will see a DOS window +quickly pop up and close very quickly. Not to worry! Please do not skip this +step. + +4- Click on the start button\Programs\MS-DOS Prompt.Once the DOS Window is up +Type the disk drive letter (e.g. E: ) engage the enter button. The path should +automatically take you to the directory of the make.exe file. + +5- To compile the source code simply type at the DOS prompt make -f +Makefile.m32 as per instructions contained in the Makefile.m32 file (use any +text processor to read instructions). I don't believe that this makefile +allows for the option of non SSL. Ignore any warnings. + +6- Collect and make copies of libcurl.a, libcurl.dll, libcurldll.a and any *.o +compilations you might need in another directory outside of the bin directory +as you will need this files shortly to set up libcurl for use with +Dev-cpp. For most apps *.o is not required. Later on we will show what to do +with these files. + +7- You are finished but before closing we need to do cleanup - erase the bin +folder and rename the "bin Original" folder created in step 1 to bin. + +Note to compile a curl executable the process is probably similar but instead +of using the LIB folder contents use the SRC folder contents and Makefiles in +curl-7.14.0.tar.gz. File directories relative placements must be respected for +compiling to take place successfully. This may not be possible with the PATH +problem that make.exe experiences. If anyone has solved this PATH issue and +please make sure it actually works on Win 9x/2000/XP before letting me +know. Then please let me or Daniel in on the solution so that it can be +included with these instructions. Thanks. + +or + +Method II - Dev-Cpp GUI +----------------------- + +1- Copy the entire contents of the LIB folder of curl-7.14.0.tar.gz or zip +version into any folder outside of (Dev-Cpp\bin). + +2- Drop the File/New/click on Project. + +3- New Project Dialogue box appears. Double click on the Static Library. + +4- Create Project Dialogue box appears. Select the LIB folder location to +place and locate your Project File Name. Placing the Project File Name +elsewhere may cause problems (PATH issue problem again). + +5- Drop down the Project/Project Options. Project Options Dialogue box +appears. + +6- Select the Makefile tab in the Project Options Dialogue Box. Check Box - +Use Custom Makefile. Click on the Folder icon at the extreme right of the +Check Box. Select Makefile.m32 in the folder wherever you have placed the +contents of the LIB Folder. Press OK and close the Dialogue Box. + +7- Drop the Menu Project/Click on Add to Project. Open File Dialogue Box +appears. The Dialogue Box should open in the folder wherever you have placed +the contents of the LIB Folder. If not go there. + +8- Select Crtl-A to select all files in the LIB folder. Click on open to add +files and close box. Wait till all files are added. This may take 30 seconds +or longer. + +9- Drop the Menu Execute/Click on Compile. + +10- That's it. + + + The following steps must be completed if Curl is to work properly + ================================================================= + +LIB folder inclusions (*.a placement) +------------------------------------- + +1- Refer to Method I - DOS Command Line point # 6 Take libcurl.a, libcurldll.a +and install it in the directory C( or whichever drive Dev is installed) +:\Dev-Cpp\lib. + + +Include Folder +-------------- + +1- Create a new folder by the name of curl (do not change the name curl to +some other name as it will cause major issues) in the directory +C:\Dev-Cpp\include. + +2- Copy the entire contents of the curl folder of curl-7.14.0.tar.gz or zip + version into the newly created curl directory - C:\Dev-Cpp\include\curl. + +Links To Include And Lib Folder +------------------------------- + +1- Drop the Menu - Tools\Compiler Options\Directories\Libraries. Make sure +that C( or whichever drive Dev is installed):\DEV-CPP\lib is included. + +2- Next select the Menu - Tools\Compiler Options\Directories\C Includes. Make +sure that C:\DEV-CPP\include and C:\Dev-Cpp\include\curl are included. + +3- Next select the Menu - Tools\Compiler Options\Directories\C++ +Includes. Make sure that C:\DEV-CPP\include and C:\Dev-Cpp\include\curl are +included. + +Linker Links +------------ + +1- Drop the Menu - Tools\Compiler Options\Directories\Compiler. + +2- Make sure that the box "Add these commands to the linker command line" is +checked. + +3- Include in the white space immediately below the box referred in 2 -lcurl +-lws2_32. + +SSL Files +--------- + +1- Get the latest openSSL (as of time of this writing) +openssl-0.9.7e-win32-bin.zip for the minimalist package of the openssl-0.9.7e +binaries ported to MS Windows 95/98/NT/XP using the MingW32/GCC-3.1 +development environment. The file may be downloaded at +http://curl.haxx.se/download/. + +2- Open the above zip file. You will find two files - SDL.dll, +SDL_mixer.dll. Install them in the directory C:\WINDOWS\SYSTEM32 for Win 9x +users and c:\winnt\system32 for NT-family users. + +Multithreading Files +-------------------- + +To be completed + +#define +------- + +1- Make sure that your program includes the following - #define CURL_STATICLIB +must be declared FIRST before any other define functions may be +added. Otherwise you may experience link errors. + +2- Don't forget to include #include "curl/curl.h". + +e.g. + #define CURL_STATICLIB +#include + #include "curl/curl.h" +#include +#include +#include +etc... + + +Static or Dynamic Library +------------------------- + +The above steps apply for the use by a static library. Should you choose to +use a dynamic library you will be required to perform these additional steps. + +1- Refer to Method I - DOS Command Line point # 6. Install libcurl.dll in the +directory C:\WINDOWS\SYSTEM32 for Win 9x users and c:\winnt\system32 for +NT-family users. + +2- Refer to Linker Links point 3 - Replace -lcurl with -lcurldll. + +Voila you're done. + +The non-SSL static Library build may not be possible to use at least as of the +time of this writing - v7.14. Check reference emails - Phillipe and I found it +impossible to fully compile as certain files were missing for linking. No big +loss as SSL is a major plus. + +Hope this Helps + +Tom diff --git a/vendor/voclient/common/curl-7.20.1/docs/INTERNALS b/vendor/voclient/common/curl-7.20.1/docs/INTERNALS new file mode 100644 index 00000000..630b72b0 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/INTERNALS @@ -0,0 +1,488 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + +INTERNALS + + The project is split in two. The library and the client. The client part uses + the library, but the library is designed to allow other applications to use + it. + + The largest amount of code and complexity is in the library part. + +GIT +=== + All changes to the sources are committed to the git repository as soon as + they're somewhat verified to work. Changes shall be commited as independently + as possible so that individual changes can be easier spotted and tracked + afterwards. + + Tagging shall be used extensively, and by the time we release new archives we + should tag the sources with a name similar to the released version number. + +Portability +=========== + + We write curl and libcurl to compile with C89 compilers. On 32bit and up + machines. Most of libcurl assumes more or less POSIX compliance but that's + not a requirement. + + We write libcurl to build and work with lots of third party tools, and we + want it to remain functional and buildable with these and later versions + (older versions may still work but is not what we work hard to maintain): + + OpenSSL 0.9.6 + GnuTLS 1.2 + zlib 1.1.4 + libssh2 0.16 + c-ares 1.5.0 + libidn 0.4.1 + *yassl 1.4.0 (http://curl.haxx.se/mail/lib-2008-02/0093.html) + openldap 2.0 + MIT krb5 lib 1.2.4 + qsossl V5R2M0 + NSS 3.11.x + Heimdal ? + + * = only partly functional, but that's due to bugs in the third party lib, not + because of libcurl code + + On systems where configure runs, we aim at working on them all - if they have + a suitable C compiler. On systems that don't run configure, we strive to keep + curl running fine on: + + Windows 98 + AS/400 V5R2M0 + Symbian 9.1 + Windows CE ? + TPF ? + + When writing code (mostly for generating stuff included in release tarballs) + we use a few "build tools" and we make sure that we remain functional with + these versions: + + GNU Libtool 1.4.2 + GNU Autoconf 2.57 + GNU Automake 1.7 (we currently avoid 1.10 due to Solaris-related bugs) + GNU M4 1.4 + perl 4 + roffit 0.5 + groff ? (any version that supports "groff -Tps -man [in] [out]") + ps2pdf (gs) ? + +Windows vs Unix +=============== + + There are a few differences in how to program curl the unix way compared to + the Windows way. The four perhaps most notable details are: + + 1. Different function names for socket operations. + + In curl, this is solved with defines and macros, so that the source looks + the same at all places except for the header file that defines them. The + macros in use are sclose(), sread() and swrite(). + + 2. Windows requires a couple of init calls for the socket stuff. + + That's taken care of by the curl_global_init() call, but if other libs also + do it etc there might be reasons for applications to alter that behaviour. + + 3. The file descriptors for network communication and file operations are + not easily interchangable as in unix. + + We avoid this by not trying any funny tricks on file descriptors. + + 4. When writing data to stdout, Windows makes end-of-lines the DOS way, thus + destroying binary data, although you do want that conversion if it is + text coming through... (sigh) + + We set stdout to binary under windows + + Inside the source code, We make an effort to avoid '#ifdef [Your OS]'. All + conditionals that deal with features *should* instead be in the format + '#ifdef HAVE_THAT_WEIRD_FUNCTION'. Since Windows can't run configure scripts, + we maintain two curl_config-win32.h files (one in lib/ and one in src/) that + are supposed to look exactly as a curl_config.h file would have looked like on + a Windows machine! + + Generally speaking: always remember that this will be compiled on dozens of + operating systems. Don't walk on the edge. + +Library +======= + + There are plenty of entry points to the library, namely each publicly defined + function that libcurl offers to applications. All of those functions are + rather small and easy-to-follow. All the ones prefixed with 'curl_easy' are + put in the lib/easy.c file. + + curl_global_init_() and curl_global_cleanup() should be called by the + application to initialize and clean up global stuff in the library. As of + today, it can handle the global SSL initing if SSL is enabled and it can init + the socket layer on windows machines. libcurl itself has no "global" scope. + + All printf()-style functions use the supplied clones in lib/mprintf.c. This + makes sure we stay absolutely platform independent. + + curl_easy_init() allocates an internal struct and makes some initializations. + The returned handle does not reveal internals. This is the 'SessionHandle' + struct which works as an "anchor" struct for all curl_easy functions. All + connections performed will get connect-specific data allocated that should be + used for things related to particular connections/requests. + + curl_easy_setopt() takes three arguments, where the option stuff must be + passed in pairs: the parameter-ID and the parameter-value. The list of + options is documented in the man page. This function mainly sets things in + the 'SessionHandle' struct. + + curl_easy_perform() does a whole lot of things: + + It starts off in the lib/easy.c file by calling Curl_perform() and the main + work then continues in lib/url.c. The flow continues with a call to + Curl_connect() to connect to the remote site. + + o Curl_connect() + + ... analyzes the URL, it separates the different components and connects to + the remote host. This may involve using a proxy and/or using SSL. The + Curl_resolv() function in lib/hostip.c is used for looking up host names + (it does then use the proper underlying method, which may vary between + platforms and builds). + + When Curl_connect is done, we are connected to the remote site. Then it is + time to tell the server to get a document/file. Curl_do() arranges this. + + This function makes sure there's an allocated and initiated 'connectdata' + struct that is used for this particular connection only (although there may + be several requests performed on the same connect). A bunch of things are + inited/inherited from the SessionHandle struct. + + o Curl_do() + + Curl_do() makes sure the proper protocol-specific function is called. The + functions are named after the protocols they handle. Curl_ftp(), + Curl_http(), Curl_dict(), etc. They all reside in their respective files + (ftp.c, http.c and dict.c). HTTPS is handled by Curl_http() and FTPS by + Curl_ftp(). + + The protocol-specific functions of course deal with protocol-specific + negotiations and setup. They have access to the Curl_sendf() (from + lib/sendf.c) function to send printf-style formatted data to the remote + host and when they're ready to make the actual file transfer they call the + Curl_Transfer() function (in lib/transfer.c) to setup the transfer and + returns. + + If this DO function fails and the connection is being re-used, libcurl will + then close this connection, setup a new connection and re-issue the DO + request on that. This is because there is no way to be perfectly sure that + we have discovered a dead connection before the DO function and thus we + might wrongly be re-using a connection that was closed by the remote peer. + + Some time during the DO function, the Curl_setup_transfer() function must + be called with some basic info about the upcoming transfer: what socket(s) + to read/write and the expected file tranfer sizes (if known). + + o Transfer() + + Curl_perform() then calls Transfer() in lib/transfer.c that performs the + entire file transfer. + + During transfer, the progress functions in lib/progress.c are called at a + frequent interval (or at the user's choice, a specified callback might get + called). The speedcheck functions in lib/speedcheck.c are also used to + verify that the transfer is as fast as required. + + o Curl_done() + + Called after a transfer is done. This function takes care of everything + that has to be done after a transfer. This function attempts to leave + matters in a state so that Curl_do() should be possible to call again on + the same connection (in a persistent connection case). It might also soon + be closed with Curl_disconnect(). + + o Curl_disconnect() + + When doing normal connections and transfers, no one ever tries to close any + connections so this is not normally called when curl_easy_perform() is + used. This function is only used when we are certain that no more transfers + is going to be made on the connection. It can be also closed by force, or + it can be called to make sure that libcurl doesn't keep too many + connections alive at the same time (there's a default amount of 5 but that + can be changed with the CURLOPT_MAXCONNECTS option). + + This function cleans up all resources that are associated with a single + connection. + + Curl_perform() is the function that does the main "connect - do - transfer - + done" loop. It loops if there's a Location: to follow. + + When completed, the curl_easy_cleanup() should be called to free up used + resources. It runs Curl_disconnect() on all open connectons. + + A quick roundup on internal function sequences (many of these call + protocol-specific function-pointers): + + curl_connect - connects to a remote site and does initial connect fluff + This also checks for an existing connection to the requested site and uses + that one if it is possible. + + curl_do - starts a transfer + curl_transfer() - transfers data + curl_done - ends a transfer + + curl_disconnect - disconnects from a remote site. This is called when the + disconnect is really requested, which doesn't necessarily have to be + exactly after curl_done in case we want to keep the connection open for + a while. + + HTTP(S) + + HTTP offers a lot and is the protocol in curl that uses the most lines of + code. There is a special file (lib/formdata.c) that offers all the multipart + post functions. + + base64-functions for user+password stuff (and more) is in (lib/base64.c) and + all functions for parsing and sending cookies are found in (lib/cookie.c). + + HTTPS uses in almost every means the same procedure as HTTP, with only two + exceptions: the connect procedure is different and the function used to read + or write from the socket is different, although the latter fact is hidden in + the source by the use of curl_read() for reading and curl_write() for writing + data to the remote server. + + http_chunks.c contains functions that understands HTTP 1.1 chunked transfer + encoding. + + An interesting detail with the HTTP(S) request, is the add_buffer() series of + functions we use. They append data to one single buffer, and when the + building is done the entire request is sent off in one single write. This is + done this way to overcome problems with flawed firewalls and lame servers. + + FTP + + The Curl_if2ip() function can be used for getting the IP number of a + specified network interface, and it resides in lib/if2ip.c. + + Curl_ftpsendf() is used for sending FTP commands to the remote server. It was + made a separate function to prevent us programmers from forgetting that they + must be CRLF terminated. They must also be sent in one single write() to make + firewalls and similar happy. + + Kerberos + + The kerberos support is mainly in lib/krb4.c and lib/security.c. + + TELNET + + Telnet is implemented in lib/telnet.c. + + FILE + + The file:// protocol is dealt with in lib/file.c. + + LDAP + + Everything LDAP is in lib/ldap.c. + + GENERAL + + URL encoding and decoding, called escaping and unescaping in the source code, + is found in lib/escape.c. + + While transfering data in Transfer() a few functions might get used. + curl_getdate() in lib/parsedate.c is for HTTP date comparisons (and more). + + lib/getenv.c offers curl_getenv() which is for reading environment variables + in a neat platform independent way. That's used in the client, but also in + lib/url.c when checking the proxy environment variables. Note that contrary + to the normal unix getenv(), this returns an allocated buffer that must be + free()ed after use. + + lib/netrc.c holds the .netrc parser + + lib/timeval.c features replacement functions for systems that don't have + gettimeofday() and a few support functions for timeval convertions. + + A function named curl_version() that returns the full curl version string is + found in lib/version.c. + +Persistent Connections +====================== + + The persistent connection support in libcurl requires some considerations on + how to do things inside of the library. + + o The 'SessionHandle' struct returned in the curl_easy_init() call must never + hold connection-oriented data. It is meant to hold the root data as well as + all the options etc that the library-user may choose. + o The 'SessionHandle' struct holds the "connection cache" (an array of + pointers to 'connectdata' structs). There's one connectdata struct + allocated for each connection that libcurl knows about. Note that when you + use the multi interface, the multi handle will hold the connection cache + and not the particular easy handle. This of course to allow all easy handles + in a multi stack to be able to share and re-use connections. + o This enables the 'curl handle' to be reused on subsequent transfers. + o When we are about to perform a transfer with curl_easy_perform(), we first + check for an already existing connection in the cache that we can use, + otherwise we create a new one and add to the cache. If the cache is full + already when we add a new connection, we close one of the present ones. We + select which one to close dependent on the close policy that may have been + previously set. + o When the transfer operation is complete, we try to leave the connection + open. Particular options may tell us not to, and protocols may signal + closure on connections and then we don't keep it open of course. + o When curl_easy_cleanup() is called, we close all still opened connections, + unless of course the multi interface "owns" the connections. + + You do realize that the curl handle must be re-used in order for the + persistent connections to work. + +multi interface/non-blocking +============================ + + We make an effort to provide a non-blocking interface to the library, the + multi interface. To make that interface work as good as possible, no + low-level functions within libcurl must be written to work in a blocking + manner. + + One of the primary reasons we introduced c-ares support was to allow the name + resolve phase to be perfectly non-blocking as well. + + The ultimate goal is to provide the easy interface simply by wrapping the + multi interface functions and thus treat everything internally as the multi + interface is the single interface we have. + + The FTP and the SFTP/SCP protocols are thus perfect examples of how we adapt + and adjust the code to allow non-blocking operations even on multi-stage + protocols. The DICT, TELNET and TFTP are crappy examples and they are subject + for rewrite in the future to better fit the libcurl protocol family. + +SSL libraries +============= + + Originally libcurl supported SSLeay for SSL/TLS transports, but that was then + extended to its successor OpenSSL but has since also been extended to several + other SSL/TLS libraries and we expect and hope to further extend the support + in future libcurl versions. + + To deal with this internally in the best way possible, we have a generic SSL + function API as provided by the sslgen.[ch] system, and they are the only SSL + functions we must use from within libcurl. sslgen is then crafted to use the + appropriate lower-level function calls to whatever SSL library that is in + use. + +Library Symbols +=============== + + All symbols used internally in libcurl must use a 'Curl_' prefix if they're + used in more than a single file. Single-file symbols must be made static. + Public ("exported") symbols must use a 'curl_' prefix. (There are exceptions, + but they are to be changed to follow this pattern in future versions.) + +Return Codes and Informationals +=============================== + + I've made things simple. Almost every function in libcurl returns a CURLcode, + that must be CURLE_OK if everything is OK or otherwise a suitable error code + as the curl/curl.h include file defines. The very spot that detects an error + must use the Curl_failf() function to set the human-readable error + description. + + In aiding the user to understand what's happening and to debug curl usage, we + must supply a fair amount of informational messages by using the Curl_infof() + function. Those messages are only displayed when the user explicitly asks for + them. They are best used when revealing information that isn't otherwise + obvious. + +API/ABI +======= + + We make an effort to not export or show internals or how internals work, as + that makes it easier to keep a solid API/ABI over time. See docs/libcurl/ABI + for our promise to users. + +Client +====== + + main() resides in src/main.c together with most of the client code. + + src/hugehelp.c is automatically generated by the mkhelp.pl perl script to + display the complete "manual" and the src/urlglob.c file holds the functions + used for the URL-"globbing" support. Globbing in the sense that the {} and [] + expansion stuff is there. + + The client mostly messes around to setup its 'config' struct properly, then + it calls the curl_easy_*() functions of the library and when it gets back + control after the curl_easy_perform() it cleans up the library, checks status + and exits. + + When the operation is done, the ourWriteOut() function in src/writeout.c may + be called to report about the operation. That function is using the + curl_easy_getinfo() function to extract useful information from the curl + session. + + Recent versions may loop and do all this several times if many URLs were + specified on the command line or config file. + +Memory Debugging +================ + + The file lib/memdebug.c contains debug-versions of a few functions. Functions + such as malloc, free, fopen, fclose, etc that somehow deal with resources + that might give us problems if we "leak" them. The functions in the memdebug + system do nothing fancy, they do their normal function and then log + information about what they just did. The logged data can then be analyzed + after a complete session, + + memanalyze.pl is the perl script present in tests/ that analyzes a log file + generated by the memory tracking system. It detects if resources are + allocated but never freed and other kinds of errors related to resource + management. + + Internally, definition of preprocessor symbol DEBUGBUILD restricts code which + is only compiled for debug enabled builds. And symbol CURLDEBUG is used to + differentiate code which is _only_ used for memory tracking/debugging. + + Use -DCURLDEBUG when compiling to enable memory debugging, this is also + switched on by running configure with --enable-curldebug. Use -DDEBUGBUILD + when compiling to enable a debug build or run configure with --enable-debug. + + curl --version will list 'Debug' feature for debug enabled builds, and + will list 'TrackMemory' feature for curl debug memory tracking capable + builds. These features are independent and can be controlled when running + the configure script. When --enable-debug is given both features will be + enabled, unless some restriction prevents memory tracking from being used. + +Test Suite +========== + + Since November 2000, a test suite has evolved. It is placed in its own + subdirectory directly off the root in the curl archive tree, and it contains + a bunch of scripts and a lot of test case data. + + The main test script is runtests.pl that will invoke the two servers + httpserver.pl and ftpserver.pl before all the test cases are performed. The + test suite currently only runs on unix-like platforms. + + You'll find a complete description of the test case data files in the + tests/README file. + + The test suite automatically detects if curl was built with the memory + debugging enabled, and if it was it will detect memory leaks too. + +Building Releases +================= + + There's no magic to this. When you consider everything stable enough to be + released, run the 'maketgz' script (using 'make distcheck' will give you a + pretty good view on the status of the current sources). maketgz prompts for + version number of the client and the library before it creates a release + archive. maketgz uses 'make dist' for the actual archive building, why you + need to fill in the Makefile.am files properly for which files that should + be included in the release archives. + + NOTE: you need to have curl checked out from git to be able to do a proper + release build. The release tarballs do not have everything setup in order to + do releases properly. diff --git a/vendor/voclient/common/curl-7.20.1/docs/KNOWN_BUGS b/vendor/voclient/common/curl-7.20.1/docs/KNOWN_BUGS new file mode 100644 index 00000000..92b92ff5 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/KNOWN_BUGS @@ -0,0 +1,235 @@ +These are problems known to exist at the time of this release. Feel free to +join in and help us correct one or more of these! Also be sure to check the +changelog of the current development status, as one or more of these problems +may have been fixed since this was written! + +75. NTLM authentication involving unicode user name or password. + http://curl.haxx.se/mail/lib-2009-10/0024.html + http://curl.haxx.se/bug/view.cgi?id=2944325 + +74. The HTTP spec allows headers to be merged and become comma-separated + instead of being repeated several times. This also include Authenticate: and + Proxy-Authenticate: headers and while this hardly every happens in real life + it will confuse libcurl which does not properly support it for all headers - + like those Authenticate headers. + +73. if a connection is made to a FTP server but the server then just never + sends the 220 response or otherwise is dead slow, libcurl will not + acknowledge the connection timeout during that phase but only the "real" + timeout - which may surprise users as it is probably considered to be the + connect phase to most people. Brought up (and is being misunderstood) in: + http://curl.haxx.se/bug/view.cgi?id=2844077 + +72. "Pausing pipeline problems." + http://curl.haxx.se/mail/lib-2009-07/0214.html + +70. Problem re-using easy handle after call to curl_multi_remove_handle + http://curl.haxx.se/mail/lib-2009-07/0249.html + +68. "More questions about ares behavior". + http://curl.haxx.se/mail/lib-2009-08/0012.html + +67. When creating multipart formposts. The file name part can be encoded with + something beyond ascii but currently libcurl will only pass in the verbatim + string the app provides. There are several browsers that already do this + encoding. The key seems to be the updated draft to RFC2231: + http://tools.ietf.org/html/draft-reschke-rfc2231-in-http-02 + +66. When using telnet, the time limitation options don't work. + http://curl.haxx.se/bug/view.cgi?id=2818950 + +65. When doing FTP over a socks proxy or CONNECT through HTTP proxy and the + multi interface is used, libcurl will fail if the (passive) TCP connection + for the data transfer isn't more or less instant as the code does not + properly wait for the connect to be confirmed. See test case 564 for a first + shot at a test case. + +63. When CURLOPT_CONNECT_ONLY is used, the handle cannot reliably be re-used + for any further requests or transfers. The work-around is then to close that + handle with curl_easy_cleanup() and create a new. Some more details: + http://curl.haxx.se/mail/lib-2009-04/0300.html + +62. CURLOPT_TIMEOUT does not work properly with the regular multi and + multi_socket interfaces. The work-around for apps is to simply remove the + easy handle once the time is up. See also: + http://curl.haxx.se/bug/view.cgi?id=2501457 + +61. If an upload using Expect: 100-continue receives an HTTP 417 response, + it ought to be automatically resent without the Expect:. A workaround is + for the client application to redo the transfer after disabling Expect:. + http://curl.haxx.se/mail/archive-2008-02/0043.html + +60. libcurl closes the connection if an HTTP 401 reply is received while it + is waiting for the the 100-continue response. + http://curl.haxx.se/mail/lib-2008-08/0462.html + +59. If the CURLOPT_PORT option is used on an FTP URL like + "ftp://example.com/file;type=A" using a proxy, the ";type=A" is stripped off. + See the comment in parse_remote_port() + +58. It seems sensible to be able to use CURLOPT_NOBODY and + CURLOPT_FAILONERROR with FTP to detect if a file exists or not, but it is + not working: http://curl.haxx.se/mail/lib-2008-07/0295.html + +57. On VMS-Alpha: When using an http-file-upload the file is not sent to the + Server with the correct content-length. Sending a file with 511 or less + bytes, content-length 512 is used. Sending a file with 513 - 1023 bytes, + content-length 1024 is used. Files with a length of a multiple of 512 Bytes + show the correct content-length. Only these files work for upload. + http://curl.haxx.se/bug/view.cgi?id=2057858 + +56. When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP + server using the multi interface, the commands are not being sent correctly + and instead the connection is "cancelled" (the operation is considered done) + prematurely. There is a half-baked (busy-looping) patch provided in the bug + report but it cannot be accepted as-is. See + http://curl.haxx.se/bug/view.cgi?id=2006544 + +55. libcurl fails to build with MIT Kerberos for Windows (KfW) due to KfW's + library header files exporting symbols/macros that should be kept private + to the KfW library. See ticket #5601 at http://krbdev.mit.edu/rt/ + +52. Gautam Kachroo's issue that identifies a problem with the multi interface + where a connection can be re-used without actually being properly + SSL-negoatiated: + http://curl.haxx.se/mail/lib-2008-01/0277.html + +49. If using --retry and the transfer timeouts (possibly due to using -m or + -y/-Y) the next attempt doesn't resume the transfer properly from what was + downloaded in the previous attempt but will truncate and restart at the + original position where it was at before the previous failed attempt. See + http://curl.haxx.se/mail/lib-2008-01/0080.html and Mandriva bug report + https://qa.mandriva.com/show_bug.cgi?id=22565 + +48. If a CONNECT response-headers are larger than BUFSIZE (16KB) when the + connection is meant to be kept alive (like for NTLM proxy auth), the + function will return prematurely and will confuse the rest of the HTTP + protocol code. This should be very rare. + +43. There seems to be a problem when connecting to the Microsoft telnet server. + http://curl.haxx.se/bug/view.cgi?id=1720605 + +41. When doing an operation over FTP that requires the ACCT command (but not + when logging in), the operation will fail since libcurl doesn't detect this + and thus fails to issue the correct command: + http://curl.haxx.se/bug/view.cgi?id=1693337 + +39. Steffen Rumler's Race Condition in Curl_proxyCONNECT: + http://curl.haxx.se/mail/lib-2007-01/0045.html + +38. Kumar Swamy Bhatt's problem in ftp/ssl "LIST" operation: + http://curl.haxx.se/mail/lib-2007-01/0103.html + +37. Having more than one connection to the same host when doing NTLM + authentication (with performs multiple "passes" and authenticates a + connection rather than a HTTP request), and particularly when using the + multi interface, there's a risk that libcurl will re-use a wrong connection + when doing the different passes in the NTLM negotiation and thus fail to + negotiate (in seemingly mysterious ways). + +35. Both SOCKS5 and SOCKS4 proxy connections are done blocking, which is very + bad when used with the multi interface. + +34. The SOCKS4 connection codes don't properly acknowledge (connect) timeouts. + Also see #12. According to bug #1556528, even the SOCKS5 connect code does + not do it right: http://curl.haxx.se/bug/view.cgi?id=1556528, + +31. "curl-config --libs" will include details set in LDFLAGS when configure is + run that might be needed only for building libcurl. Further, curl-config + --cflags suffers from the same effects with CFLAGS/CPPFLAGS. + +30. You need to use -g to the command line tool in order to use RFC2732-style + IPv6 numerical addresses in URLs. + +29. IPv6 URLs with zone ID is not supported. + http://www.ietf.org/internet-drafts/draft-fenner-literal-zone-02.txt (expired) + specifies the use of a plus sign instead of a percent when specifying zone + IDs in URLs to get around the problem of percent signs being + special. According to the reporter, Firefox deals with the URL _with_ a + percent letter (which seems like a blatant URL spec violation). + + See http://curl.haxx.se/bug/view.cgi?id=1371118 + +26. NTLM authentication using SSPI (on Windows) when (lib)curl is running in + "system context" will make it use wrong(?) user name - at least when compared + to what winhttp does. See http://curl.haxx.se/bug/view.cgi?id=1281867 + +23. SOCKS-related problems: + A) libcurl doesn't support SOCKS for IPv6. + B) libcurl doesn't support FTPS over a SOCKS proxy. + E) libcurl doesn't support active FTP over a SOCKS proxy + + We probably have even more bugs and lack of features when a SOCKS proxy is + used. + +22. Sending files to a FTP server using curl on VMS, might lead to curl + complaining on "unaligned file size" on completion. The problem is related + to VMS file structures and the perceived file sizes stat() returns. A + possible fix would involve sending a "STRU VMS" command. + http://curl.haxx.se/bug/view.cgi?id=1156287 + +21. FTP ASCII transfers do not follow RFC959. They don't convert the data + accordingly (not for sending nor for receiving). RFC 959 section 3.1.1.1 + clearly describes how this should be done: + + The sender converts the data from an internal character representation to + the standard 8-bit NVT-ASCII representation (see the Telnet + specification). The receiver will convert the data from the standard + form to his own internal form. + + Since 7.15.4 at least line endings are converted. + +16. FTP URLs passed to curl may contain NUL (0x00) in the RFC 1738 , + , and components, encoded as "%00". The problem is that + curl_unescape does not detect this, but instead returns a shortened C + string. From a strict FTP protocol standpoint, NUL is a valid character + within RFC 959 , so the way to handle this correctly in curl would + be to use a data structure other than a plain C string, one that can handle + embedded NUL characters. From a practical standpoint, most FTP servers + would not meaningfully support NUL characters within RFC 959 , + anyway (e.g., UNIX pathnames may not contain NUL). + +14. Test case 165 might fail on system which has libidn present, but with an + old iconv version (2.1.3 is a known bad version), since it doesn't recognize + the charset when named ISO8859-1. Changing the name to ISO-8859-1 makes the + test pass, but instead makes it fail on Solaris hosts that use its native + iconv. + +13. curl version 7.12.2 fails on AIX if compiled with --enable-ares. + The workaround is to combine --enable-ares with --disable-shared + +12. When connecting to a SOCKS proxy, the (connect) timeout is not properly + acknowledged after the actual TCP connect (during the SOCKS "negotiate" + phase). + +10. To get HTTP Negotiate authentication to work fine, you need to provide a + (fake) user name (this concerns both curl and the lib) because the code + wrongly only considers authentication if there's a user name provided. + http://curl.haxx.se/bug/view.cgi?id=1004841. How? + http://curl.haxx.se/mail/lib-2004-08/0182.html + +8. Doing resumed upload over HTTP does not work with '-C -', because curl + doesn't do a HEAD first to get the initial size. This needs to be done + manually for HTTP PUT resume to work, and then '-C [index]'. + +6. libcurl ignores empty path parts in FTP URLs, whereas RFC1738 states that + such parts should be sent to the server as 'CWD ' (without an argument). + The only exception to this rule, is that we knowingly break this if the + empty part is first in the path, as then we use the double slashes to + indicate that the user wants to reach the root dir (this exception SHALL + remain even when this bug is fixed). + +5. libcurl doesn't treat the content-length of compressed data properly, as + it seems HTTP servers send the *uncompressed* length in that header and + libcurl thinks of it as the *compressed* length. Some explanations are here: + http://curl.haxx.se/mail/lib-2003-06/0146.html + +2. If a HTTP server responds to a HEAD request and includes a body (thus + violating the RFC2616), curl won't wait to read the response but just stop + reading and return back. If a second request (let's assume a GET) is then + immediately made to the same server again, the connection will be re-used + fine of course, and the second request will be sent off but when the + response is to get read, the previous response-body is what curl will read + and havoc is what happens. + More details on this is found in this libcurl mailing list thread: + http://curl.haxx.se/mail/lib-2002-08/0000.html diff --git a/vendor/voclient/common/curl-7.20.1/docs/LICENSE-MIXING b/vendor/voclient/common/curl-7.20.1/docs/LICENSE-MIXING new file mode 100644 index 00000000..3db1a3d7 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/LICENSE-MIXING @@ -0,0 +1,126 @@ + License Mixing with apps, libcurl and Third Party Libraries + =========================================================== + +libcurl can be built to use a fair amount of various third party libraries, +libraries that are written and provided by other parties that are distributed +using their own licenses. Even libcurl itself contains code that may cause +problems to some. This document attempts to describe what licenses libcurl and +the other libraries use and what possible dilemmas linking and mixing them all +can lead to for end users. + +I am not a lawyer and this is not legal advice! + +One common dilemma is that GPL[1]-licensed code is not allowed to be linked +with code licensed under the Original BSD license (with the announcement +clause). You may still build your own copies that use them all, but +distributing them as binaries would be to violate the GPL license - unless you +accompany your license with an exception[2]. This particular problem was +addressed when the Modified BSD license was created, which does not have the +announcement clause that collides with GPL. + +libcurl http://curl.haxx.se/docs/copyright.html + + Uses an MIT (or Modified BSD)-style license that is as liberal as + possible. Some of the source files that deal with KRB4 have Original + BSD-style announce-clause licenses. You may not distribute binaries + with krb4-enabled libcurl that also link with GPL-licensed code! + +OpenSSL http://www.openssl.org/source/license.html + + (May be used for SSL/TLS support) Uses an Original BSD-style license + with an announcement clause that makes it "incompatible" with GPL. You + are not allowed to ship binaries that link with OpenSSL that includes + GPL code (unless that specific GPL code includes an exception for + OpenSSL - a habit that is growing more and more common). If OpenSSL's + licensing is a problem for you, consider using GnuTLS or yassl + instead. + +GnuTLS http://www.gnutls.org/ + + (May be used for SSL/TLS support) Uses the LGPL[3] license. If this is + a problem for you, consider using OpenSSL instead. Also note that + GnuTLS itself depends on and uses other libs (libgcrypt and + libgpg-error) and they too are LGPL- or GPL-licensed. + +yassl http://www.yassl.com/ + + (May be used for SSL/TLS support) Uses the GPL[1] license. If this is + a problem for you, consider using OpenSSL or GnuTLS instead. + +NSS http://www.mozilla.org/projects/security/pki/nss/ + + (May be used for SSL/TLS support) Is covered by the MPL[4] license, + the GPL[1] license and the LGPL[3] license. You may choose to license + the code under MPL terms, GPL terms, or LGPL terms. These licenses + grant you different permissions and impose different obligations. You + should select the license that best meets your needs. + +c-ares http://daniel.haxx.se/projects/c-ares/license.html + + (Used for asynchronous name resolves) Uses an MIT license that is very + liberal and imposes no restrictions on any other library or part you + may link with. + +zlib http://www.gzip.org/zlib/zlib_license.html + + (Used for compressed Transfer-Encoding support) Uses an MIT-style + license that shouldn't collide with any other library. + +krb4 + + While nothing in particular says that a Kerberos4 library must use any + particular license, the one I've tried and used successfully so far + (kth-krb4) is partly Original BSD-licensed with the announcement + clause. Some of the code in libcurl that is written to deal with + Kerberos4 is Modified BSD-licensed. + +MIT Kerberos http://web.mit.edu/kerberos/www/dist/ + + (May be used for GSS support) MIT licensed, that shouldn't collide + with any other parts. + +Heimdal http://www.pdc.kth.se/heimdal/ + + (May be used for GSS support) Heimdal is Original BSD licensed with + the announcement clause. + +GNU GSS http://www.gnu.org/software/gss/ + + (May be used for GSS support) GNU GSS is GPL licensed. Note that you + may not distribute binary curl packages that uses this if you build + curl to also link and use any Original BSD licensed libraries! + +fbopenssl + + (Used for SPNEGO support) Unclear license. Based on its name, I assume + that it uses the OpenSSL license and thus shares the same issues as + described for OpenSSL above. + +libidn http://josefsson.org/libidn/ + + (Used for IDNA support) Uses the GNU Lesser General Public + License [3]. LGPL is a variation of GPL with slightly less aggressive + "copyleft". This license requires more requirements to be met when + distributing binaries, see the license for details. Also note that if + you distribute a binary that includes this library, you must also + include the full LGPL license text. Please properly point out what + parts of the distributed package that the license addresses. + +OpenLDAP http://www.openldap.org/software/release/license.html + + (Used for LDAP support) Uses a Modified BSD-style license. Since + libcurl uses OpenLDAP as a shared library only, I have not heard of + anyone that ships OpenLDAP linked with libcurl in an app. + +libssh2 http://www.libssh2.org/ + + (Used for scp and sftp support) libssh2 uses a Modified BSD-style + license. + +[1] = GPL - GNU General Public License: http://www.gnu.org/licenses/gpl.html +[2] = http://www.fsf.org/licenses/gpl-faq.html#GPLIncompatibleLibs details on + how to write such an exception to the GPL +[3] = LGPL - GNU Lesser General Public License: + http://www.gnu.org/licenses/lgpl.html +[4] = MPL - Mozilla Public License: + http://www.mozilla.org/MPL/ diff --git a/vendor/voclient/common/curl-7.20.1/docs/MANUAL b/vendor/voclient/common/curl-7.20.1/docs/MANUAL new file mode 100644 index 00000000..d7085b7f --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/MANUAL @@ -0,0 +1,971 @@ +LATEST VERSION + + You always find news about what's going on as well as the latest versions + from the curl web pages, located at: + + http://curl.haxx.se + +SIMPLE USAGE + + Get the main page from Netscape's web-server: + + curl http://www.netscape.com/ + + Get the README file the user's home directory at funet's ftp-server: + + curl ftp://ftp.funet.fi/README + + Get a web page from a server using port 8000: + + curl http://www.weirdserver.com:8000/ + + Get a list of a directory of an FTP site: + + curl ftp://cool.haxx.se/ + + Get the definition of curl from a dictionary: + + curl dict://dict.org/m:curl + + Fetch two documents at once: + + curl ftp://cool.haxx.se/ http://www.weirdserver.com:8000/ + + Get a file off an FTPS server: + + curl ftps://files.are.secure.com/secrets.txt + + or use the more appropriate FTPS way to get the same file: + + curl --ftp-ssl ftp://files.are.secure.com/secrets.txt + + Get a file from an SSH server using SFTP: + + curl -u username sftp://shell.example.com/etc/issue + + Get a file from an SSH server using SCP using a private key to authenticate: + + curl -u username: --key ~/.ssh/id_dsa --pubkey ~/.ssh/id_dsa.pub \ + scp://shell.example.com/~/personal.txt + + Get the main page from an IPv6 web server: + + curl -g "http://[2001:1890:1112:1::20]/" + +DOWNLOAD TO A FILE + + Get a web page and store in a local file: + + curl -o thatpage.html http://www.netscape.com/ + + Get a web page and store in a local file, make the local file get the name + of the remote document (if no file name part is specified in the URL, this + will fail): + + curl -O http://www.netscape.com/index.html + + Fetch two files and store them with their remote names: + + curl -O www.haxx.se/index.html -O curl.haxx.se/download.html + +USING PASSWORDS + + FTP + + To ftp files using name+passwd, include them in the URL like: + + curl ftp://name:passwd@machine.domain:port/full/path/to/file + + or specify them with the -u flag like + + curl -u name:passwd ftp://machine.domain:port/full/path/to/file + + FTPS + + It is just like for FTP, but you may also want to specify and use + SSL-specific options for certificates etc. + + Note that using FTPS:// as prefix is the "implicit" way as described in the + standards while the recommended "explicit" way is done by using FTP:// and + the --ftp-ssl option. + + SFTP / SCP + + This is similar to FTP, but you can specify a private key to use instead of + a password. Note that the private key may itself be protected by a password + that is unrelated to the login password of the remote system. If you + provide a private key file you must also provide a public key file. + + HTTP + + Curl also supports user and password in HTTP URLs, thus you can pick a file + like: + + curl http://name:passwd@machine.domain/full/path/to/file + + or specify user and password separately like in + + curl -u name:passwd http://machine.domain/full/path/to/file + + HTTP offers many different methods of authentication and curl supports + several: Basic, Digest, NTLM and Negotiate. Without telling which method to + use, curl defaults to Basic. You can also ask curl to pick the most secure + ones out of the ones that the server accepts for the given URL, by using + --anyauth. + + NOTE! Since HTTP URLs don't support user and password, you can't use that + style when using Curl via a proxy. You _must_ use the -u style fetch + during such circumstances. + + HTTPS + + Probably most commonly used with private certificates, as explained below. + +PROXY + + Get an ftp file using a proxy named my-proxy that uses port 888: + + curl -x my-proxy:888 ftp://ftp.leachsite.com/README + + Get a file from a HTTP server that requires user and password, using the + same proxy as above: + + curl -u user:passwd -x my-proxy:888 http://www.get.this/ + + Some proxies require special authentication. Specify by using -U as above: + + curl -U user:passwd -x my-proxy:888 http://www.get.this/ + + A comma-separated list of hosts and domains which do not use the proxy can + be specified as: + + curl --noproxy localhost,get.this -x my-proxy:888 http://www.get.this/ + + If the proxy is specified with --proxy1.0 instead of --proxy or -x, then + curl will use HTTP/1.0 instead of HTTP/1.1 for any CONNECT attempts. + + curl also supports SOCKS4 and SOCKS5 proxies with --socks4 and --socks5. + + See also the environment variables Curl support that offer further proxy + control. + +RANGES + + With HTTP 1.1 byte-ranges were introduced. Using this, a client can request + to get only one or more subparts of a specified document. Curl supports + this with the -r flag. + + Get the first 100 bytes of a document: + + curl -r 0-99 http://www.get.this/ + + Get the last 500 bytes of a document: + + curl -r -500 http://www.get.this/ + + Curl also supports simple ranges for FTP files as well. Then you can only + specify start and stop position. + + Get the first 100 bytes of a document using FTP: + + curl -r 0-99 ftp://www.get.this/README + +UPLOADING + + FTP / FTPS / SFTP / SCP + + Upload all data on stdin to a specified server: + + curl -T - ftp://ftp.upload.com/myfile + + Upload data from a specified file, login with user and password: + + curl -T uploadfile -u user:passwd ftp://ftp.upload.com/myfile + + Upload a local file to the remote site, and use the local file name remote + too: + + curl -T uploadfile -u user:passwd ftp://ftp.upload.com/ + + Upload a local file to get appended to the remote file: + + curl -T localfile -a ftp://ftp.upload.com/remotefile + + Curl also supports ftp upload through a proxy, but only if the proxy is + configured to allow that kind of tunneling. If it does, you can run curl in + a fashion similar to: + + curl --proxytunnel -x proxy:port -T localfile ftp.upload.com + + HTTP + + Upload all data on stdin to a specified http site: + + curl -T - http://www.upload.com/myfile + + Note that the http server must have been configured to accept PUT before + this can be done successfully. + + For other ways to do http data upload, see the POST section below. + +VERBOSE / DEBUG + + If curl fails where it isn't supposed to, if the servers don't let you in, + if you can't understand the responses: use the -v flag to get verbose + fetching. Curl will output lots of info and what it sends and receives in + order to let the user see all client-server interaction (but it won't show + you the actual data). + + curl -v ftp://ftp.upload.com/ + + To get even more details and information on what curl does, try using the + --trace or --trace-ascii options with a given file name to log to, like + this: + + curl --trace trace.txt www.haxx.se + + +DETAILED INFORMATION + + Different protocols provide different ways of getting detailed information + about specific files/documents. To get curl to show detailed information + about a single file, you should use -I/--head option. It displays all + available info on a single file for HTTP and FTP. The HTTP information is a + lot more extensive. + + For HTTP, you can get the header information (the same as -I would show) + shown before the data by using -i/--include. Curl understands the + -D/--dump-header option when getting files from both FTP and HTTP, and it + will then store the headers in the specified file. + + Store the HTTP headers in a separate file (headers.txt in the example): + + curl --dump-header headers.txt curl.haxx.se + + Note that headers stored in a separate file can be very useful at a later + time if you want curl to use cookies sent by the server. More about that in + the cookies section. + +POST (HTTP) + + It's easy to post data using curl. This is done using the -d + option. The post data must be urlencoded. + + Post a simple "name" and "phone" guestbook. + + curl -d "name=Rafael%20Sagula&phone=3320780" \ + http://www.where.com/guest.cgi + + How to post a form with curl, lesson #1: + + Dig out all the tags in the form that you want to fill in. (There's + a perl program called formfind.pl on the curl site that helps with this). + + If there's a "normal" post, you use -d to post. -d takes a full "post + string", which is in the format + + =&=&... + + The 'variable' names are the names set with "name=" in the tags, and + the data is the contents you want to fill in for the inputs. The data *must* + be properly URL encoded. That means you replace space with + and that you + write weird letters with %XX where XX is the hexadecimal representation of + the letter's ASCII code. + + Example: + + (page located at http://www.formpost.com/getthis/ + +
+ + + + +
+ + We want to enter user 'foobar' with password '12345'. + + To post to this, you enter a curl command line like: + + curl -d "user=foobar&pass=12345&id=blablabla&ding=submit" (continues) + http://www.formpost.com/getthis/post.cgi + + + While -d uses the application/x-www-form-urlencoded mime-type, generally + understood by CGI's and similar, curl also supports the more capable + multipart/form-data type. This latter type supports things like file upload. + + -F accepts parameters like -F "name=contents". If you want the contents to + be read from a file, use <@filename> as contents. When specifying a file, + you can also specify the file content type by appending ';type=' + to the file name. You can also post the contents of several files in one + field. For example, the field name 'coolfiles' is used to send three files, + with different content types using the following syntax: + + curl -F "coolfiles=@fil1.gif;type=image/gif,fil2.txt,fil3.html" \ + http://www.post.com/postit.cgi + + If the content-type is not specified, curl will try to guess from the file + extension (it only knows a few), or use the previously specified type (from + an earlier file if several files are specified in a list) or else it will + using the default type 'text/plain'. + + Emulate a fill-in form with -F. Let's say you fill in three fields in a + form. One field is a file name which to post, one field is your name and one + field is a file description. We want to post the file we have written named + "cooltext.txt". To let curl do the posting of this data instead of your + favourite browser, you have to read the HTML source of the form page and + find the names of the input fields. In our example, the input field names + are 'file', 'yourname' and 'filedescription'. + + curl -F "file=@cooltext.txt" -F "yourname=Daniel" \ + -F "filedescription=Cool text file with cool text inside" \ + http://www.post.com/postit.cgi + + To send two files in one post you can do it in two ways: + + 1. Send multiple files in a single "field" with a single field name: + + curl -F "pictures=@dog.gif,cat.gif" + + 2. Send two fields with two field names: + + curl -F "docpicture=@dog.gif" -F "catpicture=@cat.gif" + + To send a field value literally without interpreting a leading '@' + or '<', or an embedded ';type=', use --form-string instead of + -F. This is recommended when the value is obtained from a user or + some other unpredictable source. Under these circumstances, using + -F instead of --form-string would allow a user to trick curl into + uploading a file. + +REFERRER + + A HTTP request has the option to include information about which address + that referred to actual page. Curl allows you to specify the + referrer to be used on the command line. It is especially useful to + fool or trick stupid servers or CGI scripts that rely on that information + being available or contain certain data. + + curl -e www.coolsite.com http://www.showme.com/ + + NOTE: The Referer: [sic] field is defined in the HTTP spec to be a full URL. + +USER AGENT + + A HTTP request has the option to include information about the browser + that generated the request. Curl allows it to be specified on the command + line. It is especially useful to fool or trick stupid servers or CGI + scripts that only accept certain browsers. + + Example: + + curl -A 'Mozilla/3.0 (Win95; I)' http://www.nationsbank.com/ + + Other common strings: + 'Mozilla/3.0 (Win95; I)' Netscape Version 3 for Windows 95 + 'Mozilla/3.04 (Win95; U)' Netscape Version 3 for Windows 95 + 'Mozilla/2.02 (OS/2; U)' Netscape Version 2 for OS/2 + 'Mozilla/4.04 [en] (X11; U; AIX 4.2; Nav)' NS for AIX + 'Mozilla/4.05 [en] (X11; U; Linux 2.0.32 i586)' NS for Linux + + Note that Internet Explorer tries hard to be compatible in every way: + 'Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)' MSIE for W95 + + Mozilla is not the only possible User-Agent name: + 'Konqueror/1.0' KDE File Manager desktop client + 'Lynx/2.7.1 libwww-FM/2.14' Lynx command line browser + +COOKIES + + Cookies are generally used by web servers to keep state information at the + client's side. The server sets cookies by sending a response line in the + headers that looks like 'Set-Cookie: ' where the data part then + typically contains a set of NAME=VALUE pairs (separated by semicolons ';' + like "NAME1=VALUE1; NAME2=VALUE2;"). The server can also specify for what + path the "cookie" should be used for (by specifying "path=value"), when the + cookie should expire ("expire=DATE"), for what domain to use it + ("domain=NAME") and if it should be used on secure connections only + ("secure"). + + If you've received a page from a server that contains a header like: + Set-Cookie: sessionid=boo123; path="/foo"; + + it means the server wants that first pair passed on when we get anything in + a path beginning with "/foo". + + Example, get a page that wants my name passed in a cookie: + + curl -b "name=Daniel" www.sillypage.com + + Curl also has the ability to use previously received cookies in following + sessions. If you get cookies from a server and store them in a file in a + manner similar to: + + curl --dump-header headers www.example.com + + ... you can then in a second connect to that (or another) site, use the + cookies from the 'headers' file like: + + curl -b headers www.example.com + + While saving headers to a file is a working way to store cookies, it is + however error-prone and not the preferred way to do this. Instead, make curl + save the incoming cookies using the well-known netscape cookie format like + this: + + curl -c cookies.txt www.example.com + + Note that by specifying -b you enable the "cookie awareness" and with -L + you can make curl follow a location: (which often is used in combination + with cookies). So that if a site sends cookies and a location, you can + use a non-existing file to trigger the cookie awareness like: + + curl -L -b empty.txt www.example.com + + The file to read cookies from must be formatted using plain HTTP headers OR + as netscape's cookie file. Curl will determine what kind it is based on the + file contents. In the above command, curl will parse the header and store + the cookies received from www.example.com. curl will send to the server the + stored cookies which match the request as it follows the location. The + file "empty.txt" may be a nonexistent file. + + Alas, to both read and write cookies from a netscape cookie file, you can + set both -b and -c to use the same file: + + curl -b cookies.txt -c cookies.txt www.example.com + +PROGRESS METER + + The progress meter exists to show a user that something actually is + happening. The different fields in the output have the following meaning: + + % Total % Received % Xferd Average Speed Time Curr. + Dload Upload Total Current Left Speed + 0 151M 0 38608 0 0 9406 0 4:41:43 0:00:04 4:41:39 9287 + + From left-to-right: + % - percentage completed of the whole transfer + Total - total size of the whole expected transfer + % - percentage completed of the download + Received - currently downloaded amount of bytes + % - percentage completed of the upload + Xferd - currently uploaded amount of bytes + Average Speed + Dload - the average transfer speed of the download + Average Speed + Upload - the average transfer speed of the upload + Time Total - expected time to complete the operation + Time Current - time passed since the invoke + Time Left - expected time left to completion + Curr.Speed - the average transfer speed the last 5 seconds (the first + 5 seconds of a transfer is based on less time of course.) + + The -# option will display a totally different progress bar that doesn't + need much explanation! + +SPEED LIMIT + + Curl allows the user to set the transfer speed conditions that must be met + to let the transfer keep going. By using the switch -y and -Y you + can make curl abort transfers if the transfer speed is below the specified + lowest limit for a specified time. + + To have curl abort the download if the speed is slower than 3000 bytes per + second for 1 minute, run: + + curl -Y 3000 -y 60 www.far-away-site.com + + This can very well be used in combination with the overall time limit, so + that the above operation must be completed in whole within 30 minutes: + + curl -m 1800 -Y 3000 -y 60 www.far-away-site.com + + Forcing curl not to transfer data faster than a given rate is also possible, + which might be useful if you're using a limited bandwidth connection and you + don't want your transfer to use all of it (sometimes referred to as + "bandwidth throttle"). + + Make curl transfer data no faster than 10 kilobytes per second: + + curl --limit-rate 10K www.far-away-site.com + + or + + curl --limit-rate 10240 www.far-away-site.com + + Or prevent curl from uploading data faster than 1 megabyte per second: + + curl -T upload --limit-rate 1M ftp://uploadshereplease.com + + When using the --limit-rate option, the transfer rate is regulated on a + per-second basis, which will cause the total transfer speed to become lower + than the given number. Sometimes of course substantially lower, if your + transfer stalls during periods. + +CONFIG FILE + + Curl automatically tries to read the .curlrc file (or _curlrc file on win32 + systems) from the user's home dir on startup. + + The config file could be made up with normal command line switches, but you + can also specify the long options without the dashes to make it more + readable. You can separate the options and the parameter with spaces, or + with = or :. Comments can be used within the file. If the first letter on a + line is a '#'-symbol the rest of the line is treated as a comment. + + If you want the parameter to contain spaces, you must enclose the entire + parameter within double quotes ("). Within those quotes, you specify a + quote as \". + + NOTE: You must specify options and their arguments on the same line. + + Example, set default time out and proxy in a config file: + + # We want a 30 minute timeout: + -m 1800 + # ... and we use a proxy for all accesses: + proxy = proxy.our.domain.com:8080 + + White spaces ARE significant at the end of lines, but all white spaces + leading up to the first characters of each line are ignored. + + Prevent curl from reading the default file by using -q as the first command + line parameter, like: + + curl -q www.thatsite.com + + Force curl to get and display a local help page in case it is invoked + without URL by making a config file similar to: + + # default url to get + url = "http://help.with.curl.com/curlhelp.html" + + You can specify another config file to be read by using the -K/--config + flag. If you set config file name to "-" it'll read the config from stdin, + which can be handy if you want to hide options from being visible in process + tables etc: + + echo "user = user:passwd" | curl -K - http://that.secret.site.com + +EXTRA HEADERS + + When using curl in your own very special programs, you may end up needing + to pass on your own custom headers when getting a web page. You can do + this by using the -H flag. + + Example, send the header "X-you-and-me: yes" to the server when getting a + page: + + curl -H "X-you-and-me: yes" www.love.com + + This can also be useful in case you want curl to send a different text in a + header than it normally does. The -H header you specify then replaces the + header curl would normally send. If you replace an internal header with an + empty one, you prevent that header from being sent. To prevent the Host: + header from being used: + + curl -H "Host:" www.server.com + +FTP and PATH NAMES + + Do note that when getting files with the ftp:// URL, the given path is + relative the directory you enter. To get the file 'README' from your home + directory at your ftp site, do: + + curl ftp://user:passwd@my.site.com/README + + But if you want the README file from the root directory of that very same + site, you need to specify the absolute file name: + + curl ftp://user:passwd@my.site.com//README + + (I.e with an extra slash in front of the file name.) + +SFTP and SCP and PATH NAMES + + With sftp: and scp: URLs, the path name given is the absolute name on the + server. To access a file relative to the remote user's home directory, + prefix the file with /~/ , such as: + + curl -u $USER sftp://home.example.com/~/.bashrc + +FTP and firewalls + + The FTP protocol requires one of the involved parties to open a second + connection as soon as data is about to get transfered. There are two ways to + do this. + + The default way for curl is to issue the PASV command which causes the + server to open another port and await another connection performed by the + client. This is good if the client is behind a firewall that don't allow + incoming connections. + + curl ftp.download.com + + If the server for example, is behind a firewall that don't allow connections + on other ports than 21 (or if it just doesn't support the PASV command), the + other way to do it is to use the PORT command and instruct the server to + connect to the client on the given (as parameters to the PORT command) IP + number and port. + + The -P flag to curl supports a few different options. Your machine may have + several IP-addresses and/or network interfaces and curl allows you to select + which of them to use. Default address can also be used: + + curl -P - ftp.download.com + + Download with PORT but use the IP address of our 'le0' interface (this does + not work on windows): + + curl -P le0 ftp.download.com + + Download with PORT but use 192.168.0.10 as our IP address to use: + + curl -P 192.168.0.10 ftp.download.com + +NETWORK INTERFACE + + Get a web page from a server using a specified port for the interface: + + curl --interface eth0:1 http://www.netscape.com/ + + or + + curl --interface 192.168.1.10 http://www.netscape.com/ + +HTTPS + + Secure HTTP requires SSL libraries to be installed and used when curl is + built. If that is done, curl is capable of retrieving and posting documents + using the HTTPS protocol. + + Example: + + curl https://www.secure-site.com + + Curl is also capable of using your personal certificates to get/post files + from sites that require valid certificates. The only drawback is that the + certificate needs to be in PEM-format. PEM is a standard and open format to + store certificates with, but it is not used by the most commonly used + browsers (Netscape and MSIE both use the so called PKCS#12 format). If you + want curl to use the certificates you use with your (favourite) browser, you + may need to download/compile a converter that can convert your browser's + formatted certificates to PEM formatted ones. This kind of converter is + included in recent versions of OpenSSL, and for older versions Dr Stephen + N. Henson has written a patch for SSLeay that adds this functionality. You + can get his patch (that requires an SSLeay installation) from his site at: + http://www.drh-consultancy.demon.co.uk/ + + Example on how to automatically retrieve a document using a certificate with + a personal password: + + curl -E /path/to/cert.pem:password https://secure.site.com/ + + If you neglect to specify the password on the command line, you will be + prompted for the correct password before any data can be received. + + Many older SSL-servers have problems with SSLv3 or TLS, that newer versions + of OpenSSL etc is using, therefore it is sometimes useful to specify what + SSL-version curl should use. Use -3, -2 or -1 to specify that exact SSL + version to use (for SSLv3, SSLv2 or TLSv1 respectively): + + curl -2 https://secure.site.com/ + + Otherwise, curl will first attempt to use v3 and then v2. + + To use OpenSSL to convert your favourite browser's certificate into a PEM + formatted one that curl can use, do something like this (assuming netscape, + but IE is likely to work similarly): + + You start with hitting the 'security' menu button in netscape. + + Select 'certificates->yours' and then pick a certificate in the list + + Press the 'export' button + + enter your PIN code for the certs + + select a proper place to save it + + Run the 'openssl' application to convert the certificate. If you cd to the + openssl installation, you can do it like: + + # ./apps/openssl pkcs12 -in [file you saved] -clcerts -out [PEMfile] + + +RESUMING FILE TRANSFERS + + To continue a file transfer where it was previously aborted, curl supports + resume on http(s) downloads as well as ftp uploads and downloads. + + Continue downloading a document: + + curl -C - -o file ftp://ftp.server.com/path/file + + Continue uploading a document(*1): + + curl -C - -T file ftp://ftp.server.com/path/file + + Continue downloading a document from a web server(*2): + + curl -C - -o file http://www.server.com/ + + (*1) = This requires that the ftp server supports the non-standard command + SIZE. If it doesn't, curl will say so. + + (*2) = This requires that the web server supports at least HTTP/1.1. If it + doesn't, curl will say so. + +TIME CONDITIONS + + HTTP allows a client to specify a time condition for the document it + requests. It is If-Modified-Since or If-Unmodified-Since. Curl allow you to + specify them with the -z/--time-cond flag. + + For example, you can easily make a download that only gets performed if the + remote file is newer than a local copy. It would be made like: + + curl -z local.html http://remote.server.com/remote.html + + Or you can download a file only if the local file is newer than the remote + one. Do this by prepending the date string with a '-', as in: + + curl -z -local.html http://remote.server.com/remote.html + + You can specify a "free text" date as condition. Tell curl to only download + the file if it was updated since January 12, 2012: + + curl -z "Jan 12 2012" http://remote.server.com/remote.html + + Curl will then accept a wide range of date formats. You always make the date + check the other way around by prepending it with a dash '-'. + +DICT + + For fun try + + curl dict://dict.org/m:curl + curl dict://dict.org/d:heisenbug:jargon + curl dict://dict.org/d:daniel:web1913 + + Aliases for 'm' are 'match' and 'find', and aliases for 'd' are 'define' + and 'lookup'. For example, + + curl dict://dict.org/find:curl + + Commands that break the URL description of the RFC (but not the DICT + protocol) are + + curl dict://dict.org/show:db + curl dict://dict.org/show:strat + + Authentication is still missing (but this is not required by the RFC) + +LDAP + + If you have installed the OpenLDAP library, curl can take advantage of it + and offer ldap:// support. + + LDAP is a complex thing and writing an LDAP query is not an easy task. I do + advice you to dig up the syntax description for that elsewhere. Two places + that might suit you are: + + Netscape's "Netscape Directory SDK 3.0 for C Programmer's Guide Chapter 10: + Working with LDAP URLs": + http://developer.netscape.com/docs/manuals/dirsdk/csdk30/url.htm + + RFC 2255, "The LDAP URL Format" http://curl.haxx.se/rfc/rfc2255.txt + + To show you an example, this is now I can get all people from my local LDAP + server that has a certain sub-domain in their email address: + + curl -B "ldap://ldap.frontec.se/o=frontec??sub?mail=*sth.frontec.se" + + If I want the same info in HTML format, I can get it by not using the -B + (enforce ASCII) flag. + +ENVIRONMENT VARIABLES + + Curl reads and understands the following environment variables: + + http_proxy, HTTPS_PROXY, FTP_PROXY + + They should be set for protocol-specific proxies. General proxy should be + set with + + ALL_PROXY + + A comma-separated list of host names that shouldn't go through any proxy is + set in (only an asterisk, '*' matches all hosts) + + NO_PROXY + + If the host name matches one of these strings, or the host is within the + domain of one of these strings, transactions with that node will not be + proxied. + + + The usage of the -x/--proxy flag overrides the environment variables. + +NETRC + + Unix introduced the .netrc concept a long time ago. It is a way for a user + to specify name and password for commonly visited ftp sites in a file so + that you don't have to type them in each time you visit those sites. You + realize this is a big security risk if someone else gets hold of your + passwords, so therefore most unix programs won't read this file unless it is + only readable by yourself (curl doesn't care though). + + Curl supports .netrc files if told so (using the -n/--netrc and + --netrc-optional options). This is not restricted to only ftp, + but curl can use it for all protocols where authentication is used. + + A very simple .netrc file could look something like: + + machine curl.haxx.se login iamdaniel password mysecret + +CUSTOM OUTPUT + + To better allow script programmers to get to know about the progress of + curl, the -w/--write-out option was introduced. Using this, you can specify + what information from the previous transfer you want to extract. + + To display the amount of bytes downloaded together with some text and an + ending newline: + + curl -w 'We downloaded %{size_download} bytes\n' www.download.com + +KERBEROS FTP TRANSFER + + Curl supports kerberos4 and kerberos5/GSSAPI for FTP transfers. You need + the kerberos package installed and used at curl build time for it to be + used. + + First, get the krb-ticket the normal way, like with the kinit/kauth tool. + Then use curl in way similar to: + + curl --krb private ftp://krb4site.com -u username:fakepwd + + There's no use for a password on the -u switch, but a blank one will make + curl ask for one and you already entered the real password to kinit/kauth. + +TELNET + + The curl telnet support is basic and very easy to use. Curl passes all data + passed to it on stdin to the remote server. Connect to a remote telnet + server using a command line similar to: + + curl telnet://remote.server.com + + And enter the data to pass to the server on stdin. The result will be sent + to stdout or to the file you specify with -o. + + You might want the -N/--no-buffer option to switch off the buffered output + for slow connections or similar. + + Pass options to the telnet protocol negotiation, by using the -t option. To + tell the server we use a vt100 terminal, try something like: + + curl -tTTYPE=vt100 telnet://remote.server.com + + Other interesting options for it -t include: + + - XDISPLOC= Sets the X display location. + + - NEW_ENV= Sets an environment variable. + + NOTE: the telnet protocol does not specify any way to login with a specified + user and password so curl can't do that automatically. To do that, you need + to track when the login prompt is received and send the username and + password accordingly. + +PERSISTENT CONNECTIONS + + Specifying multiple files on a single command line will make curl transfer + all of them, one after the other in the specified order. + + libcurl will attempt to use persistent connections for the transfers so that + the second transfer to the same host can use the same connection that was + already initiated and was left open in the previous transfer. This greatly + decreases connection time for all but the first transfer and it makes a far + better use of the network. + + Note that curl cannot use persistent connections for transfers that are used + in subsequence curl invokes. Try to stuff as many URLs as possible on the + same command line if they are using the same host, as that'll make the + transfers faster. If you use a http proxy for file transfers, practically + all transfers will be persistent. + +MULTIPLE TRANSFERS WITH A SINGLE COMMAND LINE + + As is mentioned above, you can download multiple files with one command line + by simply adding more URLs. If you want those to get saved to a local file + instead of just printed to stdout, you need to add one save option for each + URL you specify. Note that this also goes for the -O option (but not + --remote-name-all). + + For example: get two files and use -O for the first and a custom file + name for the second: + + curl -O http://url.com/file.txt ftp://ftp.com/moo.exe -o moo.jpg + + You can also upload multiple files in a similar fashion: + + curl -T local1 ftp://ftp.com/moo.exe -T local2 ftp://ftp.com/moo2.txt + +IPv6 + + curl will connect to a server with IPv6 when a host lookup returns an IPv6 + address and fall back to IPv4 if the connection fails. The --ipv4 and --ipv6 + options can specify which address to use when both are available. IPv6 + addresses can also be specified directly in URLs using the syntax: + + http://[2001:1890:1112:1::20]/overview.html + + When this style is used, the -g option must be given to stop curl from + interpreting the square brackets as special globbing characters. Link local + and site local addresses including a scope identifier, such as fe80::1234%1, + may also be used, but the scope portion must be numeric and the percent + character must be URL escaped. The previous example in an SFTP URL might + look like: + + sftp://[fe80::1234%251]/ + + IPv6 addresses provided other than in URLs (e.g. to the --proxy, --interface + or --ftp-port options) should not be URL encoded. + + +MAILING LISTS + + For your convenience, we have several open mailing lists to discuss curl, + its development and things relevant to this. Get all info at + http://curl.haxx.se/mail/. Some of the lists available are: + + curl-users + + Users of the command line tool. How to use it, what doesn't work, new + features, related tools, questions, news, installations, compilations, + running, porting etc. + + curl-library + + Developers using or developing libcurl. Bugs, extensions, improvements. + + curl-announce + + Low-traffic. Only receives announcements of new public versions. At worst, + that makes something like one or two mails per month, but usually only one + mail every second month. + + curl-and-php + + Using the curl functions in PHP. Everything curl with a PHP angle. Or PHP + with a curl angle. + + curl-and-python + + Python hackers using curl with or without the python binding pycurl. + + Please direct curl questions, feature requests and trouble reports to one of + these mailing lists instead of mailing any individual. diff --git a/vendor/voclient/common/curl-7.20.1/docs/Makefile.am b/vendor/voclient/common/curl-7.20.1/docs/Makefile.am new file mode 100644 index 00000000..316b4f4f --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/Makefile.am @@ -0,0 +1,40 @@ +# +# + +AUTOMAKE_OPTIONS = foreign no-dependencies + +man_MANS = curl.1 curl-config.1 +GENHTMLPAGES = curl.html curl-config.html +PDFPAGES = curl.pdf curl-config.pdf + +HTMLPAGES = $(GENHTMLPAGES) index.html + +SUBDIRS = examples libcurl + +CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES) + +EXTRA_DIST = MANUAL BUGS CONTRIBUTE FAQ FEATURES INTERNALS SSLCERTS \ + README.win32 RESOURCES TODO TheArtOfHttpScripting THANKS VERSIONS \ + KNOWN_BUGS BINDINGS $(man_MANS) $(HTMLPAGES) HISTORY INSTALL \ + $(PDFPAGES) LICENSE-MIXING README.netware DISTRO-DILEMMA INSTALL.devcpp + +MAN2HTML= roffit < $< >$@ + +SUFFIXES = .1 .html .pdf + +html: $(HTMLPAGES) + cd libcurl; make html + +pdf: $(PDFPAGES) + cd libcurl; make pdf + +.1.html: + $(MAN2HTML) + +.1.pdf: + @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \ + groff -Tps -man $< >$$foo.ps; \ + ps2pdf $$foo.ps $@; \ + rm $$foo.ps; \ + echo "converted $< to $@") + diff --git a/vendor/voclient/common/curl-7.20.1/docs/Makefile.in b/vendor/voclient/common/curl-7.20.1/docs/Makefile.in new file mode 100644 index 00000000..edd272a4 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/Makefile.in @@ -0,0 +1,639 @@ +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# +# +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = docs +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in INSTALL \ + THANKS TODO +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/curl-compilers.m4 \ + $(top_srcdir)/m4/curl-confopts.m4 \ + $(top_srcdir)/m4/curl-functions.m4 \ + $(top_srcdir)/m4/curl-override.m4 \ + $(top_srcdir)/m4/curl-reentrant.m4 \ + $(top_srcdir)/m4/curl-system.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/lib/curl_config.h \ + $(top_builddir)/src/curl_config.h \ + $(top_builddir)/include/curl/curlbuild.h +CONFIG_CLEAN_FILES = +depcomp = +am__depfiles_maybe = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +man1dir = $(mandir)/man1 +am__installdirs = "$(DESTDIR)$(man1dir)" +MANS = $(man_MANS) +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CROSSCOMPILING_FALSE = @CROSSCOMPILING_FALSE@ +CROSSCOMPILING_TRUE = @CROSSCOMPILING_TRUE@ +CURLDEBUG_FALSE = @CURLDEBUG_FALSE@ +CURLDEBUG_TRUE = @CURLDEBUG_TRUE@ +CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ +CURL_DISABLE_DICT = @CURL_DISABLE_DICT@ +CURL_DISABLE_FILE = @CURL_DISABLE_FILE@ +CURL_DISABLE_FTP = @CURL_DISABLE_FTP@ +CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@ +CURL_DISABLE_IMAP = @CURL_DISABLE_IMAP@ +CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@ +CURL_DISABLE_LDAPS = @CURL_DISABLE_LDAPS@ +CURL_DISABLE_POP3 = @CURL_DISABLE_POP3@ +CURL_DISABLE_PROXY = @CURL_DISABLE_PROXY@ +CURL_DISABLE_RTSP = @CURL_DISABLE_RTSP@ +CURL_DISABLE_SMTP = @CURL_DISABLE_SMTP@ +CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@ +CURL_DISABLE_TFTP = @CURL_DISABLE_TFTP@ +CURL_LIBS = @CURL_LIBS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GREP = @GREP@ +HAVE_LIBZ = @HAVE_LIBZ@ +HAVE_LIBZ_FALSE = @HAVE_LIBZ_FALSE@ +HAVE_LIBZ_TRUE = @HAVE_LIBZ_TRUE@ +HAVE_PK11_CREATEGENERICOBJECT = @HAVE_PK11_CREATEGENERICOBJECT@ +IDN_ENABLED = @IDN_ENABLED@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +IPV6_ENABLED = @IPV6_ENABLED@ +KRB4_ENABLED = @KRB4_ENABLED@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCURL_LIBS = @LIBCURL_LIBS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ +MAKEINFO = @MAKEINFO@ +MANOPT = @MANOPT@ +MIMPURE_FALSE = @MIMPURE_FALSE@ +MIMPURE_TRUE = @MIMPURE_TRUE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NO_UNDEFINED_FALSE = @NO_UNDEFINED_FALSE@ +NO_UNDEFINED_TRUE = @NO_UNDEFINED_TRUE@ +NROFF = @NROFF@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH = @PATH@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +PKGADD_NAME = @PKGADD_NAME@ +PKGADD_PKG = @PKGADD_PKG@ +PKGADD_VENDOR = @PKGADD_VENDOR@ +PKGCONFIG = @PKGCONFIG@ +RANDOM_FILE = @RANDOM_FILE@ +RANLIB = @RANLIB@ +REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SONAME_BUMP_FALSE = @SONAME_BUMP_FALSE@ +SONAME_BUMP_TRUE = @SONAME_BUMP_TRUE@ +SSL_ENABLED = @SSL_ENABLED@ +STATICLIB_FALSE = @STATICLIB_FALSE@ +STATICLIB_TRUE = @STATICLIB_TRUE@ +STRIP = @STRIP@ +SUPPORT_FEATURES = @SUPPORT_FEATURES@ +SUPPORT_PROTOCOLS = @SUPPORT_PROTOCOLS@ +TEST_SERVER_LIBS = @TEST_SERVER_LIBS@ +USE_ARES = @USE_ARES@ +USE_EMBEDDED_ARES_FALSE = @USE_EMBEDDED_ARES_FALSE@ +USE_EMBEDDED_ARES_TRUE = @USE_EMBEDDED_ARES_TRUE@ +USE_GNUTLS = @USE_GNUTLS@ +USE_LIBSSH2 = @USE_LIBSSH2@ +USE_MANUAL_FALSE = @USE_MANUAL_FALSE@ +USE_MANUAL_TRUE = @USE_MANUAL_TRUE@ +USE_NSS = @USE_NSS@ +USE_SSLEAY = @USE_SSLEAY@ +USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@ +VERSION = @VERSION@ +VERSIONNUM = @VERSIONNUM@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +libext = @libext@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +AUTOMAKE_OPTIONS = foreign no-dependencies +man_MANS = curl.1 curl-config.1 +GENHTMLPAGES = curl.html curl-config.html +PDFPAGES = curl.pdf curl-config.pdf +HTMLPAGES = $(GENHTMLPAGES) index.html +SUBDIRS = examples libcurl +CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES) +EXTRA_DIST = MANUAL BUGS CONTRIBUTE FAQ FEATURES INTERNALS SSLCERTS \ + README.win32 RESOURCES TODO TheArtOfHttpScripting THANKS VERSIONS \ + KNOWN_BUGS BINDINGS $(man_MANS) $(HTMLPAGES) HISTORY INSTALL \ + $(PDFPAGES) LICENSE-MIXING README.netware DISTRO-DILEMMA INSTALL.devcpp + +MAN2HTML = roffit < $< >$@ +SUFFIXES = .1 .html .pdf +all: all-recursive + +.SUFFIXES: +.SUFFIXES: .1 .html .pdf +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign docs/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: +install-man1: $(man1_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ + else file=$$i; fi; \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + case "$$ext" in \ + 1*) ;; \ + *) ext='1' ;; \ + esac; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ + done +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + case "$$ext" in \ + 1*) ;; \ + *) ext='1' ;; \ + esac; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ + rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ + done + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile $(MANS) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(man1dir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-libtool \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +info: info-recursive + +info-am: + +install-data-am: install-man + +install-exec-am: + +install-info: install-info-recursive + +install-man: install-man1 + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-info-am uninstall-man + +uninstall-info: uninstall-info-recursive + +uninstall-man: uninstall-man1 + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ + clean clean-generic clean-libtool clean-recursive ctags \ + ctags-recursive distclean distclean-generic distclean-libtool \ + distclean-recursive distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-exec install-exec-am install-info \ + install-info-am install-man install-man1 install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-generic \ + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am uninstall-info-am \ + uninstall-man uninstall-man1 + + +html: $(HTMLPAGES) + cd libcurl; make html + +pdf: $(PDFPAGES) + cd libcurl; make pdf + +.1.html: + $(MAN2HTML) + +.1.pdf: + @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \ + groff -Tps -man $< >$$foo.ps; \ + ps2pdf $$foo.ps $@; \ + rm $$foo.ps; \ + echo "converted $< to $@") +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/vendor/voclient/common/curl-7.20.1/docs/README.netware b/vendor/voclient/common/curl-7.20.1/docs/README.netware new file mode 100644 index 00000000..41da2e8d --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/README.netware @@ -0,0 +1,27 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + +README.netware + + Read the README file first. + + Curl has been successfully compiled with gcc / nlmconv on different flavours + of Linux as well as with the official Metrowerks CodeWarrior compiler. + While not being the main development target, a continously growing share of + curl users are NetWare-based, specially also consuming the lib from PHP. + + The unix-style man pages are tricky to read on windows, so therefore are all + those pages converted to HTML as well as pdf, and included in the release + archives. + + The main curl.1 man page is also "built-in" in the command line tool. Use a + command line similar to this in order to extract a separate text file: + + curl -M >manual.txt + + Read the INSTALL file for instructions how to compile curl self. + + diff --git a/vendor/voclient/common/curl-7.20.1/docs/README.win32 b/vendor/voclient/common/curl-7.20.1/docs/README.win32 new file mode 100644 index 00000000..cfd45dd2 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/README.win32 @@ -0,0 +1,26 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + +README.win32 + + Read the README file first. + + Curl has been compiled, built and run on all sorts of Windows and win32 + systems. While not being the main develop target, a fair share of curl users + are win32-based. + + The unix-style man pages are tricky to read on windows, so therefore are all + those pages converted to HTML as well as pdf, and included in the release + archives. + + The main curl.1 man page is also "built-in" in the command line tool. Use a + command line similar to this in order to extract a separate text file: + + curl -M >manual.txt + + Read the INSTALL file for instructions how to compile curl self. + + diff --git a/vendor/voclient/common/curl-7.20.1/docs/RESOURCES b/vendor/voclient/common/curl-7.20.1/docs/RESOURCES new file mode 100644 index 00000000..4d6465d6 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/RESOURCES @@ -0,0 +1,75 @@ + _ _ ____ _ + Project ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + + +This document lists documents and standards used by curl. + + RFC 959 - The FTP protocol + + RFC 1635 - How to Use Anonymous FTP + + RFC 1738 - Uniform Resource Locators + + RFC 1777 - defines the LDAP protocol + + RFC 1808 - Relative Uniform Resource Locators + + RFC 1867 - Form-based File Upload in HTML + + RFC 1950 - ZLIB Compressed Data Format Specification + + RFC 1951 - DEFLATE Compressed Data Format Specification + + RFC 1952 - gzip compression format + + RFC 1959 - LDAP URL syntax + + RFC 2045-2049 - Everything you need to know about MIME! (needed for form + based upload) + + RFC 2068 - HTTP 1.1 (obsoleted by RFC 2616) + + RFC 2109 - HTTP State Management Mechanism (cookie stuff) + - Also, read Netscape's specification at + http://curl.haxx.se/rfc/cookie_spec.html + + RFC 2183 - The Content-Disposition Header Field + + RFC 2229 - A Dictionary Server Protocol + + RFC 2255 - Newer LDAP URL syntax document. + + RFC 2231 - MIME Parameter Value and Encoded Word Extensions: + Character Sets, Languages, and Continuations + + RFC 2388 - "Returning Values from Forms: multipart/form-data" + Use this as an addition to the RFC1867 + + RFC 2396 - "Uniform Resource Identifiers: Generic Syntax and Semantics" This + one obsoletes RFC 1738, but since RFC 1738 is often mentioned + I've left it in this list. + + RFC 2428 - FTP Extensions for IPv6 and NATs + + RFC 2577 - FTP Security Considerations + + RFC 2616 - HTTP 1.1, the latest + + RFC 2617 - HTTP Authentication + + RFC 2718 - Guidelines for new URL Schemes + + RFC 2732 - Format for Literal IPv6 Addresses in URL's + + RFC 2818 - HTTP Over TLS (TLS is the successor to SSL) + + RFC 2821 - SMTP protocol + + RFC 2964 - Use of HTTP State Management + + RFC 2965 - HTTP State Management Mechanism. Cookies. Obsoletes RFC2109 + + RFC 3207 - SMTP over TLS diff --git a/vendor/voclient/common/curl-7.20.1/docs/SSLCERTS b/vendor/voclient/common/curl-7.20.1/docs/SSLCERTS new file mode 100644 index 00000000..0d1414ce --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/SSLCERTS @@ -0,0 +1,116 @@ + Peer SSL Certificate Verification + ================================= + +libcurl performs peer SSL certificate verification by default. This is done +by using CA cert bundle that the SSL library can use to make sure the peer's +server certificate is valid. + +If you communicate with HTTPS or FTPS servers using certificates that are +signed by CAs present in the bundle, you can be sure that the remote server +really is the one it claims to be. + +Until 7.18.0, curl bundled a severely outdated ca bundle file that was +installed by default. These days, the curl archives include no ca certs at +all. You need to get them elsewhere. See below for example. + +If the remote server uses a self-signed certificate, if you don't install a CA +cert bundle, if the server uses a certificate signed by a CA that isn't +included in the bundle you use or if the remote host is an impostor +impersonating your favorite site, and you want to transfer files from this +server, do one of the following: + + 1. Tell libcurl to *not* verify the peer. With libcurl you disable this with + curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, FALSE); + + With the curl command line tool, you disable this with -k/--insecure. + + 2. Get a CA certificate that can verify the remote server and use the proper + option to point out this CA cert for verification when connecting. For + libcurl hackers: curl_easy_setopt(curl, CURLOPT_CAPATH, capath); + + With the curl command line tool: --cacert [file] + + 3. Add the CA cert for your server to the existing default CA cert bundle. + The default path of the CA bundle used can be changed by running configure + with the --with-ca-bundle option pointing out the path of your choice. + + To do this, you need to get the CA cert for your server in PEM format and + then append that to your CA cert bundle. + + If you use Internet Explorer, this is one way to get extract the CA cert + for a particular server: + + o View the certificate by double-clicking the padlock + o Find out where the CA certificate is kept (Certificate> + Authority Information Access>URL) + o Get a copy of the crt file using curl + o Convert it from crt to PEM using the openssl tool: + openssl x509 -inform DES -in yourdownloaded.crt \ + -out outcert.pem -text + o Append the 'outcert.pem' to the CA cert bundle or use it stand-alone + as described below. + + If you use the 'openssl' tool, this is one way to get extract the CA cert + for a particular server: + + o openssl s_client -connect xxxxx.com:443 |tee logfile + o type "QUIT", followed by the "ENTER" key + o The certificate will have "BEGIN CERTIFICATE" and "END CERTIFICATE" + markers. + o If you want to see the data in the certificate, you can do: "openssl + x509 -inform PEM -in certfile -text -out certdata" where certfile is + the cert you extracted from logfile. Look in certdata. + o If you want to trust the certificate, you can append it to your + cert_bundle or use it stand-alone as described. Just remember that the + security is no better than the way you obtained the certificate. + + 4. If you're using the curl command line tool, you can specify your own CA + cert path by setting the environment variable CURL_CA_BUNDLE to the path + of your choice. + + If you're using the curl command line tool on Windows, curl will search + for a CA cert file named "curl-ca-bundle.crt" in these directories and in + this order: + 1. application's directory + 2. current working directory + 3. Windows System directory (e.g. C:\windows\system32) + 4. Windows Directory (e.g. C:\windows) + 5. all directories along %PATH% + + 5. Get a better/different/newer CA cert bundle! One option is to extract the + one a recent Firefox browser uses by running 'make ca-bundle' in the curl + build tree root, or possibly download a version that was generated this + way for you: + + http://curl.haxx.se/docs/caextract.html + +Neglecting to use one of the above methods when dealing with a server using a +certificate that isn't signed by one of the certificates in the installed CA +cert bundle, will cause SSL to report an error ("certificate verify failed") +during the handshake and SSL will then refuse further communication with that +server. + + Peer SSL Certificate Verification with NSS + ========================================== + +If libcurl is build with NSS support then depending on the OS distribution it +is probably required to take some additional steps to use the system-wide CA +cert db. RedHat ships with an additional module libnsspem.so which enables NSS +to read the OpenSSL PEM CA bundle. With OpenSuSE this lib is missing, and NSS +can only work with its own internal formats. Also NSS got a new database +format: +https://wiki.mozilla.org/NSS_Shared_DB +Starting with version 7.19.7 libcurl will check for the NSS version it runs, +and add automatically the 'sql:' prefix to the certdb directory (either the +hardcoded default /etc/pki/nssdb or the directory configured with SSL_DIR +environment variable) if a version 3.12.0 or later is detected. +To check which certdb format your distribution provides examine the default +certdb location /etc/pki/nssdb; the new certdb format can be identified by +the filenames cert9.db, key4.db, pkcs11.txt; filenames of older versions are +cert8.db, key3.db, modsec.db. +Usually these cert databases are empty; but NSS also has built-in CAs which are +provided through a shared library libnssckbi.so; if you want to use these +built-in CAs then create a symlink to libnssckbi.so in /etc/pki/nssdb: +ln -s /usr/lib[64]/libnssckbi.so /etc/pki/nssdb/libnssckbi.so + + diff --git a/vendor/voclient/common/curl-7.20.1/docs/THANKS b/vendor/voclient/common/curl-7.20.1/docs/THANKS new file mode 100644 index 00000000..dadb3e8a --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/THANKS @@ -0,0 +1,782 @@ + This project has been alive for many years. Countless people have provided + feedback that have improved curl. Here follows a list of people that have + contributed (a-z order). + + If you have contributed but are missing here, please let us know! + +Aaron Oneal +Adam D. Moss +Adam Piggott +Adrian Schuur +Alan Pinstein +Albert Chin-A-Young +Albert Choy +Ale Vesely +Aleksandar Milivojevic +Alessandro Vesely +Alex Fishman +Alex Neblett +Alex Suykov +Alex aka WindEagle +Alexander Beedie +Alexander Kourakos +Alexander Krasnostavsky +Alexander Lazic +Alexander Zhuravlev +Alexey Borzov +Alexey Pesternikov +Alexey Simak +Alexis Carvalho +Allen Pulsifer +Amol Pattekar +Anatoli Tubman +Anders Gustafsson +Andi Jahja +Andre Guibert de Bruet +Andreas Damm +Andreas Faerber +Andreas Farber +Andreas Ntaflos +Andreas Olsson +Andreas Rieke +Andreas Schuldei +Andreas Wurf +Andres Garcia +Andrew Benham +Andrew Biggs +Andrew Bushnell +Andrew Francis +Andrew Fuller +Andrew Moise +Andrew Wansink +Andrew de los Reyes +Andrés García +Andy Cedilnik +Andy Serpa +Andy Tsouladze +Angus Mackay +Anthony Bryan +Antoine Calando +Anton Kalmykov +Arkadiusz Miskiewicz +Armel Asselin +Arnaud Ebalard +Arve Knudsen +Ates Goral +Augustus Saunders +Avery Fay +Axel Tillequin +Balint Szilakszi +Bart Whiteley +Bas Mevissen +Ben Greear +Ben Madsen +Ben Van Hof +Benbuck Nason +Benjamin Gerard +Bernard Leak +Bertrand Demiddelaer +Bill Egert +Bill Hoffman +Bjorn Augustsson +Bjorn Reese +Björn Stenberg +Bob Schader +Bogdan Nicula +Brad Burdick +Bradford Bruce +Brendan Jurd +Brent Beardsley +Brian Akins +Brian Dessent +Brian J. Murrell +Brian R Duffy +Brian Ulm +Brock Noland +Bruce Mitchener +Bryan Henderson +Bryan Kemp +Camille Moncelier +Caolan McNamara +Carsten Lange +Casey O'Donnell +Chad Monroe +Charles Kerr +Chih-Chung Chang +Chris "Bob Bob" +Chris Combes +Chris Conroy +Chris Deidun +Chris Flerackers +Chris Gaukroger +Chris Maltby +Chris Mumford +Christian Krause +Christian Kurz +Christian Robottom Reis +Christian Schmitz +Christian Vogt +Christophe Demory +Christophe Legry +Christopher Palow +Christopher R. Palmer +Ciprian Badescu +Claes Jakobsson +Clarence Gardner +Clifford Wolf +Cody Jones +Colin Hogben +Colin Watson +Colm Buckley +Constantine Sapuntzakis +Cory Nelson +Craig A West +Craig Davison +Craig Markwardt +Cris Bailiff +Curt Bogmine +Cyrill Osterwalder +Damien Adant +Dan Becker +Dan C +Dan Fandrich +Dan Nelson +Dan Petitt +Dan Torop +Dan Zitter +Daniel Black +Daniel Cater +Daniel Egger +Daniel Fandrich +Daniel Johnson +Daniel Steinberg +Daniel Stenberg +Daniel at touchtunes +Darryl House +Dave Dribin +Dave Halbakken +Dave Hamilton +Dave May +Dave Vasilevsky +David Bau +David Binderman +David Byron +David Cohen +David Eriksson +David Houlder +David Hull +David J Meyer +David James +David Kierznowski +David Kimdon +David Lang +David LeBlanc +David McCreedy +David Odin +David Phillips +David Rosenstrauch +David Shaw +David Tarendash +David Thiel +David Wright +David Yan +Dengminwen +Detlef Schmier +Didier Brisebourg +Diego Casorran +Dima Barsky +Dimitris Sarris +Dinar +Dirk Eddelbuettel +Dirk Manske +Dmitriy Sergeyev +Dmitry Bartsevich +Dmitry Kurochkin +Dmitry Popov +Dmitry Rechkin +Dolbneff A.V +Domenico Andreoli +Dominick Meglio +Doug Kaufman +Doug Porter +Douglas E. Wegscheid +Douglas R. Horner +Dov Murik +Duane Cathey +Duncan Mac-Vicar Prett +Dustin Boswell +Dylan Ellicott +Dylan Salisbury +Early Ehlinger +Ebenezer Ikonne +Edin Kadribasic +Eduard Bloch +Eetu Ojanen +Ellis Pritchard +Emanuele Bovisio +Emil Romanus +Emiliano Ida +Enrico Scholz +Enrik Berkhan +Eric Cooper +Eric Landes +Eric Lavigne +Eric Melville +Eric Rautman +Eric Thelin +Eric Vergnaud +Eric Wong +Eric Young +Erick Nuwendam +Erwan Legrand +Erwin Authried +Eugene Kotlyarov +Evan Jordan +Eygene Ryabinkin +Fabian Keil +Fabrizio Ammollo +Fedor Karpelevitch +Felix von Leitner +Feng Tu +Florian Schoppmann +Forrest Cahoon +Frank Hempel +Frank Keeney +Frank McGeough +Frank Ticheler +Fred Machado +Fred New +Fred Noz +Frederic Lepied +Gabriel Kuri +Gary Maxwell +Gautam Kachroo +Gautam Mani +Gavrie Philipson +Gaz Iqbal +Georg Horn +Georg Huettenegger +Georg Lippitsch +Georg Wicherski +Gerd v. Egidy +Gerhard Herre +Gerrit Bruchhäuser +Giancarlo Formicuccia +Giaslas Georgios +Gil Weber +Gilad +Gilbert Ramirez Jr. +Gilles Blanc +Gisle Vanem +Giuseppe Attardi +Giuseppe D'Ambrosio +Glen Nakamura +Glen Scott +Grant Erickson +Greg Hewgill +Greg Morse +Greg Onufer +Greg Zavertnik +Grigory Entin +Guenole Bescon +Guenter Knauf +Guillaume Arluison +Gustaf Hui +Gwenole Beauchesne +Götz Babin-Ebell +Hamish Mackenzie +Hang Kin Lau +Hanno Kranzhoff +Hans Steegers +Hans-Jurgen May +Hardeep Singh +Harshal Pradhan +Heikki Korpela +Henrik Storner +Hidemoto Nakada +Hzhijun +Ian Ford +Ian Gulliver +Ian Lynagh +Ian Turner +Ian Wilkes +Ignacio Vazquez-Abrams +Igor Franchuk +Igor Novoseltsev +Igor Polyakov +Ilguiz Latypov +Ilja van Sprundel +Immanuel Gregoire +Ingmar Runge +Ingo Ralf Blum +Ingo Wilken +Jacky Lam +Jacob Meuser +Jad Chamcham +James Bursa +James Cheng +James Clancy +James Cone +James Gallagher +James Griffiths +James Housley +James MacMillan +Jamie Lokier +Jamie Newton +Jamie Wilkinson +Jan Kunder +Jared Lundell +Jari Sundell +Jason S. Priebe +Jay Austin +Jayesh A Shah +Jaz Fresh +Jean Jacques Drouin +Jean-Claude Chauve +Jean-Francois Bertrand +Jean-Louis Lemaire +Jean-Marc Ranger +Jean-Philippe Barrette-LaPierre +Jeff Johnson +Jeff Lawson +Jeff Phillips +Jeff Pohlmeyer +Jeff Weber +Jeffrey Pohlmeyer +Jeremy Friesner +Jerome Muffat-Meridol +Jes Badwal +Jesper Jensen +Jesse Noller +Jim Drash +Jim Freeman +Jim Meyering +Jocelyn Jaubert +Joe Halpin +Joe Malicki +Joel Chen +Jofell Gallardo +Johan Anderson +Johan Nilsson +Johan van Selst +John Crow +John Dennis +John E. Malmberg +John Janssen +John Kelly +John Lask +John Lightsey +John McGowan +John P. McCaskey +John Wilkinson +Johnny Luong +Jon Grubbs +Jon Nelson +Jon Travis +Jon Turner +Jonas Forsman +Jonatan Lander +Jonathan Hseu +Jongki Suwandi +Jose Kahan +Josef Wolf +Josh Kapell +Joshua Kwan +Juan F. Codagnone +Juan Ignacio Hervás +Judson Bishop +Juergen Wilke +Jukka Pihl +Julian Noble +Julien Chaffraix +Jun-ichiro itojun Hagino +Jurij Smakov +Justin Fletcher +Jörg Mueller-Tolk +Jörn Hartroth +Kai Sommerfeld +Kai-Uwe Rommel +Kamil Dudka +Kang-Jin Lee +Karl Moerder +Karol Pietrzak +Kaspar Brand +Katie Wang +Kees Cook +Keith MacDonald +Keith McGuigan +Keith Mok +Ken Hirsch +Ken Rastatter +Kent Boortz +Keshav Krity +Kevin Baughman +Kevin Fisk +Kevin Lussier +Kevin Reed +Kevin Roth +Kim Rinnewitz +Kimmo Kinnunen +Kjell Ericson +Kjetil Jacobsen +Klevtsov Vadim +Kris Kennaway +Krishnendu Majumdar +Krister Johansen +Kristian Gunstone +Kristian Köhntopp +Kyle Sallee +Lachlan O'Dea +Larry Campbell +Larry Fahnoe +Lars Gustafsson +Lars J. Aas +Lars Nilsson +Lars Torben Wilson +Lau Hang Kin +Laurent Rabret +Legoff Vincent +Lehel Bernadt +Len Krause +Lenaic Lefever +Lenny Rachitsky +Liam Healy +Linas Vepstas +Ling Thio +Linus Nielsen Feltzing +Lisa Xu +Liza Alenchery +Loic Dachary +Loren Kirkby +Luca Altea +Luca Alteas +Lucas Adamski +Lukasz Czekierda +Luke Call +Luong Dinh Dung +Maciej Karpiuk +Maciej W. Rozycki +Manfred Schwarb +Marc Boucher +Marc Kleine-Budde +Marcelo Juchem +Marcin Konicki +Marco G. Salvagno +Marco Maggi +Marcus Webster +Mario Schroeder +Mark Butler +Mark Davies +Mark Eichin +Mark Incley +Mark Karpeles +Mark Lentczner +Markus Koetter +Markus Moeller +Markus Oberhumer +Martijn Koster +Martin C. Martin +Martin Drasar +Martin Hedenfalk +Martin Skinner +Martin Storsjo +Marty Kuhrt +Maruko +Massimiliano Ziccardi +Mateusz Loskot +Mathias Axelsson +Mats Lidell +Matt Kraai +Matt Veenstra +Matt Witherspoon +Matthew Blain +Matthew Clarke +Maurice Barnum +Max Katsev +Maxim Ivanov +Maxim Perenesenko +Mekonikum +Mettgut Jamalla +Michael Benedict +Michael Calmer +Michael Cronenworth +Michael Curtis +Michael Goffioul +Michael Jahn +Michael Jerris +Michael Mealling +Michael Smith +Michael Stillwell +Michael Wallner +Michal Bonino +Michal Marek +Michele Bini +Mihai Ionescu +Mikael Sennerholm +Mike Bytnar +Mike Crowe +Mike Dobbs +Mike Hommey +Mike Protts +Mike Revi +Miklos Nemeth +Mitz Wark +Mohamed Lrhazi +Mohun Biswas +Moonesamy +Nathan Coulter +Nathan O'Sullivan +Nathanael Nerode +Naveen Noel +Neil Dunbar +Neil Spring +Nic Roets +Nick Gimbrone +Nick Humfrey +Nick Zitzmann +Nico Baggus +Nicolas Berloquin +Nicolas Croiset +Nicolas François +Niels van Tongeren +Nikita Schmidt +Nikitinskit Dmitriy +Niklas Angebrand +Nikolai Kondrashov +Nir Soffer +Nis Jorgensen +Nodak Sodak +Norbert Frese +Norbert Novotny +Ofer +Olaf Stueben +Olaf Stüben +Oren Tirosh +P R Schaffner +Pascal Terjan +Patrick Bihan-Faou +Patrick Monnerat +Patrick Scott +Patrick Smith +Patrik Thunstrom +Paul Harrington +Paul Marquis +Paul Moore +Paul Nolan +Paul Querna +Pavel Cenek +Pavel Orehov +Pawel A. Gajda +Pawel Kierski +Pedro Neves +Pete Su +Peter Bray +Peter Forret +Peter Heuchert +Peter Korsgaard +Peter Lamberg +Peter O'Gorman +Peter Pentchev +Peter Silva +Peter Su +Peter Sylvester +Peter Todd +Peter Verhas +Peter Wullinger +Peteris Krumins +Phil Blundell +Phil Karn +Phil Lisiecki +Phil Pellouchoud +Philip Gladstone +Philip Langdale +Philippe Hameau +Philippe Raoult +Philippe Vaucher +Pierre +Pierre Brico +Pooyan McSporran +Pramod Sharma +Puneet Pawaia +Quagmire +Rafa Muyo +Rafael Sagula +Rainer Koenig +Ralf S. Engelschall +Ralph Beckmann +Ralph Mitchell +Ramana Mokkapati +Randy McMurchy +Ravi Pratap +Ray Dassen +Ray Pekowski +Reinout van Schouwen +Renato Botelho +Renaud Chaillat +Renaud Duhaut +Rene Bernhardt +Rene Rebe +Reuven Wachtfogel +Ricardo Cadime +Rich Gray +Rich Rauenzahn +Richard Archer +Richard Atterer +Richard Bramante +Richard Clayton +Richard Cooper +Richard Gorton +Richard Prescott +Rick Jones +Rick Richardson +Rob Crittenden +Rob Jones +Rob Stanzel +Robert A. Monat +Robert D. Young +Robert Foreman +Robert Iakobashvili +Robert Olson +Robert Weaver +Robin Johnson +Robin Kay +Robson Braga Araujo +Rodney Simmons +Roland Blom +Roland Krikava +Roland Zimmermann +Rolland Dudemaine +Roman Koifman +Ron Zapp +Rosimildo da Silva +Roy Shan +Rune Kleveland +Ryan Nelson +S. Moonesamy +Salvador Dávila +Salvatore Sorrentino +Sam Listopad +Sampo Kellomaki +Samuel Díaz García +Samuel Listopad +Sander Gates +Sandor Feldi +Saul good +Scott Barrett +Scott Cantor +Scott Davis +Scott McCreary +Sebastien Willemijns +Senthil Raja Velu +Sergio Ballestrero +Seshubabu Pasam +Sh Diao +Sharad Gupta +Shard +Shawn Poulson +Shmulik Regev +Siddhartha Prakash Jain +Siegfried Gyuricsko +Simon Dick +Simon Josefsson +Simon Liu +Song Ma +Sonia Subramanian +Spacen Jasset +Spiridonoff A.V +Stadler Stephan +Stan van de Burgt +Stefan Esser +Stefan Krause +Stefan Teleman +Stefan Ulrich +Stephan Bergmann +Stephen Collyer +Stephen Kick +Stephen More +Sterling Hughes +Steve Green +Steve Lhomme +Steve Little +Steve Marx +Steve Oliphant +Steve Roskowski +Steven Bazyl +Steven G. Johnson +Stoned Elipot +Sven Anders +Sven Neuhaus +Sven Wegener +Sébastien Willemijns +T. Bharath +T. Yamada +Tanguy Fautre +Temprimus +Thomas J. Moore +Thomas Klausner +Thomas Schwinge +Thomas Tonino +Tim Ansell +Tim Baker +Tim Bartley +Tim Chen +Tim Costello +Tim Sneddon +Tobias Rundström +Toby Peterson +Todd Kulesza +Todd Vierling +Tom Benoist +Tom Lee +Tom Mattison +Tom Moers +Tom Mueller +Tom Regner +Tom Zerucha +Tomas Pospisek +Tomas Szepe +Tomasz Lacki +Tommy Tam +Ton Voon +Toon Verwaest +Tor Arntsen +Torsten Foertsch +Toshio Kuratomi +Toshiyuki Maezawa +Traian Nicolescu +Troels Walsted Hansen +Troy Engel +Tupone Alfredo +Ulf Härnhammar +Ulrich Zadow +Venkat Akella +Victor Snezhko +Vikram Saxena +Vilmos Nebehaj +Vincent Bronner +Vincent Le Normand +Vincent Penquerc'h +Vincent Sanders +Vlad Grachov +Vladimir Lazarenko +Vojtech Janota +Vojtech Minarik +Walter J. Mack +Wayne Haigh +Werner Koch +Wesley Laxton +Wesley Miaw +Wez Furlong +Wilfredo Sanchez +Wojciech Zwiefka +Xavier Bouchoux +Yang Tse +Yarram Sunil +Yehoshua Hershberg +Yuriy Sosov +Yves Lejeune +Zmey Petroff +Zvi Har'El +nk +swalkaus at yahoo.com +tommink[at]post.pl diff --git a/vendor/voclient/common/curl-7.20.1/docs/TODO b/vendor/voclient/common/curl-7.20.1/docs/TODO new file mode 100644 index 00000000..fbf64c78 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/TODO @@ -0,0 +1,601 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + + Things that could be nice to do in the future + + Things to do in project cURL. Please tell us what you think, contribute and + send us patches that improve things! + + All bugs documented in the KNOWN_BUGS document are subject for fixing! + + 1. libcurl + 1.1 Zero-copy interface + 1.2 More data sharing + 1.3 struct lifreq + 1.4 signal-based resolver timeouts + + 2. libcurl - multi interface + 2.1 More non-blocking + 2.2 Remove easy interface internally + 2.3 Avoid having to remove/readd handles + 2.4 Fix HTTP Pipelining for PUT + + 3. Documentation + 3.1 More and better + + 4. FTP + 4.1 PRET + 4.2 Alter passive/active on failure and retry + 4.3 Earlier bad letter detection + 4.4 REST for large files + 4.5 FTP proxy support + 4.6 ASCII support + + 5. HTTP + 5.1 Better persistency for HTTP 1.0 + 5.2 support FF3 sqlite cookie files + 5.3 Rearrange request header order + + 6. TELNET + 6.1 ditch stdin + 6.2 ditch telnet-specific select + 6.3 feature negotiation debug data + 6.4 send data in chunks + + 7. SSL + 7.1 Disable specific versions + 7.2 Provide mutex locking API + 7.3 Evaluate SSL patches + 7.4 Cache OpenSSL contexts + 7.5 Export session ids + 7.6 Provide callback for cert verification + 7.7 Support other SSL libraries + 7.8 Support SRP on the TLS layer + 7.9 improve configure --with-ssl + 7.10 Make NTLM work with other crypto functions + + 8. GnuTLS + 8.1 SSL engine stuff + 8.2 SRP + 8.3 non-blocking + 8.4 check connection + + 9. Other protocols + 9.1 ditch ldap-specific select + + 10. New protocols + 10.1 RTSP + 10.2 RSYNC + 10.3 RTMP + + 11. Client + 11.1 Content-Disposition + 11.2 sync + 11.3 glob posts + 11.4 prevent file overwriting + 11.5 ftp wildcard download + 11.6 simultaneous parallel transfers + 11.7 provide formpost headers + 11.8 url-specific options + 11.9 metalink support + 11.10 warning when setting an option + + 12. Build + 12.1 roffit + + 13. Test suite + 13.1 SSL tunnel + 13.2 nicer lacking perl message + 13.3 more protocols supported + 13.4 more platforms supported + + 14. Next SONAME bump + 14.1 http-style HEAD output for ftp + 14.2 combine error codes + 14.3 extend CURLOPT_SOCKOPTFUNCTION prototype + + 15. Next major release + 15.1 cleanup return codes + 15.2 remove obsolete defines + 15.3 size_t + 15.4 remove several functions + 15.5 remove CURLOPT_FAILONERROR + 15.6 remove CURLOPT_DNS_USE_GLOBAL_CACHE + 15.7 remove progress meter from libcurl + +============================================================================== + +1. libcurl + +1.1 Zero-copy interface + + Introduce another callback interface for upload/download that makes one less + copy of data and thus a faster operation. + [http://curl.haxx.se/dev/no_copy_callbacks.txt] + +1.2 More data sharing + + curl_share_* functions already exist and work, and they can be extended to + share more. For example, enable sharing of the ares channel and the + connection cache. + +1.3 struct lifreq + + Use 'struct lifreq' and SIOCGLIFADDR instead of 'struct ifreq' and + SIOCGIFADDR on newer Solaris versions as they claim the latter is obsolete. + To support ipv6 interface addresses for network interfaces properly. + +1.4 signal-based resolver timeouts + + libcurl built without an asynchronous resolver library uses alarm() to time + out DNS lookups. When a timeout occurs, this causes libcurl to jump from the + signal handler back into the library with a sigsetjmp, which effectively + causes libcurl to continue running within the signal handler. This is + non-portable and could cause problems on some platforms. A discussion on the + problem is available at http://curl.haxx.se/mail/lib-2008-09/0197.html + + Also, alarm() provides timeout resolution only to the nearest second. alarm + ought to be replaced by setitimer on systems that support it. + +2. libcurl - multi interface + +2.1 More non-blocking + + Make sure we don't ever loop because of non-blocking sockets returning + EWOULDBLOCK or similar. Blocking cases include: + + - Name resolves on non-windows unless c-ares is used + - GnuTLS SSL connections + - NSS SSL connections + - Active FTP connections + - HTTP proxy CONNECT operations + - SOCKS proxy handshakes + - file:// transfers + - TELNET transfers + - The "DONE" operation (post transfer protocol-specific actions) for the + protocols SFTP, SMTP, FTP. Fixing Curl_done() for this is a worthy task. + +2.2 Remove easy interface internally + + Make curl_easy_perform() a wrapper-function that simply creates a multi + handle, adds the easy handle to it, runs curl_multi_perform() until the + transfer is done, then detach the easy handle, destroy the multi handle and + return the easy handle's return code. This will thus make everything + internally use and assume the multi interface. The select()-loop should use + curl_multi_socket(). + +2.3 Avoid having to remove/readd handles + + curl_multi_handle_control() - this can control the easy handle (while) added + to a multi handle in various ways: + + o RESTART, unconditionally restart this easy handle's transfer from the + start, re-init the state + + o RESTART_COMPLETED, restart this easy handle's transfer but only if the + existing transfer has already completed and it is in a "finished state". + + o STOP, just stop this transfer and consider it completed + + o PAUSE? + + o RESUME? + +2.4 Fix HTTP Pipelining for PUT + + HTTP Pipelining can be a way to greatly enhance performance for multiple + serial requests and currently libcurl only supports that for HEAD and GET + requests but it should also be possible for PUT. + + +3. Documentation + +3.1 More and better + + Exactly + +4. FTP + +4.1 PRET + + PRET is a command that primarily "drftpd" supports, which could be useful + when using libcurl against such a server. It is a non-standard and a rather + oddly designed command, but... + http://curl.haxx.se/bug/feature.cgi?id=1729967 + +4.2 Alter passive/active on failure and retry + + When trying to connect passively to a server which only supports active + connections, libcurl returns CURLE_FTP_WEIRD_PASV_REPLY and closes the + connection. There could be a way to fallback to an active connection (and + vice versa). http://curl.haxx.se/bug/feature.cgi?id=1754793 + +4.3 Earlier bad letter detection + + Make the detection of (bad) %0d and %0a codes in FTP url parts earlier in the + process to avoid doing a resolve and connect in vain. + +4.4 REST for large files + + REST fix for servers not behaving well on >2GB requests. This should fail if + the server doesn't set the pointer to the requested index. The tricky + (impossible?) part is to figure out if the server did the right thing or not. + +4.5 FTP proxy support + + Support the most common FTP proxies, Philip Newton provided a list allegedly + from ncftp. This is not a subject without debate, and is probably not really + suitable for libcurl. http://curl.haxx.se/mail/archive-2003-04/0126.html + +4.6 ASCII support + + FTP ASCII transfers do not follow RFC959. They don't convert the data + accordingly. + +5. HTTP + +5.1 Better persistency for HTTP 1.0 + + "Better" support for persistent connections over HTTP 1.0 + http://curl.haxx.se/bug/feature.cgi?id=1089001 + +5.2 support FF3 sqlite cookie files + + Firefox 3 is changing from its former format to a a sqlite database instead. + We should consider how (lib)curl can/should support this. + http://curl.haxx.se/bug/feature.cgi?id=1871388 + +5.3 Rearrange request header order + + Server implementors often make an effort to detect browser and to reject + clients it can detect to not match. One of the last details we cannot yet + control in libcurl's HTTP requests, which also can be exploited to detect + that libcurl is in fact used even when it tries to impersonate a browser, is + the order of the request headers. I propose that we introduce a new option in + which you give headers a value, and then when the HTTP request is built it + sorts the headers based on that number. We could then have internally created + headers use a default value so only headers that need to be moved have to be + specified. + + +6. TELNET + +6.1 ditch stdin + +Reading input (to send to the remote server) on stdin is a crappy solution for +library purposes. We need to invent a good way for the application to be able +to provide the data to send. + +6.2 ditch telnet-specific select + + Move the telnet support's network select() loop go away and merge the code + into the main transfer loop. Until this is done, the multi interface won't + work for telnet. + +6.3 feature negotiation debug data + + Add telnet feature negotiation data to the debug callback as header data. + +6.4 send data in chunks + + Currently, telnet sends data one byte at a time. This is fine for interactive + use, but inefficient for any other. Sent data should be sent in larger + chunks. + +7. SSL + +7.1 Disable specific versions + + Provide an option that allows for disabling specific SSL versions, such as + SSLv2 http://curl.haxx.se/bug/feature.cgi?id=1767276 + +7.2 Provide mutex locking API + + Provide a libcurl API for setting mutex callbacks in the underlying SSL + library, so that the same application code can use mutex-locking + independently of OpenSSL or GnutTLS being used. + +7.3 Evaluate SSL patches + + Evaluate/apply Gertjan van Wingerde's SSL patches: + http://curl.haxx.se/mail/lib-2004-03/0087.html + +7.4 Cache OpenSSL contexts + + "Look at SSL cafile - quick traces look to me like these are done on every + request as well, when they should only be necessary once per ssl context (or + once per handle)". The major improvement we can rather easily do is to make + sure we don't create and kill a new SSL "context" for every request, but + instead make one for every connection and re-use that SSL context in the same + style connections are re-used. It will make us use slightly more memory but + it will libcurl do less creations and deletions of SSL contexts. + +7.5 Export session ids + + Add an interface to libcurl that enables "session IDs" to get + exported/imported. Cris Bailiff said: "OpenSSL has functions which can + serialise the current SSL state to a buffer of your choice, and recover/reset + the state from such a buffer at a later date - this is used by mod_ssl for + apache to implement and SSL session ID cache". + +7.6 Provide callback for cert verification + + OpenSSL supports a callback for customised verification of the peer + certificate, but this doesn't seem to be exposed in the libcurl APIs. Could + it be? There's so much that could be done if it were! + +7.7 Support other SSL libraries + + Make curl's SSL layer capable of using other free SSL libraries. Such as + MatrixSSL (http://www.matrixssl.org/). + +7.8 Support SRP on the TLS layer + + Peter Sylvester's patch for SRP on the TLS layer. Awaits OpenSSL support for + this, no need to support this in libcurl before there's an OpenSSL release + that does it. + +7.9 improve configure --with-ssl + + make the configure --with-ssl option first check for OpenSSL, then GnuTLS, + then NSS... + +7.10 Make NTLM work with other crypto functions + + Get NTLM working using the functions provided by NSS etc. Not strictly + SSL/TLS related, but hey... Another option is to get available DES and MD4 + source code from the cryptopp library. They are fine license-wise, but are + C++. NTLM currenly only works when libcurl is built with OpenSSL or GnuTLS + support. + +8. GnuTLS + +8.1 SSL engine stuff + + Is this even possible? + +8.2 SRP + + Work out a common method with Peter Sylvester's OpenSSL-patch for SRP on the + TLS to provide name and password. GnuTLS already supports it... + +8.3 non-blocking + + Fix the connection phase to be non-blocking when multi interface is used + +8.4 check connection + + Add a way to check if the connection seems to be alive, to correspond to the + SSL_peak() way we use with OpenSSL. + +9. Other protocols + +9.1 ditch ldap-specific select + + * Look over the implementation. The looping will have to "go away" from the + lib/ldap.c source file and get moved to the main network code so that the + multi interface and friends will work for LDAP as well. + +9.2 stop TFTP blocking + + Stop TFTP from being blocking and doing its own read loop in tftp_do. + +10. New protocols + +10.1 RTSP + + RFC2326 (protocol - very HTTP-like, also contains URL description) + +10.2 RSYNC + + There's no RFC for protocol nor URI/URL format. An implementation should + most probably use an existing rsync library, such as librsync. + +10.3 RTMP + + There exists a patch that claims to introduce this protocol: + http://osdir.com/ml/gnu.gnash.devel2/2006-11/msg00278.html, further details + in the feature-request: http://curl.haxx.se/bug/feature.cgi?id=1843469 + +11. Client + +11.1 Content-Disposition + + Add option that is similar to -O but that takes the output file name from the + Content-Disposition: header, and/or uses the local file name used in + redirections for the cases the server bounces the request further to a + different file (name): http://curl.haxx.se/bug/feature.cgi?id=1364676 + +11.2 sync + + "curl --sync http://example.com/feed[1-100].rss" or + "curl --sync http://example.net/{index,calendar,history}.html" + + Downloads a range or set of URLs using the remote name, but only if the + remote file is newer than the local file. A Last-Modified HTTP date header + should also be used to set the mod date on the downloaded file. + +11.3 glob posts + + Globbing support for -d and -F, as in 'curl -d "name=foo[0-9]" URL'. + This is easily scripted though. + +11.4 prevent file overwriting + + Add an option that prevents cURL from overwriting existing local files. When + used, and there already is an existing file with the target file name + (either -O or -o), a number should be appended (and increased if already + existing). So that index.html becomes first index.html.1 and then + index.html.2 etc. + +11.5 ftp wildcard download + + "curl ftp://site.com/*.txt" + +11.6 simultaneous parallel transfers + + The client could be told to use maximum N simultaneous parallel transfers and + then just make sure that happens. It should of course not make more than one + connection to the same remote host. This would require the client to use the + multi interface. http://curl.haxx.se/bug/feature.cgi?id=1558595 + +11.7 provide formpost headers + + Extending the capabilities of the multipart formposting. How about leaving + the ';type=foo' syntax as it is and adding an extra tag (headers) which + works like this: curl -F "coolfiles=@fil1.txt;headers=@fil1.hdr" where + fil1.hdr contains extra headers like + + Content-Type: text/plain; charset=KOI8-R" + Content-Transfer-Encoding: base64 + X-User-Comment: Please don't use browser specific HTML code + + which should overwrite the program reasonable defaults (plain/text, + 8bit...) + +11.8 url-specific options + + Provide a way to make options bound to a specific URL among several on the + command line. Possibly by letting ':' separate options between URLs, + similar to this: + + curl --data foo --url url.com : \ + --url url2.com : \ + --url url3.com --data foo3 + + (More details: http://curl.haxx.se/mail/archive-2004-07/0133.html) + + The example would do a POST-GET-POST combination on a single command line. + +11.9 metalink support + + Add metalink support to curl (http://www.metalinker.org/). This is most useful + with simultaneous parallel transfers (11.6) but not necessary. + +11.10 warning when setting an option + + Display a warning when libcurl returns an error when setting an option. + This can be useful to tell when support for a particular feature hasn't been + compiled into the library. + +12. Build + +12.1 roffit + + Consider extending 'roffit' to produce decent ASCII output, and use that + instead of (g)nroff when building src/hugehelp.c + +13. Test suite + +13.1 SSL tunnel + + Make our own version of stunnel for simple port forwarding to enable HTTPS + and FTP-SSL tests without the stunnel dependency, and it could allow us to + provide test tools built with either OpenSSL or GnuTLS + +13.2 nicer lacking perl message + + If perl wasn't found by the configure script, don't attempt to run the tests + but explain something nice why it doesn't. + +13.3 more protocols supported + + Extend the test suite to include more protocols. The telnet could just do ftp + or http operations (for which we have test servers). + +13.4 more platforms supported + + Make the test suite work on more platforms. OpenBSD and Mac OS. Remove + fork()s and it should become even more portable. + +14. Next SONAME bump + +14.1 http-style HEAD output for ftp + + #undef CURL_FTP_HTTPSTYLE_HEAD in lib/ftp.c to remove the HTTP-style headers + from being output in NOBODY requests over ftp + +14.2 combine error codes + + Combine some of the error codes to remove duplicates. The original + numbering should not be changed, and the old identifiers would be + macroed to the new ones in an CURL_NO_OLDIES section to help with + backward compatibility. + + Candidates for removal and their replacements: + + CURLE_FILE_COULDNT_READ_FILE => CURLE_REMOTE_FILE_NOT_FOUND + CURLE_FTP_COULDNT_RETR_FILE => CURLE_REMOTE_FILE_NOT_FOUND + CURLE_FTP_COULDNT_USE_REST => CURLE_RANGE_ERROR + CURLE_FUNCTION_NOT_FOUND => CURLE_FAILED_INIT + CURLE_LDAP_INVALID_URL => CURLE_URL_MALFORMAT + CURLE_TFTP_NOSUCHUSER => CURLE_TFTP_ILLEGAL + CURLE_TFTP_NOTFOUND => CURLE_REMOTE_FILE_NOT_FOUND + CURLE_TFTP_PERM => CURLE_REMOTE_ACCESS_DENIED + +14.3 extend CURLOPT_SOCKOPTFUNCTION prototype + + The current prototype only provides 'purpose' that tells what the + connection/socket is for, but not any protocol or similar. It makes it hard + for applications to differentiate on TCP vs UDP and even HTTP vs FTP and + similar. + +15. Next major release + +15.1 cleanup return codes + + curl_easy_cleanup() returns void, but curl_multi_cleanup() returns a + CURLMcode. These should be changed to be the same. + +15.2 remove obsolete defines + + remove obsolete defines from curl/curl.h + +15.3 size_t + + make several functions use size_t instead of int in their APIs + +15.4 remove several functions + + remove the following functions from the public API: + + curl_getenv + + curl_mprintf (and variations) + + curl_strequal + + curl_strnequal + + They will instead become curlx_ - alternatives. That makes the curl app + still capable of using them, by building with them from source. + + These functions have no purpose anymore: + + curl_multi_socket + + curl_multi_socket_all + +15.5 remove CURLOPT_FAILONERROR + + Remove support for CURLOPT_FAILONERROR, it has gotten too kludgy and weird + internally. Let the app judge success or not for itself. + +15.6 remove CURLOPT_DNS_USE_GLOBAL_CACHE + + Remove support for a global DNS cache. Anything global is silly, and we + already offer the share interface for the same functionality but done + "right". + +15.7 remove progress meter from libcurl + + The internally provided progress meter output doesn't belong in the library. + Basically no application wants it (apart from curl) but instead applications + can and should do their own progress meters using the progress callback. + + The progress callback should then be bumped as well to get proper 64bit + variable types passed to it instead of doubles so that big files work + correctly. diff --git a/vendor/voclient/common/curl-7.20.1/docs/TheArtOfHttpScripting b/vendor/voclient/common/curl-7.20.1/docs/TheArtOfHttpScripting new file mode 100644 index 00000000..47eb5229 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/TheArtOfHttpScripting @@ -0,0 +1,490 @@ +Online: http://curl.haxx.se/docs/httpscripting.html +Date: May 28, 2008 + + The Art Of Scripting HTTP Requests Using Curl + ============================================= + + This document will assume that you're familiar with HTML and general + networking. + + The possibility to write scripts is essential to make a good computer + system. Unix' capability to be extended by shell scripts and various tools to + run various automated commands and scripts is one reason why it has succeeded + so well. + + The increasing amount of applications moving to the web has made "HTTP + Scripting" more frequently requested and wanted. To be able to automatically + extract information from the web, to fake users, to post or upload data to + web servers are all important tasks today. + + Curl is a command line tool for doing all sorts of URL manipulations and + transfers, but this particular document will focus on how to use it when + doing HTTP requests for fun and profit. I'll assume that you know how to + invoke 'curl --help' or 'curl --manual' to get basic information about it. + + Curl is not written to do everything for you. It makes the requests, it gets + the data, it sends data and it retrieves the information. You probably need + to glue everything together using some kind of script language or repeated + manual invokes. + +1. The HTTP Protocol + + HTTP is the protocol used to fetch data from web servers. It is a very simple + protocol that is built upon TCP/IP. The protocol also allows information to + get sent to the server from the client using a few different methods, as will + be shown here. + + HTTP is plain ASCII text lines being sent by the client to a server to + request a particular action, and then the server replies a few text lines + before the actual requested content is sent to the client. + + Using curl's option -v will display what kind of commands curl sends to the + server, as well as a few other informational texts. -v is the single most + useful option when it comes to debug or even understand the curl<->server + interaction. + +2. URL + + The Uniform Resource Locator format is how you specify the address of a + particular resource on the Internet. You know these, you've seen URLs like + http://curl.haxx.se or https://yourbank.com a million times. + +3. GET a page + + The simplest and most common request/operation made using HTTP is to get a + URL. The URL could itself refer to a web page, an image or a file. The client + issues a GET request to the server and receives the document it asked for. + If you issue the command line + + curl http://curl.haxx.se + + you get a web page returned in your terminal window. The entire HTML document + that that URL holds. + + All HTTP replies contain a set of headers that are normally hidden, use + curl's -i option to display them as well as the rest of the document. You can + also ask the remote server for ONLY the headers by using the -I option (which + will make curl issue a HEAD request). + +4. Forms + + Forms are the general way a web site can present a HTML page with fields for + the user to enter data in, and then press some kind of 'OK' or 'submit' + button to get that data sent to the server. The server then typically uses + the posted data to decide how to act. Like using the entered words to search + in a database, or to add the info in a bug track system, display the entered + address on a map or using the info as a login-prompt verifying that the user + is allowed to see what it is about to see. + + Of course there has to be some kind of program in the server end to receive + the data you send. You cannot just invent something out of the air. + + 4.1 GET + + A GET-form uses the method GET, as specified in HTML like: + +
+ + +
+ + In your favorite browser, this form will appear with a text box to fill in + and a press-button labeled "OK". If you fill in '1905' and press the OK + button, your browser will then create a new URL to get for you. The URL will + get "junk.cgi?birthyear=1905&press=OK" appended to the path part of the + previous URL. + + If the original form was seen on the page "www.hotmail.com/when/birth.html", + the second page you'll get will become + "www.hotmail.com/when/junk.cgi?birthyear=1905&press=OK". + + Most search engines work this way. + + To make curl do the GET form post for you, just enter the expected created + URL: + + curl "www.hotmail.com/when/junk.cgi?birthyear=1905&press=OK" + + 4.2 POST + + The GET method makes all input field names get displayed in the URL field of + your browser. That's generally a good thing when you want to be able to + bookmark that page with your given data, but it is an obvious disadvantage + if you entered secret information in one of the fields or if there are a + large amount of fields creating a very long and unreadable URL. + + The HTTP protocol then offers the POST method. This way the client sends the + data separated from the URL and thus you won't see any of it in the URL + address field. + + The form would look very similar to the previous one: + +
+ + +
+ + And to use curl to post this form with the same data filled in as before, we + could do it like: + + curl -d "birthyear=1905&press=%20OK%20" www.hotmail.com/when/junk.cgi + + This kind of POST will use the Content-Type + application/x-www-form-urlencoded and is the most widely used POST kind. + + The data you send to the server MUST already be properly encoded, curl will + not do that for you. For example, if you want the data to contain a space, + you need to replace that space with %20 etc. Failing to comply with this + will most likely cause your data to be received wrongly and messed up. + + Recent curl versions can in fact url-encode POST data for you, like this: + + curl --data-urlencode "name=I am Daniel" www.example.com + + 4.3 File Upload POST + + Back in late 1995 they defined an additional way to post data over HTTP. It + is documented in the RFC 1867, why this method sometimes is referred to as + RFC1867-posting. + + This method is mainly designed to better support file uploads. A form that + allows a user to upload a file could be written like this in HTML: + +
+ + +
+ + This clearly shows that the Content-Type about to be sent is + multipart/form-data. + + To post to a form like this with curl, you enter a command line like: + + curl -F upload=@localfilename -F press=OK [URL] + + 4.4 Hidden Fields + + A very common way for HTML based application to pass state information + between pages is to add hidden fields to the forms. Hidden fields are + already filled in, they aren't displayed to the user and they get passed + along just as all the other fields. + + A similar example form with one visible field, one hidden field and one + submit button could look like: + +
+ + + +
+ + To post this with curl, you won't have to think about if the fields are + hidden or not. To curl they're all the same: + + curl -d "birthyear=1905&press=OK&person=daniel" [URL] + + 4.5 Figure Out What A POST Looks Like + + When you're about fill in a form and send to a server by using curl instead + of a browser, you're of course very interested in sending a POST exactly the + way your browser does. + + An easy way to get to see this, is to save the HTML page with the form on + your local disk, modify the 'method' to a GET, and press the submit button + (you could also change the action URL if you want to). + + You will then clearly see the data get appended to the URL, separated with a + '?'-letter as GET forms are supposed to. + +5. PUT + + The perhaps best way to upload data to a HTTP server is to use PUT. Then + again, this of course requires that someone put a program or script on the + server end that knows how to receive a HTTP PUT stream. + + Put a file to a HTTP server with curl: + + curl -T uploadfile www.uploadhttp.com/receive.cgi + +6. HTTP Authentication + + HTTP Authentication is the ability to tell the server your username and + password so that it can verify that you're allowed to do the request you're + doing. The Basic authentication used in HTTP (which is the type curl uses by + default) is *plain* *text* based, which means it sends username and password + only slightly obfuscated, but still fully readable by anyone that sniffs on + the network between you and the remote server. + + To tell curl to use a user and password for authentication: + + curl -u name:password www.secrets.com + + The site might require a different authentication method (check the headers + returned by the server), and then --ntlm, --digest, --negotiate or even + --anyauth might be options that suit you. + + Sometimes your HTTP access is only available through the use of a HTTP + proxy. This seems to be especially common at various companies. A HTTP proxy + may require its own user and password to allow the client to get through to + the Internet. To specify those with curl, run something like: + + curl -U proxyuser:proxypassword curl.haxx.se + + If your proxy requires the authentication to be done using the NTLM method, + use --proxy-ntlm, if it requires Digest use --proxy-digest. + + If you use any one these user+password options but leave out the password + part, curl will prompt for the password interactively. + + Do note that when a program is run, its parameters might be possible to see + when listing the running processes of the system. Thus, other users may be + able to watch your passwords if you pass them as plain command line + options. There are ways to circumvent this. + + It is worth noting that while this is how HTTP Authentication works, very + many web sites will not use this concept when they provide logins etc. See + the Web Login chapter further below for more details on that. + +7. Referer + + A HTTP request may include a 'referer' field (yes it is misspelled), which + can be used to tell from which URL the client got to this particular + resource. Some programs/scripts check the referer field of requests to verify + that this wasn't arriving from an external site or an unknown page. While + this is a stupid way to check something so easily forged, many scripts still + do it. Using curl, you can put anything you want in the referer-field and + thus more easily be able to fool the server into serving your request. + + Use curl to set the referer field with: + + curl -e http://curl.haxx.se daniel.haxx.se + +8. User Agent + + Very similar to the referer field, all HTTP requests may set the User-Agent + field. It names what user agent (client) that is being used. Many + applications use this information to decide how to display pages. Silly web + programmers try to make different pages for users of different browsers to + make them look the best possible for their particular browsers. They usually + also do different kinds of javascript, vbscript etc. + + At times, you will see that getting a page with curl will not return the same + page that you see when getting the page with your browser. Then you know it + is time to set the User Agent field to fool the server into thinking you're + one of those browsers. + + To make curl look like Internet Explorer on a Windows 2000 box: + + curl -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" [URL] + + Or why not look like you're using Netscape 4.73 on a Linux (PIII) box: + + curl -A "Mozilla/4.73 [en] (X11; U; Linux 2.2.15 i686)" [URL] + +9. Redirects + + When a resource is requested from a server, the reply from the server may + include a hint about where the browser should go next to find this page, or a + new page keeping newly generated output. The header that tells the browser + to redirect is Location:. + + Curl does not follow Location: headers by default, but will simply display + such pages in the same manner it display all HTTP replies. It does however + feature an option that will make it attempt to follow the Location: pointers. + + To tell curl to follow a Location: + + curl -L www.sitethatredirects.com + + If you use curl to POST to a site that immediately redirects you to another + page, you can safely use -L and -d/-F together. Curl will only use POST in + the first request, and then revert to GET in the following operations. + +10. Cookies + + The way the web browsers do "client side state control" is by using + cookies. Cookies are just names with associated contents. The cookies are + sent to the client by the server. The server tells the client for what path + and host name it wants the cookie sent back, and it also sends an expiration + date and a few more properties. + + When a client communicates with a server with a name and path as previously + specified in a received cookie, the client sends back the cookies and their + contents to the server, unless of course they are expired. + + Many applications and servers use this method to connect a series of requests + into a single logical session. To be able to use curl in such occasions, we + must be able to record and send back cookies the way the web application + expects them. The same way browsers deal with them. + + The simplest way to send a few cookies to the server when getting a page with + curl is to add them on the command line like: + + curl -b "name=Daniel" www.cookiesite.com + + Cookies are sent as common HTTP headers. This is practical as it allows curl + to record cookies simply by recording headers. Record cookies with curl by + using the -D option like: + + curl -D headers_and_cookies www.cookiesite.com + + (Take note that the -c option described below is a better way to store + cookies.) + + Curl has a full blown cookie parsing engine built-in that comes to use if you + want to reconnect to a server and use cookies that were stored from a + previous connection (or handicrafted manually to fool the server into + believing you had a previous connection). To use previously stored cookies, + you run curl like: + + curl -b stored_cookies_in_file www.cookiesite.com + + Curl's "cookie engine" gets enabled when you use the -b option. If you only + want curl to understand received cookies, use -b with a file that doesn't + exist. Example, if you want to let curl understand cookies from a page and + follow a location (and thus possibly send back cookies it received), you can + invoke it like: + + curl -b nada -L www.cookiesite.com + + Curl has the ability to read and write cookie files that use the same file + format that Netscape and Mozilla do. It is a convenient way to share cookies + between browsers and automatic scripts. The -b switch automatically detects + if a given file is such a cookie file and parses it, and by using the + -c/--cookie-jar option you'll make curl write a new cookie file at the end of + an operation: + + curl -b cookies.txt -c newcookies.txt www.cookiesite.com + +11. HTTPS + + There are a few ways to do secure HTTP transfers. The by far most common + protocol for doing this is what is generally known as HTTPS, HTTP over + SSL. SSL encrypts all the data that is sent and received over the network and + thus makes it harder for attackers to spy on sensitive information. + + SSL (or TLS as the latest version of the standard is called) offers a + truckload of advanced features to allow all those encryptions and key + infrastructure mechanisms encrypted HTTP requires. + + Curl supports encrypted fetches thanks to the freely available OpenSSL + libraries. To get a page from a HTTPS server, simply run curl like: + + curl https://that.secure.server.com + + 11.1 Certificates + + In the HTTPS world, you use certificates to validate that you are the one + you claim to be, as an addition to normal passwords. Curl supports client- + side certificates. All certificates are locked with a pass phrase, which you + need to enter before the certificate can be used by curl. The pass phrase + can be specified on the command line or if not, entered interactively when + curl queries for it. Use a certificate with curl on a HTTPS server like: + + curl -E mycert.pem https://that.secure.server.com + + curl also tries to verify that the server is who it claims to be, by + verifying the server's certificate against a locally stored CA cert + bundle. Failing the verification will cause curl to deny the connection. You + must then use -k in case you want to tell curl to ignore that the server + can't be verified. + + More about server certificate verification and ca cert bundles can be read + in the SSLCERTS document, available online here: + + http://curl.haxx.se/docs/sslcerts.html + +12. Custom Request Elements + + Doing fancy stuff, you may need to add or change elements of a single curl + request. + + For example, you can change the POST request to a PROPFIND and send the data + as "Content-Type: text/xml" (instead of the default Content-Type) like this: + + curl -d "" -H "Content-Type: text/xml" -X PROPFIND url.com + + You can delete a default header by providing one without content. Like you + can ruin the request by chopping off the Host: header: + + curl -H "Host:" http://mysite.com + + You can add headers the same way. Your server may want a "Destination:" + header, and you can add it: + + curl -H "Destination: http://moo.com/nowhere" http://url.com + +13. Web Login + + While not strictly just HTTP related, it still cause a lot of people problems + so here's the executive run-down of how the vast majority of all login forms + work and how to login to them using curl. + + It can also be noted that to do this properly in an automated fashion, you + will most certainly need to script things and do multiple curl invokes etc. + + First, servers mostly use cookies to track the logged-in status of the + client, so you will need to capture the cookies you receive in the + responses. Then, many sites also set a special cookie on the login page (to + make sure you got there through their login page) so you should make a habit + of first getting the login-form page to capture the cookies set there. + + Some web-based login systems features various amounts of javascript, and + sometimes they use such code to set or modify cookie contents. Possibly they + do that to prevent programmed logins, like this manual describes how to... + Anyway, if reading the code isn't enough to let you repeat the behavior + manually, capturing the HTTP requests done by your browers and analyzing the + sent cookies is usually a working method to work out how to shortcut the + javascript need. + + In the actual
tag for the login, lots of sites fill-in random/session + or otherwise secretly generated hidden tags and you may need to first capture + the HTML code for the login form and extract all the hidden fields to be able + to do a proper login POST. Remember that the contents need to be URL encoded + when sent in a normal POST. + + +14. Debug + + Many times when you run curl on a site, you'll notice that the site doesn't + seem to respond the same way to your curl requests as it does to your + browser's. + + Then you need to start making your curl requests more similar to your + browser's requests: + + * Use the --trace-ascii option to store fully detailed logs of the requests + for easier analyzing and better understanding + + * Make sure you check for and use cookies when needed (both reading with -b + and writing with -c) + + * Set user-agent to one like a recent popular browser does + + * Set referer like it is set by the browser + + * If you use POST, make sure you send all the fields and in the same order as + the browser does it. (See chapter 4.5 above) + + A very good helper to make sure you do this right, is the LiveHTTPHeader tool + that lets you view all headers you send and receive with Mozilla/Firefox + (even when using HTTPS). + + A more raw approach is to capture the HTTP traffic on the network with tools + such as ethereal or tcpdump and check what headers that were sent and + received by the browser. (HTTPS makes this technique inefficient.) + +15. References + + RFC 2616 is a must to read if you want in-depth understanding of the HTTP + protocol. + + RFC 2396 explains the URL syntax. + + RFC 2109 defines how cookies are supposed to work. + + RFC 1867 defines the HTTP post upload format. + + http://www.openssl.org is the home of the OpenSSL project + + http://curl.haxx.se is the home of the cURL project diff --git a/vendor/voclient/common/curl-7.20.1/docs/VERSIONS b/vendor/voclient/common/curl-7.20.1/docs/VERSIONS new file mode 100644 index 00000000..21c0d901 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/VERSIONS @@ -0,0 +1,67 @@ + _ _ ____ _ + ___| | | | _ \| | + / __| | | | |_) | | + | (__| |_| | _ <| |___ + \___|\___/|_| \_\_____| + +Version Numbers and Releases + + Curl is not only curl. Curl is also libcurl. They're actually individually + versioned, but they mostly follow each other rather closely. + + The version numbering is always built up using the same system: + + X.Y[.Z][-preN] + + Where + X is main version number + Y is release number + Z is patch number + N is pre-release number + + One of these numbers will get bumped in each new release. The numbers to the + right of a bumped number will be reset to zero. If Z is zero, it may not be + included in the version number. The pre release number is only included in + pre releases (they're never used in public, official, releases). + + The main version number will get bumped when *really* big, world colliding + changes are made. The release number is bumped when big changes are + performed. The patch number is bumped when the changes are mere bugfixes and + only minor feature changes. The pre-release is a counter, to identify which + pre-release a certain release is. + + When reaching the end of a pre-release period, the version without the + pre-release part will be released as a public release. + + It means that after release 1.2.3, we can release 2.0 if something really big + has been made, 1.3 if not that big changes were made or 1.2.4 if mostly bugs + were fixed. Before 1.2.4 is released, we might release a 1.2.4-pre1 release + for the brave people to try before the actual release. + + Bumping, as in increasing the number with 1, is unconditionally only + affecting one of the numbers (except the ones to the right of it, that may be + set to zero). 1 becomes 2, 3 becomes 4, 9 becomes 10, 88 becomes 89 and 99 + becomes 100. So, after 1.2.9 comes 1.2.10. After 3.99.3, 3.100 might come. + + All original curl source release archives are named according to the libcurl + version (not according to the curl client version that, as said before, might + differ). + + As a service to any application that might want to support new libcurl + features while still being able to build with older versions, all releases + have the libcurl version stored in the curl/curlver.h file using a static + numbering scheme that can be used for comparison. The version number is + defined as: + + #define LIBCURL_VERSION_NUM 0xXXYYZZ + + Where XX, YY and ZZ are the main version, release and patch numbers in + hexadecimal. All three numbers are always represented using two digits. 1.2 + would appear as "0x010200" while version 9.11.7 appears as "0x090b07". + + This 6-digit hexadecimal number does not show pre-release number, and it is + always a greater number in a more recent release. It makes comparisons with + greater than and less than work. + + This number is also available as three separate defines: + LIBCURL_VERSION_MAJOR, LIBCURL_VERSION_MINOR and LIBCURL_VERSION_PATCH. diff --git a/vendor/voclient/common/curl-7.20.1/docs/curl-config.1 b/vendor/voclient/common/curl-7.20.1/docs/curl-config.1 new file mode 100644 index 00000000..c4f4e2b1 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/curl-config.1 @@ -0,0 +1,99 @@ +.\" ************************************************************************** +.\" * _ _ ____ _ +.\" * Project ___| | | | _ \| | +.\" * / __| | | | |_) | | +.\" * | (__| |_| | _ <| |___ +.\" * \___|\___/|_| \_\_____| +.\" * +.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. +.\" * +.\" * This software is licensed as described in the file COPYING, which +.\" * you should have received as part of this distribution. The terms +.\" * are also available at http://curl.haxx.se/docs/copyright.html. +.\" * +.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell +.\" * copies of the Software, and permit persons to whom the Software is +.\" * furnished to do so, under the terms of the COPYING file. +.\" * +.\" * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +.\" * KIND, either express or implied. +.\" * +.\" ************************************************************************** +.\" +.TH curl-config 1 "25 Oct 2007" "Curl 7.17.1" "curl-config manual" +.SH NAME +curl-config \- Get information about a libcurl installation +.SH SYNOPSIS +.B curl-config [options] +.SH DESCRIPTION +.B curl-config +displays information about the curl and libcurl installation. +.SH OPTIONS +.IP "--ca" +Displays the built-in path to the CA cert bundle this libcurl uses. +.IP "--cc" +Displays the compiler used to build libcurl. +.IP "--cflags" +Set of compiler options (CFLAGS) to use when compiling files that use +libcurl. Currently that is only the include path to the curl include files. +.IP "--checkfor [version]" +Specify the oldest possible libcurl version string you want, and this +script will return 0 if the current installation is new enough or it +returns 1 and outputs a text saying that the current version is not new +enough. (Added in 7.15.4) +.IP "--configure" +Displays the arguments given to configure when building curl. +.IP "--feature" +Lists what particular main features the installed libcurl was built with. At +the time of writing, this list may include SSL, KRB4 or IPv6. Do not assume +any particular order. The keywords will be separated by newlines. There may be +none, one, or several keywords in the list. +.IP "--help" +Displays the available options. +.IP "--libs" +Shows the complete set of libs and other linker options you will need in order +to link your application with libcurl. +.IP "--prefix" +This is the prefix used when libcurl was installed. Libcurl is then installed +in $prefix/lib and its header files are installed in $prefix/include and so +on. The prefix is set with "configure --prefix". +.IP "--protocols" +Lists what particular protocols the installed libcurl was built to support. At +the time of writing, this list may include HTTP, HTTPS, FTP, FTPS, FILE, +TELNET, LDAP, DICT. Do not assume any particular order. The protocols will +be listed using uppercase and are separated by newlines. There may be none, +one, or several protocols in the list. (Added in 7.13.0) +.IP "--static-libs" +Shows the complete set of libs and other linker options you will need in order +to link your application with libcurl statically. (Added in 7.17.1) +.IP "--version" +Outputs version information about the installed libcurl. +.IP "--vernum" +Outputs version information about the installed libcurl, in numerical mode. +This outputs the version number, in hexadecimal, with 8 bits for each part; +major, minor, patch. So that libcurl 7.7.4 would appear as 070704 and libcurl +12.13.14 would appear as 0c0d0e... Note that the initial zero might be +omitted. (This option was broken in the 7.15.0 release.) +.SH "EXAMPLES" +What linker options do I need when I link with libcurl? + + $ curl-config --libs + +What compiler options do I need when I compile using libcurl functions? + + $ curl-config --cflags + +How do I know if libcurl was built with SSL support? + + $ curl-config --feature | grep SSL + +What's the installed libcurl version? + + $ curl-config --version + +How do I build a single file with a one-line command? + + $ `curl-config --cc --cflags --libs` -o example example.c + +.SH "SEE ALSO" +.BR curl (1) diff --git a/vendor/voclient/common/curl-7.20.1/docs/curl.1 b/vendor/voclient/common/curl-7.20.1/docs/curl.1 new file mode 100644 index 00000000..02cc3fb6 --- /dev/null +++ b/vendor/voclient/common/curl-7.20.1/docs/curl.1 @@ -0,0 +1,1720 @@ +.\" ************************************************************************** +.\" * _ _ ____ _ +.\" * Project ___| | | | _ \| | +.\" * / __| | | | |_) | | +.\" * | (__| |_| | _ <| |___ +.\" * \___|\___/|_| \_\_____| +.\" * +.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. +.\" * +.\" * This software is licensed as described in the file COPYING, which +.\" * you should have received as part of this distribution. The terms +.\" * are also available at http://curl.haxx.se/docs/copyright.html. +.\" * +.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell +.\" * copies of the Software, and permit persons to whom the Software is +.\" * furnished to do so, under the terms of the COPYING file. +.\" * +.\" * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +.\" * KIND, either express or implied. +.\" * +.\" ************************************************************************** +.\" +.TH curl 1 "28 November 2009" "Curl 7.20.0" "Curl Manual" +.SH NAME +curl \- transfer a URL +.SH SYNOPSIS +.B curl [options] +.I [URL...] +.SH DESCRIPTION +.B curl +is a tool to transfer data from or to a server, using one of the supported +protocols (HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELNET, LDAP or +FILE). The command is designed to work without user interaction. + +curl offers a busload of useful tricks like proxy support, user +authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer +resume and more. As you will see below, the number of features will make your +head spin! + +curl is powered by libcurl for all transfer-related features. See +.BR libcurl (3) +for details. +.SH URL +The URL syntax is protocol-dependent. You'll find a detailed description in +RFC 3986. + +You can specify multiple URLs or parts of URLs by writing part sets within +braces as in: + + http://site.{one,two,three}.com + +or you can get sequences of alphanumeric series by using [] as in: + + ftp://ftp.numericals.com/file[1-100].txt + ftp://ftp.numericals.com/file[001-100].txt (with leading zeros) + ftp://ftp.letters.com/file[a-z].txt + +No nesting of the sequences is supported at the moment, but you can use +several ones next to each other: + + http://any.org/archive[1996-1999]/vol[1-4]/part{a,b,c}.html + +You can specify any amount of URLs on the command line. They will be fetched +in a sequential manner in the specified order. + +Since curl 7.15.1 you can also specify a step counter for the ranges, so that +you can get every Nth number or letter: + + http://www.numericals.com/file[1-100:10].txt + http://www.letters.com/file[a-z:2].txt + +If you specify URL without protocol:// prefix, curl will attempt to guess what +protocol you might want. It will then default to HTTP but try other protocols +based on often-used host name prefixes. For example, for host names starting +with "ftp." curl will assume you want to speak FTP. + +curl will do its best to use what you pass to it as a URL. It is not trying to +validate it as a syntactically correct URL by any means but is instead +\fBvery\fP liberal with what it accepts. + +Curl will attempt to re-use connections for multiple file transfers, so that +getting many files from the same server will not do multiple connects / +handshakes. This improves speed. Of course this is only done on files +specified on a single command line and cannot be used between separate curl +invokes. +.SH "PROGRESS METER" +curl normally displays a progress meter during operations, indicating the amount +of transferred data, transfer speeds and estimated time left, etc. + +However, since curl displays this data to the terminal by default, if you invoke +curl to do an operation and it is about to write data to the terminal, it +\fIdisables\fP the progress meter as otherwise it would mess up the output +mixing progress meter and response data. + +If you want a progress meter for HTTP POST or PUT requests, you need to +redirect the response output to a file, using shell redirect (>), -o [file] or +similar. + +It is not the same case for FTP upload as that operation does not spit out +any response data to the terminal. + +If you prefer a progress "bar" instead of the regular meter, \fI-#\fP is your +friend. +.SH OPTIONS +In general, all boolean options are enabled with --option and yet again +disabled with --\fBno-\fPoption. That is, you use the exact same option name +but prefix it with "no-". However, in this list we mostly only list and show +the --option version of them. (This concept with --no options was added in +7.19.0. Previously most options were toggled on/off on repeated use of the +same command line option.) +.IP "-a/--append" +(FTP/SFTP) When used in an upload, this will tell curl to append to the target +file instead of overwriting it. If the file doesn't exist, it will be created. +Note that this flag is ignored by some SSH servers (including OpenSSH). +.IP "-A/--user-agent " +(HTTP) Specify the User-Agent string to send to the HTTP server. Some badly +done CGIs fail if this field isn't set to "Mozilla/4.0". To encode blanks in +the string, surround the string with single quote marks. This can also be set +with the \fI-H/--header\fP option of course. + +If this option is set more than once, the last one will be the one that's +used. +.IP "--anyauth" +(HTTP) Tells curl to figure out authentication method by itself, and use the +most secure one the remote site claims to support. This is done by first +doing a request and checking the response-headers, thus possibly inducing an +extra network round-trip. This is used instead of setting a specific +authentication method, which you can do with \fI--basic\fP, \fI--digest\fP, +\fI--ntlm\fP, and \fI--negotiate\fP. + +Note that using --anyauth is not recommended if you do uploads from stdin, +since it may require data to be sent twice and then the client must be able to +rewind. If the need should arise when uploading from stdin, the upload +operation will fail. +.IP "-b/--cookie " +(HTTP) +Pass the data to the HTTP server as a cookie. It is supposedly the +data previously received from the server in a "Set-Cookie:" line. +The data should be in the format "NAME1=VALUE1; NAME2=VALUE2". + +If no '=' symbol is used in the line, it is treated as a filename to use to +read previously stored cookie lines from, which should be used in this session +if they match. Using this method also activates the "cookie parser" which will +make curl record incoming cookies too, which may be handy if you're using this +in combination with the \fI-L/--location\fP option. The file format of the +file to read cookies from should be plain HTTP headers or the Netscape/Mozilla +cookie file format. + +\fBNOTE\fP that the file specified with \fI-b/--cookie\fP is only used as +input. No cookies will be stored in the file. To store cookies, use the +\fI-c/--cookie-jar\fP option or you could even save the HTTP headers to a file +using \fI-D/--dump-header\fP! + +If this option is set more than once, the last one will be the one that's +used. +.IP "-B/--use-ascii" +Enable ASCII transfer when using FTP or LDAP. For FTP, this can also be +enforced by using an URL that ends with ";type=A". This option causes data +sent to stdout to be in text mode for win32 systems. +.IP "--basic" +(HTTP) Tells curl to use HTTP Basic authentication. This is the default and +this option is usually pointless, unless you use it to override a previously +set option that sets a different authentication method (such as \fI--ntlm\fP, +\fI--digest\fP, or \fI--negotiate\fP). +.IP "--ciphers " +(SSL) Specifies which ciphers to use in the connection. The list of ciphers +must specify valid ciphers. Read up on SSL cipher list details on this URL: +\fIhttp://www.openssl.org/docs/apps/ciphers.html\fP + +NSS ciphers are done differently than OpenSSL and GnuTLS. The full list of +NSS ciphers is in the NSSCipherSuite entry at this URL: +\fIhttp://directory.fedora.redhat.com/docs/mod_nss.html#Directives\fP + +If this option is used several times, the last one will override the others. +.IP "--compressed" +(HTTP) Request a compressed response using one of the algorithms libcurl +supports, and return the uncompressed document. If this option is used and +the server sends an unsupported encoding, curl will report an error. +.IP "--connect-timeout " +Maximum time in seconds that you allow the connection to the server to take. +This only limits the connection phase, once curl has connected this option is +of no more use. See also the \fI-m/--max-time\fP option. + +If this option is used several times, the last one will be used. +.IP "-c/--cookie-jar " +Specify to which file you want curl to write all cookies after a completed +operation. Curl writes all cookies previously read from a specified file as +well as all cookies received from remote server(s). If no cookies are known, +no file will be written. The file will be written using the Netscape cookie +file format. If you set the file name to a single dash, "-", the cookies will +be written to stdout. + +.B NOTE +If the cookie jar can't be created or written to, the whole curl operation +won't fail or even report an error clearly. Using -v will get a warning +displayed, but that is the only visible feedback you get about this possibly +lethal situation. + +If this option is used several times, the last specified file name will be +used. +.IP "-C/--continue-at " +Continue/Resume a previous file transfer at the given offset. The given offset +is the exact number of bytes that will be skipped, counting from the beginning +of the source file before it is transferred to the destination. If used with +uploads, the FTP server command SIZE will not be used by curl. + +Use "-C -" to tell curl to automatically find out where/how to resume the +transfer. It then uses the given output/input files to figure that out. + +If this option is used several times, the last one will be used. +.IP "--create-dirs" +When used in conjunction with the -o option, curl will create the necessary +local directory hierarchy as needed. This option creates the dirs mentioned +with the -o option, nothing else. If the -o file name uses no dir or if the +dirs it mentions already exist, no dir will be created. + +To create remote directories when using FTP or SFTP, try +\fI--ftp-create-dirs\fP. +.IP "--crlf" +(FTP) Convert LF to CRLF in upload. Useful for MVS (OS/390). +.IP "--crlfile " +(HTTPS/FTPS) Provide a file using PEM format with a Certificate Revocation +List that may specify peer certificates that are to be considered revoked. + +If this option is used several times, the last one will be used. + +(Added in 7.19.7) +.IP "-d/--data " +(HTTP) Sends the specified data in a POST request to the HTTP server, in the +same way that a browser does when a user has filled in an HTML form and +presses the submit button. This will cause curl to pass the data to the server +using the content-type application/x-www-form-urlencoded. Compare to +\fI-F/--form\fP. + +\fI-d/--data\fP is the same as \fI--data-ascii\fP. To post data purely binary, +you should instead use the \fI--data-binary\fP option. To URL-encode the value +of a form field you may use \fI--data-urlencode\fP. + +If any of these options is used more than once on the same command line, the +data pieces specified will be merged together with a separating +&-symbol. Thus, using '-d name=daniel -d skill=lousy' would generate a post +chunk that looks like \&'name=daniel&skill=lousy'. + +If you start the data with the letter @, the rest should be a file name to +read the data from, or - if you want curl to read the data from stdin. The +contents of the file must already be URL-encoded. Multiple files can also be +specified. Posting data from a file named 'foobar' would thus be done with +\fI--data @foobar\fP. +.IP "--data-binary " +(HTTP) This posts data exactly as specified with no extra processing +whatsoever. + +If you start the data with the letter @, the rest should be a filename. Data +is posted in a similar manner as \fI--data-ascii\fP does, except that newlines +are preserved and conversions are never done. + +If this option is used several times, the ones following the first will append +data as described in \fI-d/--data\fP. +.IP "--data-urlencode " +(HTTP) This posts data, similar to the other --data options with the exception +that this performs URL-encoding. (Added in 7.18.0) + +To be CGI-compliant, the part should begin with a \fIname\fP followed +by a separator and a content specification. The part can be passed to +curl using one of the following syntaxes: +.RS +.IP "content" +This will make curl URL-encode the content and pass that on. Just be careful +so that the content doesn't contain any = or @ symbols, as that will then make +the syntax match one of the other cases below! +.IP "=content" +This will make curl URL-encode the content and pass that on. The preceding = +symbol is not included in the data. +.IP "name=content" +This will make curl URL-encode the content part and pass that on. Note that +the name part is expected to be URL-encoded already. +.IP "@filename" +This will make curl load data from the given file (including any newlines), +URL-encode that data and pass it on in the POST. +.IP "name@filename" +This will make curl load data from the given file (including any newlines), +URL-encode that data and pass it on in the POST. The name part gets an equal +sign appended, resulting in \fIname=urlencoded-file-content\fP. Note that the +name is expected to be URL-encoded already. +.RE +.IP "--digest" +(HTTP) Enables HTTP Digest authentication. This is a authentication that +prevents the password from being sent over the wire in clear text. Use this in +combination with the normal \fI-u/--user\fP option to set user name and +password. See also \fI--ntlm\fP, \fI--negotiate\fP and \fI--anyauth\fP for +related options. + +If this option is used several times, the following occurrences make no +difference. +.IP "--disable-eprt" +(FTP) Tell curl to disable the use of the EPRT and LPRT commands when doing +active FTP transfers. Curl will normally always first attempt to use EPRT, +then LPRT before using PORT, but with this option, it will use PORT right +away. EPRT and LPRT are extensions to the original FTP protocol, and may not work +on all servers, but they enable more functionality in a better way than the +traditional PORT command. + +Since curl 7.19.0, \fB--eprt\fP can be used to explicitly enable EPRT again +and \fB--no-eprt\fP is an alias for \fB--disable-eprt\fP. + +Disabling EPRT only changes the active behavior. If you want to switch to +passive mode you need to not use \fI-P/--ftp-port\fP or force it with +\fI--ftp-pasv\fP. +.IP "--disable-epsv" +(FTP) Tell curl to disable the use of the EPSV command when doing passive FTP +transfers. Curl will normally always first attempt to use EPSV before PASV, +but with this option, it will not try using EPSV. + +Since curl 7.19.0, \fB--epsv\fP can be used to explicitly enable EPRT again +and \fB--no-epsv\fP is an alias for \fB--disable-epsv\fP. + +Disabling EPSV only changes the passive behavior. If you want to switch to +active mode you need to use \fI-P/--ftp-port\fP. +.IP "-D/--dump-header " +Write the protocol headers to the specified file. + +This option is handy to use when you want to store the headers that a HTTP +site sends to you. Cookies from the headers could then be read in a second +curl invocation by using the \fI-b/--cookie\fP option! The \fI-c/--cookie-jar\fP +option is however a better way to store cookies. + +When used in FTP, the FTP server response lines are considered being "headers" +and thus are saved there. + +If this option is used several times, the last one will be used. +.IP "-e/--referer " +(HTTP) Sends the "Referer Page" information to the HTTP server. This can also +be set with the \fI-H/--header\fP flag of course. When used with +\fI-L/--location\fP you can append ";auto" to the --referer URL to make curl +automatically set the previous URL when it follows a Location: header. The +\&";auto" string can be used alone, even if you don't set an initial --referer. + +If this option is used several times, the last one will be used. +.IP "--engine " +Select the OpenSSL crypto engine to use for cipher +operations. Use \fI--engine list\fP to print a list of build-time supported +engines. Note that not all (or none) of the engines may be available at +run-time. +.IP "--environment" +(RISC OS ONLY) Sets a range of environment variables, using the names the -w +option supports, to allow easier extraction of useful information after having +run curl. +.IP "--egd-file " +(SSL) Specify the path name to the Entropy Gathering Daemon socket. The socket +is used to seed the random engine for SSL connections. See also the +\fI--random-file\fP option. +.IP "-E/--cert " +(SSL) Tells curl to use the specified certificate file when getting a file +with HTTPS or FTPS. The certificate must be in PEM format. If the optional +password isn't specified, it will be queried for on the terminal. Note that +this option assumes a \&"certificate" file that is the private key and the +private certificate concatenated! See \fI--cert\fP and \fI--key\fP to specify +them independently. + +If curl is built against the NSS SSL library then this option tells +curl the nickname of the certificate to use within the NSS database defined +by the environment variable SSL_DIR (or by default /etc/pki/nssdb). If the +NSS PEM PKCS#11 module (libnsspem.so) is available then PEM files may be +loaded. + +If this option is used several times, the last one will be used. +.IP "--cert-type " +(SSL) Tells curl what certificate type the provided certificate is in. PEM, +DER and ENG are recognized types. If not specified, PEM is assumed. + +If this option is used several times, the last one will be used. +.IP "--cacert " +(SSL) Tells curl to use the specified certificate file to verify the peer. The +file may contain multiple CA certificates. The certificate(s) must be in PEM +format. Normally curl is built to use a default file for this, so this option +is typically used to alter that default file. + +curl recognizes the environment variable named 'CURL_CA_BUNDLE' if it is +set, and uses the given path as a path to a CA cert bundle. This option +overrides that variable. + +The windows version of curl will automatically look for a CA certs file named +\'curl-ca-bundle.crt\', either in the same directory as curl.exe, or in the +Current Working Directory, or in any folder along your PATH. + +If curl is built against the NSS SSL library then this option tells +curl the nickname of the CA certificate to use within the NSS database +defined by the environment variable SSL_DIR (or by default /etc/pki/nssdb). +If the NSS PEM PKCS#11 module (libnsspem.so) is available then PEM files +may be loaded. + +If this option is used several times, the last one will be used. +.IP "--capath " +(SSL) Tells curl to use the specified certificate directory to verify the +peer. The certificates must be in PEM format, and the directory must have been +processed using the c_rehash utility supplied with openssl. Using +\fI--capath\fP can allow curl to make SSL-connections much more efficiently +than using \fI--cacert\fP if the \fI--cacert\fP file contains many CA +certificates. + +If this option is used several times, the last one will be used. +.IP "-f/--fail" +(HTTP) Fail silently (no output at all) on server errors. This is mostly done +to better enable scripts etc to better deal with failed attempts. In +normal cases when a HTTP server fails to deliver a document, it returns an +HTML document stating so (which often also describes why and more). This flag +will prevent curl from outputting that and return error 22. + +This method is not fail-safe and there are occasions where non-successful +response codes will slip through, especially when authentication is involved +(response codes 401 and 407). +.IP "--ftp-account [data]" +(FTP) When an FTP server asks for "account data" after user name and password +has been provided, this data is sent off using the ACCT command. (Added in +7.13.0) + +If this option is used twice, the second will override the previous use. +.IP "--ftp-create-dirs" +(FTP/SFTP) When an FTP or SFTP URL/operation uses a path that doesn't +currently exist on the server, the standard behavior of curl is to +fail. Using this option, curl will instead attempt to create missing +directories. +.IP "--ftp-method [method]" +(FTP) Control what method curl should use to reach a file on a FTP(S) +server. The method argument should be one of the following alternatives: +.RS +.IP multicwd +curl does a single CWD operation for each path part in the given URL. For deep +hierarchies this means very many commands. This is how RFC1738 says it should +be done. This is the default but the slowest behavior. +.IP nocwd +curl does no CWD at all. curl will do SIZE, RETR, STOR etc and give a full +path to the server for all these commands. This is the fastest behavior. +.IP singlecwd +curl does one CWD with the full target directory and then operates on the file +\&"normally" (like in the multicwd case). This is somewhat more standards +compliant than 'nocwd' but without the full penalty of 'multicwd'. +.RE +(Added in 7.15.1) +.IP "--ftp-pasv" +(FTP) Use passive mode for the data conection. Passive is the internal default +behavior, but using this option can be used to override a previous +\fI-P/-ftp-port\fP option. (Added in 7.11.0) + +If this option is used several times, the following occurrences make no +difference. Undoing an enforced passive really isn't doable but you must then +instead enforce the correct \fI-P/--ftp-port\fP again. + +Passive mode means that curl will try the EPSV command first and then PASV, +unless \fI--disable-epsv\fP is used. +.IP "--ftp-alternative-to-user " +(FTP) If authenticating with the USER and PASS commands fails, send this +command. When connecting to Tumbleweed's Secure Transport server over FTPS +using a client certificate, using "SITE AUTH" will tell the server to retrieve +the username from the certificate. (Added in 7.15.5) +.IP "--ftp-skip-pasv-ip" +(FTP) Tell curl to not use the IP address the server suggests in its response +to curl's PASV command when curl connects the data connection. Instead curl +will re-use the same IP address it already uses for the control +connection. (Added in 7.14.2) + +This option has no effect if PORT, EPRT or EPSV is used instead of PASV. +.IP "--ftp-pret" +(FTP) Tell curl to send a PRET command before PASV (and EPSV). Certain +FTP servers, mainly drftpd, require this non-standard command for +directory listings as well as up and downloads in PASV mode. +(Added in 7.20.x) +.IP "--ssl" +(FTP, POP3, IMAP, SMTP) Try to use SSL/TLS for the connection. Reverts to a +non-secure connection if the server doesn't support SSL/TLS. See also +\fI--ftp-ssl-control\fP and \fI--ssl-reqd\fP for different levels of +encryption required. (Added in 7.20.0) + +This option was formerly known as \fI--ftp-ssl\fP (Added in 7.11.0) and that +can still be used but will be removed in a future version. +.IP "--ftp-ssl-control" +(FTP) Require SSL/TLS for the FTP login, clear for transfer. Allows secure +authentication, but non-encrypted data transfers for efficiency. Fails the +transfer if the server doesn't support SSL/TLS. (Added in 7.16.0) +.IP "--ssl-reqd" +(FTP, POP3, IMAP, SMTP) Require SSL/TLS for the connection. Terminates the +connection if the server doesn't support SSL/TLS. (Added in 7.20.0) + +This option was formerly known as \fI--ftp-ssl-reqd\fP (added in 7.15.5) and +that can still be used but will be removed in a future version. +.IP "--ftp-ssl-ccc" +(FTP) Use CCC (Clear Command Channel) +Shuts down the SSL/TLS layer after authenticating. The rest of the +control channel communication will be unencrypted. This allows +NAT routers to follow the FTP transaction. The default mode is +passive. See --ftp-ssl-ccc-mode for other modes. +(Added in 7.16.1) +.IP "--ftp-ssl-ccc-mode [active/passive]" +(FTP) Use CCC (Clear Command Channel) +Sets the CCC mode. The passive mode will not initiate the shutdown, but +instead wait for the server to do it, and will not reply to the +shutdown from the server. The active mode initiates the shutdown and +waits for a reply from the server. +(Added in 7.16.2) +.IP "-F/--form " +(HTTP) This lets curl emulate a filled-in form in which a user has pressed the +submit button. This causes curl to POST data using the Content-Type +multipart/form-data according to RFC2388. This enables uploading of binary +files etc. To force the 'content' part to be a file, prefix the file name +with an @ sign. To just get the content part from a file, prefix the file name +with the symbol <. The difference between @ and < is then that @ makes a file +get attached in the post as a file upload, while the < makes a text field and +just get the contents for that text field from a file. + +Example, to send your password file to the server, where +\&'password' is the name of the form-field to which /etc/passwd will be the +input: + +\fBcurl\fP -F password=@/etc/passwd www.mypasswords.com + +To read the file's content from stdin instead of a file, use - where the file +name should've been. This goes for both @ and < constructs. + +You can also tell curl what Content-Type to use by using 'type=', in a manner +similar to: + +\fBcurl\fP -F "web=@index.html;type=text/html" url.com + +or + +\fBcurl\fP -F "name=daniel;type=text/foo" url.com + +You can also explicitly change the name field of an file upload part by +setting filename=, like this: + +\fBcurl\fP -F "file=@localfile;filename=nameinpost" url.com + +See further examples and details in the MANUAL. + +This option can be used multiple times. +.IP "--form-string " +(HTTP) Similar to \fI--form\fP except that the value string for the named +parameter is used literally. Leading \&'@' and \&'<' characters, and the +\&';type=' string in the value have no special meaning. Use this in preference +to \fI--form\fP if there's any possibility that the string value may +accidentally trigger the \&'@' or \&'<' features of \fI--form\fP. +.IP "-g/--globoff" +This option switches off the "URL globbing parser". When you set this option, +you can specify URLs that contain the letters {}[] without having them being +interpreted by curl itself. Note that these letters are not normal legal URL +contents but they should be encoded according to the URI standard. +.IP "-G/--get" +When used, this option will make all data specified with \fI-d/--data\fP or +\fI--data-binary\fP to be used in a HTTP GET request instead of the POST +request that otherwise would be used. The data will be appended to the URL +with a '?' separator. + +If used in combination with -I, the POST data will instead be appended to the +URL with a HEAD request. + +If this option is used several times, the following occurrences make no +difference. This is because undoing a GET doesn't make sense, but you should +then instead enforce the alternative method you prefer. +.IP "-h/--help" +Usage help. +.IP "-H/--header
" +(HTTP) Extra header to use when getting a web page. You may specify any number +of extra headers. Note that if you should add a custom header that has the +same name as one of the internal ones curl would use, your externally set +header will be used instead of the internal one. This allows you to make even +trickier stuff than curl would normally do. You should not replace internally +set headers without knowing perfectly well what you're doing. Remove an +internal header by giving a replacement without content on the right side of +the colon, as in: -H \&"Host:". + +curl will make sure that each header you add/replace is sent with the proper +end-of-line marker, you should thus \fBnot\fP add that as a part of the header +content: do not add newlines or carriage returns, they will only mess things up +for you. + +See also the \fI-A/--user-agent\fP and \fI-e/--referer\fP options. + +This option can be used multiple times to add/replace/remove multiple headers. +.IP "--hostpubmd5 " +Pass a string containing 32 hexadecimal digits. The string should be the 128 +bit MD5 checksum of the remote host's public key, curl will refuse the +connection with the host unless the md5sums match. This option is only for SCP +and SFTP transfers. (Added in 7.17.1) +.IP "--ignore-content-length" +(HTTP) +Ignore the Content-Length header. This is particularly useful for servers +running Apache 1.x, which will report incorrect Content-Length for files +larger than 2 gigabytes. +.IP "-i/--include" +(HTTP) Include the HTTP-header in the output. The HTTP-header includes things +like server-name, date of the document, HTTP-version and more... +.IP "--interface " +Perform an operation using a specified interface. You can enter interface +name, IP address or host name. An example could look like: + + curl --interface eth0:1 http://www.netscape.com/ + +If this option is used several times, the last one will be used. +.IP "-I/--head" +(HTTP/FTP/FILE) +Fetch the HTTP-header only! HTTP-servers feature the command HEAD +which this uses to get nothing but the header of a document. When used +on a FTP or FILE file, curl displays the file size and last modification +time only. +.IP "-j/--junk-session-cookies" +(HTTP) When curl is told to read cookies from a given file, this option will +make it discard all "session cookies". This will basically have the same effect +as if a new session is started. Typical browsers always discard session +cookies when they're closed down. +.IP "-J/--remote-header-name" +(HTTP) This option tells the -O/--remote-name option to use the server-specified +Content-Disposition filename instead of extracting a filename from the URL. +.IP "-k/--insecure" +(SSL) This option explicitly allows curl to perform "insecure" SSL connections +and transfers. All SSL connections are attempted to be made secure by using +the CA certificate bundle installed by default. This makes all connections +considered "insecure" fail unless \fI-k/--insecure\fP is used. + +See this online resource for further details: +\fBhttp://curl.haxx.se/docs/sslcerts.html\fP +.IP "--keepalive-time " +This option sets the time a connection needs to remain idle before sending +keepalive probes and the time between individual keepalive probes. It is +currently effective on operating systems offering the TCP_KEEPIDLE and +TCP_KEEPINTVL socket options (meaning Linux, recent AIX, HP-UX and more). This +option has no effect if \fI--no-keepalive\fP is used. (Added in 7.18.0) + +If this option is used multiple times, the last occurrence sets the amount. +.IP "--key " +(SSL/SSH) Private key file name. Allows you to provide your private key in this +separate file. + +If this option is used several times, the last one will be used. +.IP "--key-type " +(SSL) Private key file type. Specify which type your \fI--key\fP provided +private key is. DER, PEM, and ENG are supported. If not specified, PEM is +assumed. + +If this option is used several times, the last one will be used. +.IP "--krb " +(FTP) Enable Kerberos authentication and use. The level must be entered and +should be one of 'clear', 'safe', 'confidential', or 'private'. Should you use +a level that is not one of these, 'private' will instead be used. + +This option requires a library built with kerberos4 or GSSAPI +(GSS-Negotiate) support. This is not very common. Use \fI-V/--version\fP to +see if your curl supports it. + +If this option is used several times, the last one will be used. +.IP "-K/--config " +Specify which config file to read curl arguments from. The config file is a +text file in which command line arguments can be written which then will be +used as if they were written on the actual command line. Options and their +parameters must be specified on the same config file line, separated by +whitespace, colon, the equals sign or any combination thereof (however, +the preferred separator is the equals sign). If the parameter is to contain +whitespace, the parameter must be enclosed within quotes. Within double +quotes, the following escape sequences are available: \\\\, \\", \\t, \\n, +\\r and \\v. A backslash preceding any other letter is ignored. If the +first column of a config line is a '#' character, the rest of the line will be +treated as a comment. Only write one option per physical line in the config +file. + +Specify the filename to -K/--config as '-' to make curl read the file from +stdin. + +Note that to be able to specify a URL in the config file, you need to specify +it using the \fI--url\fP option, and not by simply writing the URL on its own +line. So, it could look similar to this: + +url = "http://curl.haxx.se/docs/" + +Long option names can optionally be given in the config file without the +initial double dashes. + +When curl is invoked, it always (unless \fI-q\fP is used) checks for a default +config file and uses it if found. The default config file is checked for in +the following places in this order: + +1) curl tries to find the "home dir": It first checks for the CURL_HOME and +then the HOME environment variables. Failing that, it uses getpwuid() on +UNIX-like systems (which returns the home dir given the current user in your +system). On Windows, it then checks for the APPDATA variable, or as a last +resort the '%USERPROFILE%\\Application Data'. + +2) On windows, if there is no _curlrc file in the home dir, it checks for one +in the same dir the curl executable is placed. On UNIX-like systems, it will +simply try to load .curlrc from the determined home dir. + +.nf +# --- Example file --- +# this is a comment +url = "curl.haxx.se" +output = "curlhere.html" +user-agent = "superagent/1.0" + +# and fetch another URL too +url = "curl.haxx.se/docs/manpage.html" +-O +referer = "http://nowhereatall.com/" +# --- End of example file --- +.fi + +This option can be used multiple times to load multiple config files. +.IP "--libcurl " +Append this option to any ordinary curl command line, and you will get a +libcurl-using source code written to the file that does the equivalent +of what your command-line operation does! + +NOTE: this does not properly support -F and the sending of multipart +formposts, so in those cases the output program will be missing necessary +calls to \fIcurl_formadd(3)\fP, and possibly more. + +If this option is used several times, the last given file name will be +used. (Added in 7.16.1) +.IP "--limit-rate " +Specify the maximum transfer rate you want curl to use. This feature is useful +if you have a limited pipe and you'd like your transfer not to use your entire +bandwidth. + +The given speed is measured in bytes/second, unless a suffix is appended. +Appending 'k' or 'K' will count the number as kilobytes, 'm' or M' makes it +megabytes, while 'g' or 'G' makes it gigabytes. Examples: 200K, 3m and 1G. + +The given rate is the average speed counted during the entire transfer. It +means that curl might use higher transfer speeds in short bursts, but over +time it uses no more than the given rate. + +If you also use the \fI-Y/--speed-limit\fP option, that option will take +precedence and might cripple the rate-limiting slightly, to help keeping the +speed-limit logic working. + +If this option is used several times, the last one will be used. +.IP "-l/--list-only" +(FTP) +When listing an FTP directory, this switch forces a name-only view. +Especially useful if you want to machine-parse the contents of an FTP +directory since the normal directory view doesn't use a standard look +or format. + +This option causes an FTP NLST command to be sent. Some FTP servers +list only files in their response to NLST; they do not include +subdirectories and symbolic links. + +.IP "--local-port [-num]" +Set a preferred number or range of local port numbers to use for the +connection(s). Note that port numbers by nature are a scarce resource that +will be busy at times so setting this range to something too narrow might +cause unnecessary connection setup failures. (Added in 7.15.2) +.IP "-L/--location" +(HTTP/HTTPS) If the server reports that the requested page has moved to a +different location (indicated with a Location: header and a 3XX response code), +this option will make curl redo the request on the new place. If used together +with \fI-i/--include\fP or \fI-I/--head\fP, headers from all requested pages +will be shown. When authentication is used, curl only sends its credentials to +the initial host. If a redirect takes curl to a different host, it won't be +able to intercept the user+password. See also \fI--location-trusted\fP on how +to change this. You can limit the amount of redirects to follow by using the +\fI--max-redirs\fP option. + +When curl follows a redirect and the request is not a plain GET (for example +POST or PUT), it will do the following request with a GET if the HTTP response +was 301, 302, or 303. If the response code was any other 3xx code, curl will +re-send the following request using the same unmodified method. +.IP "--location-trusted" +(HTTP/HTTPS) Like \fI-L/--location\fP, but will allow sending the name + +password to all hosts that the site may redirect to. This may or may not +introduce a security breach if the site redirects you to a site to which +you'll send your authentication info (which is plaintext in the case of HTTP +Basic authentication). +.IP "--mail-rcpt
" +(SMTP) Specify a single address that the given mail should get sent to. This +option can be used multiple times to specify many recipients. + +(Added in 7.20.0) +.IP "--mail-from
" +(SMTP) Specify a single address that the given mail should get sent from. + +(Added in 7.20.0) +.IP "--max-filesize " +Specify the maximum size (in bytes) of a file to download. If the file +requested is larger than this value, the transfer will not start and curl will +return with exit code 63. + +\fBNOTE:\fP The file size is not always known prior to download, and for such files +this option has no effect even if the file transfer ends up being larger than +this given limit. This concerns both FTP and HTTP transfers. +.IP "-m/--max-time " +Maximum time in seconds that you allow the whole operation to take. This is +useful for preventing your batch jobs from hanging for hours due to slow +networks or links going down. See also the \fI--connect-timeout\fP option. + +If this option is used several times, the last one will be used. +.IP "-M/--manual" +Manual. Display the huge help text. +.IP "-n/--netrc" +Makes curl scan the \fI.netrc\fP (\fI_netrc\fP on Windows) file in the user's +home directory for login name and password. This is typically used for FTP on +UNIX. If used with HTTP, curl will enable user authentication. See +.BR netrc(4) +or +.BR ftp(1) +for details on the file format. Curl will not complain if that file +doesn't have the right permissions (it should not be either world- or +group-readable). The environment variable "HOME" is used to find the home +directory. + +A quick and very simple example of how to setup a \fI.netrc\fP to allow curl +to FTP to the machine host.domain.com with user name \&'myself' and password +\&'secret' should look similar to: + +.B "machine host.domain.com login myself password secret" +.IP "--netrc-optional" +Very similar to \fI--netrc\fP, but this option makes the .netrc usage +\fBoptional\fP and not mandatory as the \fI--netrc\fP option does. +.IP "--negotiate" +(HTTP) Enables GSS-Negotiate authentication. The GSS-Negotiate method was +designed by Microsoft and is used in their web applications. It is primarily +meant as a support for Kerberos5 authentication but may be also used along +with another authentication method. For more information see IETF draft +draft-brezak-spnego-http-04.txt. + +If you want to enable Negotiate for your proxy authentication, then use +\fI--proxy-negotiate\fP. + +This option requires a library built with GSSAPI support. This is +not very common. Use \fI-V/--version\fP to see if your version supports +GSS-Negotiate. + +When using this option, you must also provide a fake -u/--user option to +activate the authentication code properly. Sending a '-u :' is enough as the +user name and password from the -u option aren't actually used. + +If this option is used several times, the following occurrences make no +difference. +.IP "-N/--no-buffer" +Disables the buffering of the output stream. In normal work situations, curl +will use a standard buffered output stream that will have the effect that it +will output the data in chunks, not necessarily exactly when the data arrives. +Using this option will disable that buffering. + +Note that this is the negated option name documented. You can thus use +\fI--buffer\fP to enforce the buffering. +.IP "--no-keepalive" +Disables the use of keepalive messages on the TCP connection, as by default +curl enables them. + +Note that this is the negated option name documented. You can thus use +\fI--keepalive\fP to enforce keepalive. +.IP "--no-sessionid" +(SSL) Disable curl's use of SSL session-ID caching. By default all transfers +are done using the cache. Note that while nothing should ever get hurt by +attempting to reuse SSL session-IDs, there seem to be broken SSL +implementations in the wild that may require you to disable this in order for +you to succeed. (Added in 7.16.0) + +Note that this is the negated option name documented. You can thus use +\fI--sessionid\fP to enforce session-ID caching. +.IP "--noproxy " +Comma-separated list of hosts which do not use a proxy, if one is specified. +The only wildcard is a single * character, which matches all hosts, and +effectively disables the proxy. Each name in this list is matched as either +a domain which contains the hostname, or the hostname itself. For example, +local.com would match local.com, local.com:80, and www.local.com, but not +www.notlocal.com. (Added in 7.19.4). +.IP "--ntlm" +(HTTP) Enables NTLM authentication. The NTLM authentication method was +designed by Microsoft and is used by IIS web servers. It is a proprietary +protocol, reverse-engineered by clever people and implemented in curl based +on their efforts. This kind of behavior should not be endorsed, you should +encourage everyone who uses NTLM to switch to a public and documented +authentication method instead, such as Digest. + +If you want to enable NTLM for your proxy authentication, then use +\fI--proxy-ntlm\fP. + +This option requires a library built with SSL support. Use +\fI-V/--version\fP to see if your curl supports NTLM. + +If this option is used several times, the following occurrences make no +difference. +.IP "-o/--output " +Write output to instead of stdout. If you are using {} or [] to fetch +multiple documents, you can use '#' followed by a number in the +specifier. That variable will be replaced with the current string for the URL +being fetched. Like in: + + curl http://{one,two}.site.com -o "file_#1.txt" + +or use several variables like: + + curl http://{site,host}.host[1-5].com -o "#1_#2" + +You may use this option as many times as the number of URLs you have. + +See also the \fI--create-dirs\fP option to create the local directories +dynamically. Specifying the output as '-' (a single dash) will force the +output to be done to stdout. +.IP "-O/--remote-name" +Write output to a local file named like the remote file we get. (Only the file +part of the remote file is used, the path is cut off.) + +The remote file name to use for saving is extracted from the given URL, +nothing else. + +You may use this option as many times as the number of URLs you have. +.IP "--remote-name-all" +This option changes the default action for all given URLs to be dealt with as +if \fI-O/--remote-name\fP were used for each one. So if you want to disable +that for a specific URL after \fI--remote-name-all\fP has been used, you must +use "-o -" or \fI--no-remote-name\fP. (Added in 7.19.0) +.IP "--pass " +(SSL/SSH) Passphrase for the private key + +If this option is used several times, the last one will be used. +.IP "--post301" +Tells curl to respect RFC 2616/10.3.2 and not convert POST requests into GET +requests when following a 301 redirection. The non-RFC behaviour is ubiquitous +in web browsers, so curl does the conversion by default to maintain +consistency. However, a server may require a POST to remain a POST after such +a redirection. This option is meaningful only when using \fI-L/--location\fP +(Added in 7.17.1) +.IP "--post302" +Tells curl to respect RFC 2616/10.3.2 and not convert POST requests into GET +requests when following a 302 redirection. The non-RFC behaviour is ubiquitous +in web browsers, so curl does the conversion by default to maintain +consistency. However, a server may require a POST to remain a POST after such +a redirection. This option is meaningful only when using \fI-L/--location\fP +(Added in 7.19.1) +.IP "--proxy-anyauth" +Tells curl to pick a suitable authentication method when communicating with +the given proxy. This might cause an extra request/response round-trip. (Added +in 7.13.2) +.IP "--proxy-basic" +Tells curl to use HTTP Basic authentication when communicating with the given +proxy. Use \fI--basic\fP for enabling HTTP Basic with a remote host. Basic is +the default authentication method curl uses with proxies. +.IP "--proxy-digest" +Tells curl to use HTTP Digest authentication when communicating with the given +proxy. Use \fI--digest\fP for enabling HTTP Digest with a remote host. +.IP "--proxy-negotiate" +Tells curl to use HTTP Negotiate authentication when communicating +with the given proxy. Use \fI--negotiate\fP for enabling HTTP Negotiate +with a remote host. (Added in 7.17.1) +.IP "--proxy-ntlm" +Tells curl to use HTTP NTLM authentication when communicating with the given +proxy. Use \fI--ntlm\fP for enabling NTLM with a remote host. +.IP "--proxy1.0 " +Use the specified HTTP 1.0 proxy. If the port number is not specified, it is +assumed at port 1080. + +The only difference between this and the HTTP proxy option (\fI-x/--proxy\fP), +is that attempts to use CONNECT through the proxy will specify an HTTP 1.0 +protocol instead of the default HTTP 1.1. +.IP "-p/--proxytunnel" +When an HTTP proxy is used (\fI-x/--proxy\fP), this option will cause non-HTTP +protocols to attempt to tunnel through the proxy instead of merely using it to +do HTTP-like operations. The tunnel approach is made with the HTTP proxy +CONNECT request and requires that the proxy allows direct connect to the +remote port number curl wants to tunnel through to. +.IP "--pubkey " +(SSH) Public key file name. Allows you to provide your public key in this +separate file. + +If this option is used several times, the last one will be used. +.IP "-P/--ftp-port
" +(FTP) Reverses the default initiator/listener roles when connecting with +FTP. This switch makes curl use active mode. In practice, curl then tells the +server to connect back to the client's specified address and port, while +passive mode asks the server to setup an IP address and port for it to connect +to.
should be one of: +.RS +.IP interface +i.e "eth0" to specify which interface's IP address you want to use (Unix only) +.IP "IP address" +i.e "192.168.10.1" to specify the exact IP address +.IP "host name" +i.e "my.host.domain" to specify the machine +.IP "-" +make curl pick the same IP address that is already used for the control +connection +.RE + +If this option is used several times, the last one will be used. Disable the +use of PORT with \fI--ftp-pasv\fP. Disable the attempt to use the EPRT command +instead of PORT by using \fI--disable-eprt\fP. EPRT is really PORT++. + +Starting in 7.19.5, you can append \&":[start]-[end]\&" to the right of the +address, to tell curl what TCP port range to use. That means you specify a +port range, from a lower to a higher number. A single number works as well, +but do note that it increases the risk of failure since the port may not be +available. +.IP "-q" +If used as the first parameter on the command line, the \fIcurlrc\fP config +file will not be read and used. See the \fI-K/--config\fP for details on the +default config file search path. +.IP "-Q/--quote " +(FTP/SFTP) Send an arbitrary command to the remote FTP or SFTP server. Quote +commands are sent BEFORE the transfer takes place (just after the +initial PWD command in an FTP transfer, to be exact). To make commands +take place after a successful transfer, prefix them with a dash '-'. +To make commands be sent after libcurl has changed the working directory, +just before the transfer command(s), prefix the command with a '+' (this +is only supported for FTP). You may specify any number of commands. If +the server returns failure for one of the commands, the entire operation +will be aborted. You must send syntactically correct FTP commands as +RFC959 defines to FTP servers, or one of the commands listed below to +SFTP servers. This option can be used multiple times. + +SFTP is a binary protocol. Unlike for FTP, libcurl interprets SFTP quote +commands before sending them to the server. Following is the list of +all supported SFTP quote commands: +.RS +.IP "chgrp group file" +The chgrp command sets the group ID of the file named by the file operand to the +group ID specified by the group operand. The group operand is a decimal +integer group ID. +.IP "chmod mode file" +The chmod command modifies the file mode bits of the specified file. The +mode operand is an octal integer mode number. +.IP "chown user file" +The chown command sets the owner of the file named by the file operand to the +user ID specified by the user operand. The user operand is a decimal +integer user ID. +.IP "ln source_file target_file" +The ln and symlink commands create a symbolic link at the target_file location +pointing to the source_file location. +.IP "mkdir directory_name" +The mkdir command creates the directory named by the directory_name operand. +.IP "pwd" +The pwd command returns the absolute pathname of the current working directory. +.IP "rename source target" +The rename command renames the file or directory named by the source +operand to the destination path named by the target operand. +.IP "rm file" +The rm command removes the file specified by the file operand. +.IP "rmdir directory" +The rmdir command removes the directory entry specified by the directory +operand, provided it is empty. +.IP "symlink source_file target_file" +See ln. +.RE +.IP "--random-file " +(SSL) Specify the path name to file containing what will be considered as +random data. The data is used to seed the random engine for SSL connections. +See also the \fI--egd-file\fP option. +.IP "-r/--range " +(HTTP/FTP/SFTP/FILE) Retrieve a byte range (i.e a partial document) from a +HTTP/1.1, FTP or SFTP server or a local FILE. Ranges can be specified +in a number of ways. +.RS +.TP 10 +.B 0-499 +specifies the first 500 bytes +.TP +.B 500-999 +specifies the second 500 bytes +.TP +.B -500 +specifies the last 500 bytes +.TP +.B 9500- +specifies the bytes from offset 9500 and forward +.TP +.B 0-0,-1 +specifies the first and last byte only(*)(H) +.TP +.B 500-700,600-799 +specifies 300 bytes from offset 500(H) +.TP +.B 100-199,500-599 +specifies two separate 100-byte ranges(*)(H) +.RE + +(*) = NOTE that this will cause the server to reply with a multipart +response! + +Only digit characters (0-9) are valid in the 'start' and 'stop' fields of +the \&'start-stop' range syntax. If a non-digit character is given in the range, the server's +response will be unspecified, depending on the server's configuration. + +You should also be aware that many HTTP/1.1 servers do not have this feature +enabled, so that when you attempt to get a range, you'll instead get the whole +document. + +FTP and SFTP range downloads only support the simple 'start-stop' syntax +(optionally with one of the numbers omitted). FTP use depends on the extended +FTP command SIZE. + +If this option is used several times, the last one will be used. +.IP "--raw" +When used, it disables all internal HTTP decoding of content or transfer +encodings and instead makes them passed on unaltered, raw. (Added in 7.16.2) +.IP "-R/--remote-time" +When used, this will make libcurl attempt to figure out the timestamp of the +remote file, and if that is available make the local file get that same +timestamp. +.IP "--retry " +If a transient error is returned when curl tries to perform a transfer, it +will retry this number of times before giving up. Setting the number to 0 +makes curl do no retries (which is the default). Transient error means either: +a timeout, an FTP 4xx response code or an HTTP 5xx response code. + +When curl is about to retry a transfer, it will first wait one second and then +for all forthcoming retries it will double the waiting time until it reaches +10 minutes which then will be the delay between the rest of the retries. By +using \fI--retry-delay\fP you disable this exponential backoff algorithm. See +also \fI--retry-max-time\fP to limit the total time allowed for +retries. (Added in 7.12.3) + +If this option is used multiple times, the last occurrence decide the amount. +.IP "--retry-delay " +Make curl sleep this amount of time before each retry when a transfer has +failed with a transient error (it changes the default backoff time algorithm +between retries). This option is only interesting if \fI--retry\fP is also +used. Setting this delay to zero will make curl use the default backoff time. +(Added in 7.12.3) + +If this option is used multiple times, the last occurrence determines the amount. +.IP "--retry-max-time " +The retry timer is reset before the first transfer attempt. Retries will be +done as usual (see \fI--retry\fP) as long as the timer hasn't reached this +given limit. Notice that if the timer hasn't reached the limit, the request +will be made and while performing, it may take longer than this given time +period. To limit a single request\'s maximum time, use \fI-m/--max-time\fP. +Set this option to zero to not timeout retries. (Added in 7.12.3) + +If this option is used multiple times, the last occurrence determines the +amount. +.IP "-s/--silent" +Silent or quiet mode. Don't show progress meter or error messages. Makes +Curl mute. +.IP "-S/--show-error" +When used with -s it makes curl show an error message if it fails. +.IP "--socks4 " +Use the specified SOCKS4 proxy. If the port number is not specified, it is +assumed at port 1080. (Added in 7.15.2) + +This option overrides any previous use of \fI-x/--proxy\fP, as they are +mutually exclusive. + +If this option is used several times, the last one will be used. +.IP "--socks4a " +Use the specified SOCKS4a proxy. If the port number is not specified, it is +assumed at port 1080. (Added in 7.18.0) + +This option overrides any previous use of \fI-x/--proxy\fP, as they are +mutually exclusive. + +If this option is used several times, the last one will be used. +.IP "--socks5-hostname " +Use the specified SOCKS5 proxy (and let the proxy resolve the host name). If +the port number is not specified, it is assumed at port 1080. (Added in +7.18.0) + +This option overrides any previous use of \fI-x/--proxy\fP, as they are +mutually exclusive. + +If this option is used several times, the last one will be used. (This option +was previously wrongly documented and used as --socks without the number +appended.) +.IP "--socks5 " +Use the specified SOCKS5 proxy - but resolve the host name locally. If the +port number is not specified, it is assumed at port 1080. + +This option overrides any previous use of \fI-x/--proxy\fP, as they are +mutually exclusive. + +If this option is used several times, the last one will be used. (This option +was previously wrongly documented and used as --socks without the number +appended.) + +This option (as well as \fI--socks4\fP) does not work with IPV6, FTPS or LDAP. +.IP "--socks5-gssapi-service " +The default service name for a socks server is rcmd/server-fqdn. This option +allows you to change it. + +Examples: + --socks5 proxy-name \fI--socks5-gssapi-service\fP sockd would use +sockd/proxy-name + --socks5 proxy-name \fI--socks5-gssapi-service\fP sockd/real-name would use +sockd/real-name for cases where the proxy-name does not match the princpal name. + (Added in 7.19.4). +.IP "--socks5-gssapi-nec" +As part of the gssapi negotiation a protection mode is negotiated. The rfc1961 +says in section 4.3/4.4 it should be protected, but the NEC reference +implementation does not. The option \fI--socks5-gssapi-nec\fP allows the +unprotected exchange of the protection mode negotiation. (Added in 7.19.4). +.IP "--stderr " +Redirect all writes to stderr to the specified file instead. If the file name +is a plain '-', it is instead written to stdout. This option has no point when +you're using a shell with decent redirecting capabilities. + +If this option is used several times, the last one will be used. +.IP "--tcp-nodelay" +Turn on the TCP_NODELAY option. See the \fIcurl_easy_setopt(3)\fP man page for +details about this option. (Added in 7.11.2) +.IP "-t/--telnet-option " +Pass options to the telnet protocol. Supported options are: + +TTYPE= Sets the terminal type. + +XDISPLOC= Sets the X display location. + +NEW_ENV= Sets an environment variable. +.IP "--tftp-blksize " +(TFTP) Set TFTP BLKSIZE option (must be >512). This is the block size that +curl will try to use when tranferring data to or from a TFTP server. By +default 512 bytes will be used. + +If this option is used several times, the last one will be used. + +(Added in 7.20.0) +.IP "-T/--upload-file " +This transfers the specified local file to the remote URL. If there is no file +part in the specified URL, Curl will append the local file name. NOTE that you +must use a trailing / on the last directory to really prove to Curl that there +is no file name or curl will think that your last directory name is the remote +file name to use. That will most likely cause the upload operation to fail. If +this is used on a HTTP(S) server, the PUT command will be used. + +Use the file name "-" (a single dash) to use stdin instead of a given file. +Alternately, the file name "." (a single period) may be specified instead +of "-" to use stdin in non-blocking mode to allow reading server output +while stdin is being uploaded. + +You can specify one -T for each URL on the command line. Each -T + URL pair +specifies what to upload and to where. curl also supports "globbing" of the -T +argument, meaning that you can upload multiple files to a single URL by using +the same URL globbing style supported in the URL, like this: + +curl -T "{file1,file2}" http://www.uploadtothissite.com + +or even + +curl -T "img[1-1000].png" ftp://ftp.picturemania.com/upload/ +.IP "--trace " +Enables a full trace dump of all incoming and outgoing data, including +descriptive information, to the given output file. Use "-" as filename to have +the output sent to stdout. + +This option overrides previous uses of \fI-v/--verbose\fP or +\fI--trace-ascii\fP. + +If this option is used several times, the last one will be used. +.IP "--trace-ascii " +Enables a full trace dump of all incoming and outgoing data, including +descriptive information, to the given output file. Use "-" as filename to have +the output sent to stdout. + +This is very similar to \fI--trace\fP, but leaves out the hex part and only +shows the ASCII part of the dump. It makes smaller output that might be easier +to read for untrained humans. + +This option overrides previous uses of \fI-v/--verbose\fP or \fI--trace\fP. + +If this option is used several times, the last one will be used. +.IP "--trace-time" +Prepends a time stamp to each trace or verbose line that curl displays. +(Added in 7.14.0) +.IP "-u/--user " +Specify the user name and password to use for server authentication. Overrides +\fI-n/--netrc\fP and \fI--netrc-optional\fP. + +If you just give the user name (without entering a colon) curl will prompt for +a password. + +If you use an SSPI-enabled curl binary and do NTLM authentication, you can +force curl to pick up the user name and password from your environment by +simply specifying a single colon with this option: "-u :". + +If this option is used several times, the last one will be used. +.IP "-U/--proxy-user " +Specify the user name and password to use for proxy authentication. + +If you use an SSPI-enabled curl binary and do NTLM authentication, you can +force curl to pick up the user name and password from your environment by +simply specifying a single colon with this option: "-U :". + +If this option is used several times, the last one will be used. +.IP "--url " +Specify a URL to fetch. This option is mostly handy when you want to specify +URL(s) in a config file. + +This option may be used any number of times. To control where this URL is +written, use the \fI-o/--output\fP or the \fI-O/--remote-name\fP options. +.IP "-v/--verbose" +Makes the fetching more verbose/talkative. Mostly useful for debugging. A line +starting with '>' means "header data" sent by curl, '<' means "header data" +received by curl that is hidden in normal cases, and a line starting with '*' +means additional info provided by curl. + +Note that if you only want HTTP headers in the output, \fI-i/--include\fP +might be the option you're looking for. + +If you think this option still doesn't give you enough details, consider using +\fI--trace\fP or \fI--trace-ascii\fP instead. + +This option overrides previous uses of \fI--trace-ascii\fP or \fI--trace\fP. + +Use \fI-S/--silent\fP to make curl quiet. +.IP "-V/--version" +Displays information about curl and the libcurl version it uses. + +The first line includes the full version of curl, libcurl and other 3rd party +libraries linked with the executable. + +The second line (starts with "Protocols:") shows all protocols that libcurl +reports to support. + +The third line (starts with "Features:") shows specific features libcurl +reports to offer. Available features include: +.RS +.IP "IPv6" +You can use IPv6 with this. +.IP "krb4" +Krb4 for FTP is supported. +.IP "SSL" +HTTPS and FTPS are supported. +.IP "libz" +Automatic decompression of compressed files over HTTP is supported. +.IP "NTLM" +NTLM authentication is supported. +.IP "GSS-Negotiate" +Negotiate authentication and krb5 for FTP is supported. +.IP "Debug" +This curl uses a libcurl built with Debug. This enables more error-tracking +and memory debugging etc. For curl-developers only! +.IP "AsynchDNS" +This curl uses asynchronous name resolves. +.IP "SPNEGO" +SPNEGO Negotiate authentication is supported. +.IP "Largefile" +This curl supports transfers of large files, files larger than 2GB. +.IP "IDN" +This curl supports IDN - international domain names. +.IP "SSPI" +SSPI is supported. If you use NTLM and set a blank user name, curl will +authenticate with your current user and password. +.RE +.IP "-w/--write-out " +Defines what to display on stdout after a completed and successful +operation. The format is a string that may contain plain text mixed with any +number of variables. The string can be specified as "string", to get read from +a particular file you specify it "@filename" and to tell curl to read the +format from stdin you write "@-". + +The variables present in the output format will be substituted by the value or +text that curl thinks fit, as described below. All variables are specified +as %{variable_name} and to output a normal % you just write them as +%%. You can output a newline by using \\n, a carriage return with \\r and a tab +space with \\t. + +.B NOTE: +The %-symbol is a special symbol in the win32-environment, where all +occurrences of % must be doubled when using this option. + +The variables available at this point are: +.RS +.TP 15 +.B url_effective +The URL that was fetched last. This is most meaningful if you've told curl +to follow location: headers. +.TP +.B http_code +The numerical response code that was found in the last retrieved HTTP(S) or +FTP(s) transfer. In 7.18.2 the alias \fBresponse_code\fP was added to show the +same info. +.TP +.B http_connect +The numerical code that was found in the last response (from a proxy) to a +curl CONNECT request. (Added in 7.12.4) +.TP +.B time_total +The total time, in seconds, that the full operation lasted. The time will be +displayed with millisecond resolution. +.TP +.B time_namelookup +The time, in seconds, it took from the start until the name resolving was +completed. +.TP +.B time_connect +The time, in seconds, it took from the start until the TCP connect to the +remote host (or proxy) was completed. +.TP +.B time_appconnect +The time, in seconds, it took from the start until the SSL/SSH/etc +connect/handshake to the remote host was completed. (Added in 7.19.0) +.TP +.B time_pretransfer +The time, in seconds, it took from the start until the file transfer was just +about to begin. This includes all pre-transfer commands and negotiations that +are specific to the particular protocol(s) involved. +.TP +.B time_redirect +The time, in seconds, it took for all redirection steps include name lookup, +connect, pretransfer and transfer before the final transaction was +started. time_redirect shows the complete execution time for multiple +redirections. (Added in 7.12.3) +.TP +.B time_starttransfer +The time, in seconds, it took from the start until the first byte was just about +to be transferred. This includes time_pretransfer and also the time the +server needed to calculate the result. +.TP +.B size_download +The total amount of bytes that were downloaded. +.TP +.B size_upload +The total amount of bytes that were uploaded. +.TP +.B size_header +The total amount of bytes of the downloaded headers. +.TP +.B size_request +The total amount of bytes that were sent in the HTTP request. +.TP +.B speed_download +The average download speed that curl measured for the complete download. Bytes +per second. +.TP +.B speed_upload +The average upload speed that curl measured for the complete upload. Bytes per +second. +.TP +.B content_type +The Content-Type of the requested document, if there was any. +.TP +.B num_connects +Number of new connects made in the recent transfer. (Added in 7.12.3) +.TP +.B num_redirects +Number of redirects that were followed in the request. (Added in 7.12.3) +.TP +.B redirect_url +When a HTTP request was made without -L to follow redirects, this variable +will show the actual URL a redirect \fIwould\fP take you to. (Added in 7.18.2) +.TP +.B ftp_entry_path +The initial path libcurl ended up in when logging on to the remote FTP +server. (Added in 7.15.4) +.TP +.B ssl_verify_result +The result of the SSL peer certificate verification that was requested. 0 +means the verification was successful. (Added in 7.19.0) +.RE + +If this option is used several times, the last one will be used. +.IP "-x/--proxy " +Use the specified HTTP proxy. If the port number is not specified, it is assumed +at port 1080. + +This option overrides existing environment variables that set the proxy to +use. If there's an environment variable setting a proxy, you can set proxy to +\&"" to override it. + +\fBNote\fP that all operations that are performed over a HTTP proxy will +transparently be converted to HTTP. It means that certain protocol specific +operations might not be available. This is not the case if you can tunnel +through the proxy, as done with the \fI-p/--proxytunnel\fP option. + +Starting with 7.14.1, the proxy host can be specified the exact same way as +the proxy environment variables, including the protocol prefix (http://) and +the embedded user + password. + +If this option is used several times, the last one will be used. +.IP "-X/--request " +(HTTP) Specifies a custom request method to use when communicating with the +HTTP server. The specified request will be used instead of the method +otherwise used (which defaults to GET). Read the HTTP 1.1 specification for +details and explanations. Common additional HTTP requests include PUT and +DELETE, but related technologies like WebDAV offers PROPFIND, COPY, MOVE and +more. + +(FTP) +Specifies a custom FTP command to use instead of LIST when doing file lists +with FTP. + +If this option is used several times, the last one will be used. +.IP "-y/--speed-time