]>
Commit | Line | Data |
---|---|---|
9564c161 JR |
1 | diff -urNp -x '*.orig' amanda-3.5.1.org/config/amanda/ipv6.m4 amanda-3.5.1/config/amanda/ipv6.m4 |
2 | --- amanda-3.5.1.org/config/amanda/ipv6.m4 2017-12-01 14:26:31.000000000 +0100 | |
3 | +++ amanda-3.5.1/config/amanda/ipv6.m4 2021-05-08 10:23:14.050134288 +0200 | |
4 | @@ -70,32 +70,7 @@ AC_DEFUN([AMANDA_CHECK_IPV6], | |
745070ea | 5 | [ |
9564c161 | 6 | case "$host" in |
745070ea JR |
7 | *-pc-cygwin) amanda_cv_working_ipv6=no;; |
8 | - *) | |
9 | - AC_RUN_IFELSE([AC_LANG_SOURCE([[ | |
10 | -#include <sys/types.h> | |
11 | -#ifdef HAVE_SYS_SOCKET_H | |
12 | -#include <sys/socket.h> | |
13 | -#endif | |
14 | -#ifdef HAVE_NETINET_IN_H | |
15 | -#include <netinet/in.h> | |
16 | -#endif | |
17 | -#ifdef HAVE_WINSOCK2_H | |
18 | -#include <winsock2.h> | |
19 | -#endif | |
20 | -#include <sys/socket.h> | |
21 | -#include <errno.h> | |
22 | - | |
23 | -main() | |
24 | -{ | |
25 | - int aa; | |
26 | - aa = socket(AF_INET6, SOCK_STREAM, 0); | |
27 | - if (aa > 0) return 0; | |
28 | - return aa; | |
29 | -}]])], | |
30 | - [ amanda_cv_working_ipv6=yes ], | |
31 | - [ amanda_cv_working_ipv6=no ], | |
32 | - [ amanda_cv_working_ipv6=yes ] | |
33 | - ) | |
34 | + *) amanda_cv_working_ipv6=yes;; | |
35 | esac | |
36 | ]) | |
37 |