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.51 by root, Sat Jul 2 00:44:55 2011 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
244 245
245*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 246*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
246 247
247 248
248Very rarely, people want to tweak EV even more, e.g. to exclude 249Very rarely, people want to tweak EV even more, e.g. to exclude
249or incldue certain watcher types or backends. Thisc na be done by adding 250or include certain watcher types or backends. This cna be done by adding
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