diff -ruN Crypt-Cracklib-0.01.old/Makefile.PL Crypt-Cracklib-0.01/Makefile.PL --- Crypt-Cracklib-0.01.old/Makefile.PL 1998-11-27 17:50:29.000000000 -0700 +++ Crypt-Cracklib-0.01/Makefile.PL 2004-08-10 16:10:49.246624310 -0600 @@ -15,41 +15,9 @@ return $path; } -print "\nEnter the directory where crack.h/packer.h is located\n"; -my $include = '/usr/local/include'; -my $incfile = '-Dpacker=1'; +my $include = '/usr/include'; +my $lib = '/usr/lib'; +my $incfile = '-Dcrack=1'; -print "[$include] "; - -while(<>) { - $_ = '/usr/local/include' if /^\n$/; - chomp; - - if (/^\S*$/) { - $include = $_; - if (-f "$include/packer.h") { - last; - } elsif (-f "$include/crack.h") { - $incfile = '-Dcrack=1'; - last; - } else { - die "Can't find Cracklib header file!\n"; - } - } -} - -print "\nEnter the directory where libcrack.(so|a) is located\n"; -my $lib = '/usr/local/lib'; -print "[$lib] "; - -while(<>) { - $_ = '/usr/local/lib' if /^\n$/; - chomp; - - if (/^\S*$/) { - $lib = $_; - last if -f "$lib/libcrack.so" or -f "$lib/libcrack.a"; - } -} WriteMakefile( 'NAME' => 'Crypt::Cracklib',