This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl-5.8.1 hints/powerux.sh, ext/Sys/Syslog/t/syslog.t
authorTom Horsley <Tom.Horsley@mail.ccur.com>
Mon, 29 Sep 2003 13:00:09 +0000 (13:00 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 29 Sep 2003 12:47:37 +0000 (12:47 +0000)
Message-Id: <200309291300.NAA23856@amber2.ccur.com>

p4raw-id: //depot/perl@21387

ext/Sys/Syslog/t/syslog.t
hints/powerux.sh

index bffecaf..8f038d3 100755 (executable)
@@ -49,7 +49,7 @@ if (Sys::Syslog::_PATH_LOG()) {
     if (-e Sys::Syslog::_PATH_LOG()) {
        # The only known $^O eq 'svr4' that needs this is NCR MP-RAS,
        # but assuming 'stream' in SVR4 is probably not that bad.
-        if ($^O =~ /^(solaris|irix|svr4)$/) {
+        if ($^O =~ /^(solaris|irix|svr4|powerux)$/) {
             # we should check for stream support here, not for solaris/irix
             print defined(eval { setlogsock('stream') }) ? "ok 1\n" : "not ok 1 # $!\n";
         } else { 
index c95e0e9..28dcf0c 100644 (file)
@@ -52,11 +52,11 @@ d_csh='undef'
 # of perl (there are probably more of these that might be useful, but
 # for the extensions I build, this turned out to be enough). The -uldexp
 # makes sure the custom ldexp.o I add to archobjs actually gets pulled
-# into perl from libperl.a
+# into perl from libperl.a.  The -unanosleep makes Timer::HiRes happy.
 #
 cc='/usr/ccs/bin/ec'
 cccdlflags='-Zpic'
-ccdlflags='-Zlink=dynamic -Wl,-usys_nerr -Wl,-uldexp -Wl,-Bexport'
+ccdlflags='-Zlink=dynamic -Wl,-usys_nerr -Wl,-uldexp -Wl,-unanosleep -Wl,-Bexport'
 lddlflags='-Zlink=so'
 
 # Sigh... Various versions of Power MAX went out with a broken ldexp runtime