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

Comparing EV/Makefile.PL (file contents):
Revision 1.48 by root, Sun Nov 28 06:34:10 2010 UTC vs.
Revision 1.50 by root, Thu Dec 30 07:43:03 2010 UTC

185required by EV) now, or accept the default. 185required by EV) now, or accept the default.
186 186
187EOF 187EOF
188 188
189my $solaris_libs = $^O =~ /solaris/i ? "-lsocket -lnsl" : ""; 189my $solaris_libs = $^O =~ /solaris/i ? "-lsocket -lnsl" : "";
190my $librt = $^O =~ /linux/i ? "-lpthread" : "-lpthread -lrt"; 190#my $librt = $^O =~ /linux/i ? "-lpthread" : "-lpthread -lrt";
191my $librt = "-lpthread -lrt";
191my $LIBS = prompt "Extra libraries for pthread_atfork and clock_gettime?", "$librt $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
250extra -D options here, or via the EV_EXTRA_DEFS environment variable. 251extra -D options here, or via the EV_EXTRA_DEFS environment variable.
251Normal persons just press enter. 252Normal persons just press enter.
252 253
253EOF 254EOF
254 255
255$DEFINE .= " " . prompt "Any extra -D options?", $ENV{EV_EXTRA_DEFS}; 256$DEFINE .= " " . prompt "Any extra -D options?", "$ENV{EV_EXTRA_DEFS}";
256 257
257print <<EOF; 258print <<EOF;
258 259
259*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 260*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
260 261

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines