freebsd-dev/contrib/perl5/ext/POSIX/Makefile.PL
2000-06-25 14:31:11 +00:00

20 lines
452 B
Perl

# $FreeBSD$
use ExtUtils::MakeMaker;
use Config;
my @libs;
if ($^O ne 'MSWin32') {
if ($Config{archname} =~ /RM\d\d\d-svr4/) {
@libs = ('LIBS' => ["-lm -lc -lposix -lcposix"]);
}
else {
@libs = ('LIBS' => ["-lm -lposix -lcposix"]);
}
}
WriteMakefile(
NAME => 'POSIX',
@libs,
MAN3PODS => {}, # Pods will be built by installman.
XSPROTOARG => '-noprototypes', # XXX remove later?
VERSION_FROM => 'POSIX.pm',
);