--- cvsroot/EV/Makefile.PL 2008/11/20 00:35:16 1.38 +++ cvsroot/EV/Makefile.PL 2009/08/09 13:30:41 1.43 @@ -1,4 +1,4 @@ -use 5.006; +use 5.008002; use strict qw(vars subs); use Config; @@ -56,13 +56,12 @@ POSIX optionally offers support for a (potentially) high-resolution realtime clock interface. In a good implementation, using it is faster than the normal method of using gettimeofday. Unfortunately, this option -is also bound to be broken on some systems, so you can disable use and -probing of this feature altogether here. Otherwise support for this clock -type will be autodetected at compiletime. +is also bound to be broken on some systems, and current EV versions do not +actually call C very often, so ti defaults to no. EOF -$DEFINE .= " -DEV_USE_REALTIME=" . (0 + (prompt ("Prefer clock_gettime (CLOCK_REALTIME) over gettimeofday (y/n)?", "y") =~ /[yY]/)); +$DEFINE .= " -DEV_USE_REALTIME=" . (0 + (prompt ("Prefer clock_gettime (CLOCK_REALTIME) over gettimeofday (y/n)?", "n") =~ /[yY]/)); print < 2.6) : (); @@ -250,6 +266,7 @@ LIBS => [$LIBS], PREREQ_PM => { @anyevent, + "common::sense" => 0, }, VERSION_FROM => "EV.pm", PM => {