Additional hints needed to build threaded Perls on NetBSD.
authorSteve Peters <steve@fisharerojo.org>
Tue, 21 Feb 2006 18:44:21 +0000 (18:44 +0000)
committerSteve Peters <steve@fisharerojo.org>
Tue, 21 Feb 2006 18:44:21 +0000 (18:44 +0000)
p4raw-id: //depot/perl@27263

hints/netbsd.sh

index 07c6099e28a096aeb13f806b2470625693259b27..65a6cbebb45dbb5f450b39e579878e4d8e458094 100644 (file)
@@ -129,7 +129,25 @@ $define|true|[yY]*)
                exit 1 
         fi
        unset lpthread
-        ;; 
+         
+        # several reentrant functions are embeded in libc, but haven't
+        # been added to the header files yet.  Let's hold off on using
+        # them until they are a valid part of the API
+        case "$osvers" in
+        [012].*|3.0)
+                d_getprotobyname_r=$undef
+                d_getprotobynumber_r=$undef
+                d_getprotoent_r=$undef
+                d_getservbyname_r=$undef
+                d_getservbyport_r=$undef
+                d_getservent_r=$undef
+                d_setprotoent_r=$undef
+                d_setservent_r=$undef
+                d_endprotoent_r=$undef
+                d_endservent_r=$undef ;;
+        esac
+        ;;
+
 esac 
 EOCBU