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],
7 *-pc-cygwin) amanda_cv_working_ipv6=no;;
9 - AC_RUN_IFELSE([AC_LANG_SOURCE([[
10 -#include <sys/types.h>
11 -#ifdef HAVE_SYS_SOCKET_H
12 -#include <sys/socket.h>
14 -#ifdef HAVE_NETINET_IN_H
15 -#include <netinet/in.h>
17 -#ifdef HAVE_WINSOCK2_H
18 -#include <winsock2.h>
20 -#include <sys/socket.h>
26 - aa = socket(AF_INET6, SOCK_STREAM, 0);
27 - if (aa > 0) return 0;
30 - [ amanda_cv_working_ipv6=yes ],
31 - [ amanda_cv_working_ipv6=no ],
32 - [ amanda_cv_working_ipv6=yes ]
34 + *) amanda_cv_working_ipv6=yes;;