]> git.pld-linux.org Git - packages/amanda.git/blame - amanda-no-buildtime-ipv6.patch
- 2.6.1p2
[packages/amanda.git] / amanda-no-buildtime-ipv6.patch
CommitLineData
745070ea
JR
1--- amanda-2.6.0/config/amanda/ipv6.m4~ 2008-01-28 19:12:25.000000000 +0100
2+++ amanda-2.6.0/config/amanda/ipv6.m4 2008-05-13 11:34:36.000000000 +0200
3@@ -70,32 +70,7 @@
4 [
5 case "$target" in
6 *-pc-cygwin) amanda_cv_working_ipv6=no;;
7- *)
8- AC_RUN_IFELSE([AC_LANG_SOURCE([[
9-#include <sys/types.h>
10-#ifdef HAVE_SYS_SOCKET_H
11-#include <sys/socket.h>
12-#endif
13-#ifdef HAVE_NETINET_IN_H
14-#include <netinet/in.h>
15-#endif
16-#ifdef HAVE_WINSOCK2_H
17-#include <winsock2.h>
18-#endif
19-#include <sys/socket.h>
20-#include <errno.h>
21-
22-main()
23-{
24- int aa;
25- aa = socket(AF_INET6, SOCK_STREAM, 0);
26- if (aa > 0) return 0;
27- return aa;
28-}]])],
29- [ amanda_cv_working_ipv6=yes ],
30- [ amanda_cv_working_ipv6=no ],
31- [ amanda_cv_working_ipv6=yes ]
32- )
33+ *) amanda_cv_working_ipv6=yes;;
34 esac
35 ])
36
This page took 0.058089 seconds and 4 git commands to generate.