]> git.pld-linux.org Git - packages/amanda.git/commitdiff
- checking if socket(AF_INET6,...) works at build time is utter stupidity
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 13 May 2008 09:37:45 +0000 (09:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amanda-no-buildtime-ipv6.patch -> 1.1

amanda-no-buildtime-ipv6.patch [new file with mode: 0644]

diff --git a/amanda-no-buildtime-ipv6.patch b/amanda-no-buildtime-ipv6.patch
new file mode 100644 (file)
index 0000000..ce3c953
--- /dev/null
@@ -0,0 +1,36 @@
+--- amanda-2.6.0/config/amanda/ipv6.m4~        2008-01-28 19:12:25.000000000 +0100
++++ amanda-2.6.0/config/amanda/ipv6.m4 2008-05-13 11:34:36.000000000 +0200
+@@ -70,32 +70,7 @@
+       [
+           case "$target" in
+               *-pc-cygwin) amanda_cv_working_ipv6=no;;
+-              *)
+-                  AC_RUN_IFELSE([AC_LANG_SOURCE([[
+-#include <sys/types.h>
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_WINSOCK2_H
+-#include <winsock2.h>
+-#endif
+-#include <sys/socket.h>
+-#include <errno.h>
+-
+-main()
+-{
+-   int aa;
+-   aa = socket(AF_INET6, SOCK_STREAM, 0);
+-   if (aa > 0) return 0;
+-   return aa;
+-}]])],
+-    [ amanda_cv_working_ipv6=yes ],
+-    [ amanda_cv_working_ipv6=no ],
+-    [ amanda_cv_working_ipv6=yes ]
+-              )
++              *) amanda_cv_working_ipv6=yes;;
+           esac
+       ])
This page took 0.087787 seconds and 4 git commands to generate.