diff options
Diffstat (limited to 'hints/freebsd.sh')
-rw-r--r-- | hints/freebsd.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh index f246bffd36..7d543be045 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -211,15 +211,7 @@ EOM exit 1 ;; - 7.*) - # 7.x doesn't install libc_r by default, and Configure - # would fail in the code following - # - # gethostbyaddr_r() appears to have been implemented in 6.x+ - ldflags="-pthread $ldflags" - ;; - - *) + [3-5].*) if [ ! -r "$lc_r" ]; then cat <<EOM >&4 POSIX threads should be supported by FreeBSD $osvers -- @@ -251,6 +243,14 @@ EOM d_gethostbyaddr_r_proto="0" ;; + *) + # 7.x doesn't install libc_r by default, and Configure + # would fail in the code following + # + # gethostbyaddr_r() appears to have been implemented in 6.x+ + ldflags="-pthread $ldflags" + ;; + esac case "$osvers" in |