with NetBSD 3.99.8 the CTTY requirement has been lifted
bk: 431a97c2Ofg5rlGV66PAVSbElPSejQ
esac
AC_CACHE_CHECK(if we need a ctty for F_SETOWN, ac_cv_func_ctty_for_f_setown,
-[case "$host" in
+[[case "$host" in
*-*-bsdi[[23]]*)
ans=yes
;;
*-*-freebsd*)
ans=yes
;;
- *-*-netbsd*)
+ *-*-netbsd*3.[0-8]*|*-*-netbsd*[0-2].*|*-*-netbsd*3.99.[0-7])
ans=yes
;;
*-*-openbsd*)
*) ans=no
;;
esac
-ac_cv_func_ctty_for_f_setown=$ans])
+ac_cv_func_ctty_for_f_setown=$ans]])
case "$ac_cv_func_ctty_for_f_setown" in
yes) AC_DEFINE(USE_FSETOWNCTTY, 1, [Must we have a CTTY for fsetown?]) ;;
esac