cURL 7.34.0 never compile when you specify --disable-ipv6 and you really do not have IPv6.
Feel free to apply the patch follows.
--- lib/connect.c~ 2013-12-16 22:02:35
+++ lib/connect.c 2014-01-08 07:25:56
@@ -558,3 +558,7 @@
int firstfamily = conn->tempaddr[0]->ai_family;
+#ifdef AF_INET6
family = (firstfamily == AF_INET) ? AF_INET6 : AF_INET;
+#else
+ family = firstfamily;
+#endif
ai = conn->tempaddr[0]->ai_next;
Thanks a lot for your report and patch! I did the #ifdef based on ENABLE_IPV6 instead simply because that's how all the other IPv6 conditionals are made.
I've now pushed this change to git. Case closed!
Thank you for prompt reply and taking care of it.
I appreciate releasing cURL as free.