From: Tom Horsley Date: Mon, 29 Sep 2003 13:00:09 +0000 (+0000) Subject: perl-5.8.1 hints/powerux.sh, ext/Sys/Syslog/t/syslog.t X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=be0a2b4016c3954b7605c7aa1b8cf0ca10fdf49d;p=p5sagit%2Fp5-mst-13.2.git perl-5.8.1 hints/powerux.sh, ext/Sys/Syslog/t/syslog.t Message-Id: <200309291300.NAA23856@amber2.ccur.com> p4raw-id: //depot/perl@21387 --- diff --git a/ext/Sys/Syslog/t/syslog.t b/ext/Sys/Syslog/t/syslog.t index bffecaf..8f038d3 100755 --- a/ext/Sys/Syslog/t/syslog.t +++ b/ext/Sys/Syslog/t/syslog.t @@ -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 { diff --git a/hints/powerux.sh b/hints/powerux.sh index c95e0e9..28dcf0c 100644 --- a/hints/powerux.sh +++ b/hints/powerux.sh @@ -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