--- cvsroot/EV/Makefile.PL 2008/10/29 17:41:11 1.36 +++ cvsroot/EV/Makefile.PL 2009/06/10 00:52:21 1.40 @@ -1,5 +1,6 @@ use 5.006; +use strict qw(vars subs); use Config; use ExtUtils::MakeMaker; @@ -45,7 +46,7 @@ EOF -$DEFINE .= " -DEV_USE_MONOTONIC=" . (0 + (prompt ("Enable optional support for CLOCK_MONOTONIC (y/n)?", "y") =~ /[yY]/)); +my $DEFINE .= " -DEV_USE_MONOTONIC=" . (0 + (prompt ("Enable optional support for CLOCK_MONOTONIC (y/n)?", "y") =~ /[yY]/)); print < 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 <