The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use ExtUtils::MakeMaker;

print "Checking for Net::NISPlus...";
eval {
  require Net::NISPlus;
};
if ($@) {
  print " failed\n";
  print <<EOT;
$@
The Net::NISPlus module is required for this module to work properly.
EOT
  exit;
} else {print " ok\n"}
 
WriteMakefile(
  NAME => "Apache::AuthenNISPlus",
  VERSION_FROM => "AuthenNISPlus.pm",
);