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

Comparing EV/Makefile.PL (file contents):
Revision 1.49 by root, Thu Dec 30 07:37:38 2010 UTC vs.
Revision 1.52 by root, Sat Feb 4 20:12:17 2012 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 can 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.
252
253For example, if you run into compile problems because of missing memory
254fences (or you just want extra performance), you can tell EV to not support
255smp and threads via -DEV_NO_THREADS.
256
251Normal persons just press enter. 257Normal persons just press enter.
252 258
253EOF 259EOF
254 260
255$DEFINE .= " " . prompt "Any extra -D options?", "$ENV{EV_EXTRA_DEFS}"; 261$DEFINE .= " " . prompt "Any extra -D options?", "$ENV{EV_EXTRA_DEFS}";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines