From: Dave Hart Date: Sat, 7 Nov 2009 23:44:10 +0000 (+0000) Subject: Use Frank Kardel's suggestion to collapse 3 cases to 1 for NetBSD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d01f8bdd5459355cfd9f9ecdfa99029d22e36f57;p=thirdparty%2Fntp.git Use Frank Kardel's suggestion to collapse 3 cases to 1 for NetBSD USE_FSETOWNCTTY test. bk: 4af6064aThPbK-jHCtJy5FW-bLg_cA --- diff --git a/configure.ac b/configure.ac index a0fb8efdbb..62047f187a 100644 --- a/configure.ac +++ b/configure.ac @@ -1748,15 +1748,10 @@ AC_CACHE_CHECK( ans=yes ;; # NetBSD versions prior to 3.99.8 require a CTTY for F_SETOWN, - # while later versions will fail the ioctl(TIOCSCTTY, 0) call - # and so must not have USE_FSETOWNCTTY. - *-*-netbsdaout3.[0-8]*|*-*-netbsdaout[0-2].*|*-*-netbsdaout3.99.[0-7]) - ans=yes - ;; - *-*-netbsdecoff3.[0-8]*|*-*-netbsdecoff[0-2].*|*-*-netbsdecoff3.99.[0-7]) - ans=yes - ;; - *-*-netbsdelf3.[0-8]*|*-*-netbsdelf[0-2].*|*-*-netbsdelf3.99.[0-7]) + # while later versions will fail a ioctl(TIOCSCTTY, 0) call in + # some cases and so should not have USE_FSETOWNCTTY. "netbsd" + # in $host may be followed by "aout", "ecoff", or "elf". + *-*-netbsd*[a-z]3.[0-8]*|*-*-netbsd*[a-z][0-2].*|*-*-netbsd*[a-z]3.99.[0-7]) ans=yes ;; *-*-netbsd3.[0-8]*|*-*-netbsd[0-2].*|*-*-netbsd3.99.[0-7])