summaryrefslogtreecommitdiff
path: root/ext/Time
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2002-12-23 04:39:48 +0000
committerhv <hv@crypt.org>2002-12-23 04:39:48 +0000
commit6a20eacca2c8d50cbe7b8dbb810a041242de9c84 (patch)
treea0929fa28cce19849915aa484b36a3145d2b06ac /ext/Time
parent80d6dabb1f4e81b92db68bc68e3624f20eb37717 (diff)
downloadperl-6a20eacca2c8d50cbe7b8dbb810a041242de9c84.tar.gz
Integrate Time::HiRes v1.39 (for VMS build tweak)
p4raw-id: //depot/perl@18339
Diffstat (limited to 'ext/Time')
-rw-r--r--ext/Time/HiRes/Changes3
-rw-r--r--ext/Time/HiRes/HiRes.pm2
-rw-r--r--ext/Time/HiRes/Makefile.PL4
3 files changed, 7 insertions, 2 deletions
diff --git a/ext/Time/HiRes/Changes b/ext/Time/HiRes/Changes
index 3ba982d67f..2340fb558a 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 9886138b53..532484e414 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 afbe000613..586823984f 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]/;