This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
FreeBSD 7 libc_r detection
authorTony Cook <tony@develop-help.com>
Tue, 21 Oct 2008 10:26:30 +0000 (21:26 +1100)
committerNicholas Clark <nick@ccl4.org>
Tue, 21 Oct 2008 04:37:44 +0000 (04:37 +0000)
Message-ID: <20081020232630.GA20563@mars.tony.develop-help.com>
Date: Tue, 21 Oct 2008 10:26:30 +1100

p4raw-id: //depot/perl@34542

hints/freebsd.sh

index 38908fe..f246bff 100644 (file)
@@ -211,6 +211,14 @@ 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"
+             ;;
+
        *)
              if [ ! -r "$lc_r" ]; then
              cat <<EOM >&4