Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make the time.h capability check quiessent.

Also let the user know there may be C errors.
  • Loading branch information...
commit 7608cbe914b3ea435e0f5918313d708953470089 1 parent 1a781f8
@schwern authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  perl/Time-y2038/inc/Local/Module/Build.pm
View
3  perl/Time-y2038/inc/Local/Module/Build.pm
@@ -15,6 +15,7 @@ sub probe_system_time {
sub note_time_capabilities {
my $self = shift;
+ return if $self->up_to_date(["Build", "y2038/time64_config.h.in"], ["y2038/time64_config.h"]);
my %tests = (
HAS_TIMEGM => <<'END',
struct tm *date;
@@ -55,6 +56,8 @@ END
END
);
+ warn "Probing time.h capabilities.\n";
+ warn "You may see some C errors, that's ok.\n";
my $cb = ExtUtils::CBuilder->new( quiet => 1 );
for my $test (keys %tests) {
my $code = $tests{$test};
Please sign in to comment.
Something went wrong with that request. Please try again.