X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Ffreebsd.sh;h=7d543be0457901781cdde1b115fa02154a0c8496;hb=4e73d6a402bc493d66d19c409c41e1e271c6450b;hp=f246bffd360830cbe444468ffcd5052247e0f3c1;hpb=b230e30d6b57ff1dff6b7ccb4076beb872594d5d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/freebsd.sh b/hints/freebsd.sh index f246bff..7d543be 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 <&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