]> git.ipfire.org Git - thirdparty/curl.git/commit
configure: assume IPv6 works when cross-compiled
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 Jan 2016 09:30:54 +0000 (10:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Jan 2016 09:30:54 +0000 (10:30 +0100)
commit4bed87f8fa9a4174c7459a8ee96434a2d6aa91c7
treeab7a18c02f0f2967fc6817f562e92422444f5dd3
parent3ea77f6addd1c49e2ea7e6dcbc5d1e39f119e088
configure: assume IPv6 works when cross-compiled

The configure test uses AC_TRY_RUN to figure out if an ipv6 socket
works, and testing like that doesn't work for cross-compiles. These days
IPv6 support is widespread so a blind guess is probably more likely to
be 'yes' than 'no' now.

Further: anyone who cross-compiles can use configure's --disable-ipv6 to
explicitly disable IPv6 and that also works for cross-compiles.

Made happen after discussions in issue #594
configure.ac