AC_CACHE_CHECK([for working IPv6],
amanda_cv_working_ipv6,
[
- case "$target" in
+ case "$host" in
*-pc-cygwin) amanda_cv_working_ipv6=no;;
*)
AC_RUN_IFELSE([AC_LANG_SOURCE([[
if test "$amanda_cv_working_ipv6" = yes; then
WORKING_IPV6=yes
AC_DEFINE(WORKING_IPV6,1,
- [Target system has functional IPv6 support])
+ [This system has functional IPv6 support (kernel and compiler)])
else
# error out only if the user specifically requested support
if test x"$amanda_with_ipv6" = x"yes"; then
- AC_MSG_ERROR([IPv6 support was requested, but it is not working.])
+ AC_MSG_ERROR([IPv6 support was requested, but opening an IPv6 socket failed])
fi
fi
fi