RM600-svr4 tweaks (from Frank Ridderbusch
[p5sagit/p5-mst-13.2.git] / ext / POSIX / Makefile.PL
1 use ExtUtils::MakeMaker;
2 use Config;
3 my @libs;
4 if ($^O ne 'MSWin32') {
5     if ($Config{archname} =~ /RM\d\d\d-svr4/) {
6         @libs = ('LIBS' => ["-lm -lc -lposix -lcposix"]);
7     }
8     else {
9         @libs = ('LIBS' => ["-lm -lposix -lcposix"]);
10     }
11 }
12 WriteMakefile(
13     NAME        => 'POSIX',
14     @libs,
15     MAN3PODS    => {},  # Pods will be built by installman.
16     XSPROTOARG => '-noprototypes',              # XXX remove later?
17     VERSION_FROM => 'POSIX.pm', 
18 );