Index: vino/ChangeLog =================================================================== --- vino.orig/ChangeLog 2006-10-20 10:56:21.000000000 +0100 +++ vino.orig/ChangeLog 2006-10-20 10:56:21.000000000 +0100 @@ -0,0 +0,5 @@ +2006-10-20 Mark McLoughlin + + * vino/configure.in: add --enable-ipv6 and check for + IPv6 support. + Index: vino/configure.in =================================================================== --- vino.orig/configure.in 2006-10-20 10:55:40.000000000 +0100 +++ vino.orig/configure.in 2006-10-20 10:55:40.000000000 +0100 @@ -244,6 +244,30 @@ dnl End of libvncserver stuff dnl +dnl +dnl Check for IPv6 support +dnl +AC_MSG_CHECKING([checking for IPv6 support]) +AC_ARG_ENABLE(ipv6, + AC_HELP_STRING([--enable-ipv6], + [Enable ipv6 support [default=yes]]),, + enable_ipv6=yes) +if test "x$enable_ipv6" = "xyes"; then + AC_TRY_COMPILE([ + #include + #include + ],[ + socket(AF_INET6, SOCK_STREAM, 0); + ], have_ipv6=yes, have_ipv6=no) + + if test "x$have_ipv6" = "xyes"; then + AC_DEFINE(ENABLE_IPV6, [], [Define to enable IPv6 support]) + fi +else + have_ipv6=no +fi +AC_MSG_RESULT($have_ipv6) + dnl --enable-debug=(yes|minimum|no) AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging [default=no]],,enable_debug=minimum) if test "$enable_debug" = "yes"; then