dynixptx updates for osvers='4.5.2'
Peter Prymmer [Tue, 10 Jul 2001 15:29:45 +0000 (08:29 -0700)]
Message-ID: <Pine.OSF.4.10.10107101519160.137455-100000@aspara.forte.com>

p4raw-id: //depot/perl@11270

MANIFEST
ext/Time/HiRes/hints/dynixptx.pl [new file with mode: 0644]
hints/dynixptx.sh

index 80dd5ef..21b935b 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -544,6 +544,7 @@ ext/Thread/unsync2.tx               Test thread implicit synchronisation
 ext/Thread/unsync3.tx          Test thread implicit synchronisation
 ext/Thread/unsync4.tx          Test thread implicit synchronisation
 ext/Time/HiRes/Changes         Time::HiRes extension
+ext/Time/HiRes/hints/dynixptx.pl       Hint for Time::HiRes for named architecture
 ext/Time/HiRes/hints/sco.pl    Hints for Time::HiRes for named architecture
 ext/Time/HiRes/HiRes.pm                Time::HiRes extension
 ext/Time/HiRes/HiRes.t         Test for Time::HiRes
diff --git a/ext/Time/HiRes/hints/dynixptx.pl b/ext/Time/HiRes/hints/dynixptx.pl
new file mode 100644 (file)
index 0000000..0a1e5db
--- /dev/null
@@ -0,0 +1,5 @@
+# uname -v
+# V4.5.2
+# needs to explicitly link against libc to pull in usleep
+$self->{LIBS} = ['-lc'];
+
index 11c6b5b..b08dbc2 100644 (file)
@@ -44,7 +44,7 @@ esac
 # Jarkko Hietaniemi November 1998
 
 case "$osvers" in
-4.4*) # configure doesn't find sockets, as they're in libsocket, not libc
+4.[45]*) # configure doesn't find sockets, as they're in libsocket, not libc
         d_socket='define'
         d_oldsock='undef'
         d_sockpair='define'