X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=configure.pl;h=5a030345005aee8c10466503f1841ceaefb35972;hp=433a0168c23e4f28f6ee3b71c2119b29fb9561ec;hb=ee969a9445a5439cf94a516c7d882e12b1bdf945;hpb=df717077755b9331fa245f72933ef03add7a3710 diff --git a/configure.pl b/configure.pl index 433a016..5a03034 100755 --- a/configure.pl +++ b/configure.pl @@ -49,7 +49,7 @@ use vars qw(%Conf %OrigConf); use lib "./lib"; my @Packages = qw(File::Path File::Spec File::Copy DirHandle Digest::MD5 - Data::Dumper Getopt::Std Getopt::Long Pod::Usage + Data::Dumper Getopt::Std Getopt::Long Encode Pod::Usage BackupPC::Lib BackupPC::FileZIO); foreach my $pkg ( @Packages ) { @@ -58,7 +58,8 @@ foreach my $pkg ( @Packages ) { if ( $pkg =~ /BackupPC/ ) { die <= 1.99\n\n"); + exit(1); +} + my %opts; $opts{"set-perms"} = 1; if ( !GetOptions( @@ -273,13 +281,13 @@ EOF } } -my $Perl56 = system($Conf{PerlPath} - . q{ -e 'exit($^V && $^V ge v5.6.0 ? 1 : 0);'}); +my $Perl58 = system($Conf{PerlPath} + . q{ -e 'exit($^V && $^V ge v5.8.0 ? 1 : 0);'}); -if ( !$Perl56 ) { +if ( !$Perl58 ) { print <