From: Max Maischein Date: Sat, 31 Jan 2009 13:50:34 +0000 (+0100) Subject: Make Time/HiRes/Makefile.PL produce a Makefile if one is needed X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=34001da35a71d0e4dc298650e57b45aca7d8aef6;p=p5sagit%2Fp5-mst-13.2.git Make Time/HiRes/Makefile.PL produce a Makefile if one is needed --- diff --git a/ext/Time/HiRes/Makefile.PL b/ext/Time/HiRes/Makefile.PL index 16990ee..2fe6cf4 100644 --- a/ext/Time/HiRes/Makefile.PL +++ b/ext/Time/HiRes/Makefile.PL @@ -832,7 +832,7 @@ sub doConstants { } sub main { - if (-f "xdefine" && !(@ARGV && $ARGV[0] eq '--configure')) { + if (-f "Makefile" and -f "xdefine" && !(@ARGV && $ARGV[0] eq '--configure')) { print qq[$0: The "xdefine" exists, skipping the configure step.\n]; print qq[("$^X $0 --configure" to force the configure step)\n]; } else {