- updated version to BackupPC-2.1.0beta0
[BackupPC.git] / configure.pl
index a48ffc6..76ecb2e 100755 (executable)
@@ -670,7 +670,7 @@ EOF
 if ( `$Conf{PerlPath} -V` =~ /uselargefiles=undef/ ) {
     print <<EOF;
 
-WARNING: your perl, $Conf{PerlPath}, does not support large files.
+Warning: your perl, $Conf{PerlPath}, does not support large files.
 This means BackupPC won't be able to backup files larger than 2GB.
 To solve this problem you should build/install a new version of perl
 with large file support enabled.  Use
@@ -678,10 +678,15 @@ with large file support enabled.  Use
     $Conf{PerlPath} -V | egrep uselargefiles
 
 to check if perl has large file support (undef means no support).
-
 EOF
 }
 
+eval "use File::RsyncP;";
+if ( !$@ && $File::RsyncP::VERSION < 0.50 ) {
+    print("\nWarning: you need to upgrade File::RsyncP;"
+        . " I found $File::RsyncP::VERSION and BackupPC needs 0.50\n");
+}
+
 exit(0);
 
 ###########################################################################