From: Hugo van der Sanden Date: Mon, 23 Dec 2002 04:39:48 +0000 (+0000) Subject: Integrate Time::HiRes v1.39 (for VMS build tweak) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a20eacca2c8d50cbe7b8dbb810a041242de9c84;p=p5sagit%2Fp5-mst-13.2.git Integrate Time::HiRes v1.39 (for VMS build tweak) p4raw-id: //depot/perl@18339 --- diff --git a/ext/Time/HiRes/Changes b/ext/Time/HiRes/Changes index 3ba982d..2340fb5 100644 --- a/ext/Time/HiRes/Changes +++ b/ext/Time/HiRes/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Time::HiRes. +1.39 + - fix from Craig Berry for better building in VMS with PERL_CORE + 1.38 - no functional changes - move lib/Time/HiRes.pm as Hires.pm diff --git a/ext/Time/HiRes/HiRes.pm b/ext/Time/HiRes/HiRes.pm index 9886138..532484e 100644 --- a/ext/Time/HiRes/HiRes.pm +++ b/ext/Time/HiRes/HiRes.pm @@ -15,7 +15,7 @@ require DynaLoader; d_usleep d_ualarm d_gettimeofday d_getitimer d_setitimer d_nanosleep); -$VERSION = '1.38'; +$VERSION = '1.39'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff --git a/ext/Time/HiRes/Makefile.PL b/ext/Time/HiRes/Makefile.PL index afbe000..5868239 100644 --- a/ext/Time/HiRes/Makefile.PL +++ b/ext/Time/HiRes/Makefile.PL @@ -83,7 +83,9 @@ sub try_compile_and_link { my $ccflags = $Config{'ccflags'} . ' ' . "-I$COREincdir"; if ($^O eq 'VMS') { if ($ENV{PERL_CORE}) { - $cccmd = "$Config{'cc'} /include=([---]) $tmp.c"; + # Fragile if the extensions change hierachy within + # the Perl core but this should do for now. + $cccmd = "$Config{'cc'} /include=([---]) $tmp.c"; } else { my $perl_core = $Config{'installarchlib'}; $perl_core =~ s/\]$/.CORE]/;