summaryrefslogtreecommitdiff
path: root/ext/Time/HiRes/Makefile.PL
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-21 08:58:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-21 08:58:59 +0000
commita5929ff3b853e58228aef2c6033d60fcf6e179d4 (patch)
tree8085a7f2a93968110999e6de3bf7a56126177db3 /ext/Time/HiRes/Makefile.PL
parentfc009855d5dd3ec0391bdd89fe8d709ff3609d46 (diff)
downloadperl-a5929ff3b853e58228aef2c6033d60fcf6e179d4.tar.gz
Upgrade to Time::HiRes 1.83
p4raw-id: //depot/perl@26181
Diffstat (limited to 'ext/Time/HiRes/Makefile.PL')
-rw-r--r--ext/Time/HiRes/Makefile.PL15
1 files changed, 10 insertions, 5 deletions
diff --git a/ext/Time/HiRes/Makefile.PL b/ext/Time/HiRes/Makefile.PL
index 0105609b22..bce235e240 100644
--- a/ext/Time/HiRes/Makefile.PL
+++ b/ext/Time/HiRes/Makefile.PL
@@ -324,18 +324,22 @@ sub init {
$DEFINE = '';
if ($Config{d_syscall}) {
- print "Have syscall(), looking for syscall.h... ";
+ print "Have syscall()... looking for syscall.h... ";
if (has_include('syscall.h')) {
$SYSCALL_H = 'syscall.h';
} elsif (has_include('sys/syscall.h')) {
$SYSCALL_H = 'sys/syscall.h';
}
+ } else {
+ print "No syscall()...\n";
}
- if (defined $SYSCALL_H) {
- print "found <$SYSCALL_H>.\n";
- } else {
- print "NOT found.\n";
+ if ($Config{d_syscall}) {
+ if (defined $SYSCALL_H) {
+ print "found <$SYSCALL_H>.\n";
+ } else {
+ print "NOT found.\n";
+ }
}
print "Looking for gettimeofday()... ";
@@ -628,6 +632,7 @@ sub main {
if ($^O =~ /Win32/i) {
$DEFINE = '-DSELECT_IS_BROKEN';
$LIBS = [];
+ print "System is $^O, skipping full configure...\n";
} else {
init();
}