From: Marc Lehmann (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-22141-56710.3.
69543054121962@bugs6.perl.org>
Date: 8 May 2003 00:42:18 -0000
p4raw-id: //depot/perl@19449
Revision history for Perl extension Time::HiRes.
+1.47
+ - do not use -lrt in Linux (from March Lehmann)
+ - unnecessary (nanosleep is in libc anyway)
+ - harmful (-lrt slows down execution)
+ - incompatible (with many distributions' pthreads)
+
1.46
- do not create files in blib directories under core
(perl change #19160, from rgs)
d_usleep d_ualarm d_gettimeofday d_getitimer d_setitimer
d_nanosleep);
-$VERSION = '1.46';
+$VERSION = '1.47';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
$LIBS = ['-lc'] if $Config{'osname'} =~ /dynixptx/i;
# For nanosleep
- push @$LIBS, '-lrt' unless $Config{'osname'} =~ /irix/;
- push @$LIBS, '-lposix4' ;
+ push @$LIBS, '-lrt' unless $Config{'osname'} =~ /^(?:irix|linux)$/;
+ push @$LIBS, '-lposix4';
my @goodlibs;