h2xs: dependency on XSLoader should be declared even when it is in core
authorAlexandr Ciornii <alexchorny@gmail.com>
Thu, 7 Feb 2013 10:34:37 +0000 (12:34 +0200)
committerTony Cook <tony@develop-help.com>
Mon, 24 Jun 2013 01:11:11 +0000 (11:11 +1000)
utils/h2xs.PL

index 5bda61d..afbc6dc 100644 (file)
@@ -1917,7 +1917,7 @@ elsif ( $compat_version < 5.006002 )
   $prereq_pm .= q%'Test'        =>  0, %;
 }
 
-if ( $compat_version < 5.006 and !$opt_X and $use_xsloader)
+if (!$opt_X and $use_xsloader)
 {
   $prereq_pm .= q%'XSLoader'    =>  0, %;
 }