summaryrefslogtreecommitdiff
path: root/utils/h2xs.PL
diff options
context:
space:
mode:
Diffstat (limited to 'utils/h2xs.PL')
-rw-r--r--utils/h2xs.PL4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL
index 5e22b7096e..6efbde051a 100644
--- a/utils/h2xs.PL
+++ b/utils/h2xs.PL
@@ -418,7 +418,7 @@ END
# require autoloader if XS is disabled.
# if XS is enabled, require autoloader unless autoloading is disabled.
-if( $opt_X || (! $opt_A) ){
+if( $opt_X && (! $opt_A) ){
print PM <<"END";
require AutoLoader;
END
@@ -882,7 +882,7 @@ if ($^O eq 'VMS') {
$_ = 'Makefile.PL' if $_ eq 'makefile.pl';
}
}
-print MANI join("\n",@files);
+print MANI join("\n",@files), "\n";
close MANI;
!NO!SUBS!