ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/Makefile.PL
(Generate patch)

Comparing EV/Makefile.PL (file contents):
Revision 1.37 by root, Thu Oct 30 04:01:46 2008 UTC vs.
Revision 1.38 by root, Thu Nov 20 00:35:16 2008 UTC

185can specify additional libraries to provide these calls (and any other 185can specify additional libraries to provide these calls (and any other
186required by EV) now, or accept the default. 186required by EV) now, or accept the default.
187 187
188EOF 188EOF
189 189
190my $solaris_libs = $^O =~ /solaris/ ? " -lsocket -lnsl" : ""; 190my $solaris_libs = $^O =~ /solaris/i ? "-lsocket -lnsl" : "";
191my $librt = $^O =~ /linux/i ? "-lpthread" : "-lpthread -lrt";
191my $LIBS = prompt "Extra libraries for pthread_atfork and clock_gettime?", "-lpthread -lrt$solaris_libs"; 192my $LIBS = prompt "Extra libraries for pthread_atfork and clock_gettime?", "$librt $solaris_libs";
192 193
193 194
194print <<EOF; 195print <<EOF;
195 196
196*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 197*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines