dslinux/user/perl/ext/Time/HiRes/hints dec_osf.pl dynixptx.pl irix.pl sco.pl solaris.pl svr4.pl

cayenne dslinux_cayenne at user.in-berlin.de
Tue Dec 5 05:26:59 CET 2006


Update of /cvsroot/dslinux/dslinux/user/perl/ext/Time/HiRes/hints
In directory antilope:/tmp/cvs-serv7729/ext/Time/HiRes/hints

Added Files:
	dec_osf.pl dynixptx.pl irix.pl sco.pl solaris.pl svr4.pl 
Log Message:
Adding fresh perl source to HEAD to branch from

--- NEW FILE: dynixptx.pl ---
# uname -v
# V4.5.2
# needs to explicitly link against libc to pull in usleep
$self->{LIBS} = ['-lc'];


--- NEW FILE: svr4.pl ---
# NCR MP-RAS needs to explicitly link against libc to pull in usleep
# what's the reason for -lm?
$self->{LIBS} = ['-lm', '-lc'];


--- NEW FILE: solaris.pl ---
# 2.6 has nanosleep in -lposix4, after that it's in -lrt
my $r = `/usr/bin/uname -r`;
chomp($r);
if (substr($r, 2) <= 6) {
    $self->{LIBS} = ['-lposix4'];
} else {
    $self->{LIBS} = ['-lrt'];
}



--- NEW FILE: sco.pl ---
# osr5 needs to explicitly link against libc to pull in usleep
# what's the reason for -lm?
$self->{LIBS} = ['-lm', '-lc'];


--- NEW FILE: dec_osf.pl ---
# needs to explicitly link against librt to pull in nanosleep
$self->{LIBS} = ['-lrt'];


--- NEW FILE: irix.pl ---
use Config;
if ($Config{osvers} == 5) {
  $self->{CCFLAGS} = $Config{ccflags};
  $self->{CCFLAGS} =~ s/-ansiposix //;
  $self->{CCFLAGS} =~ s/-D_POSIX_SOURCE /-D_POSIX_4SOURCE /;
}




More information about the dslinux-commit mailing list