On Sun 29 Sep 2002 19:35, Jarkko Hietaniemi <[EMAIL PROTECTED]> wrote:
> If you could add Configure probe for nanosleep?  (That way integrating
> the CPAN versionTime::HiRes should become easier.).  I think the
> nanosleep probe unit actually already is in there, one just needs to
> add HAS_NANOSLEEP somewhere before regenerating Configure: the end of
> perl.h is the traditional place (of course, once the newer Time::HiRes
> is integrated, it will have HAS_NANOSLEEP).
> 
> Note that the various */config* and configure.com will need adjusting,
> too: in the */config* you can just add it as 'undef', but for the
> configure.com you'll get practice in editing the configure.com (add
> a real test, instead of just defaulting to 'undef').

Would this be enough?

--- configure.com       2002-09-27 13:11:04.000000000 +0200
+++ configure.com.new   2002-09-30 09:55:13.000000000 +0200
@@ -4670,6 +4670,7 @@ $   d_msync="define"
 $   d_ualarm="define"
 $   d_uname="define"
 $   d_usleep="define"
+$   d_nanosleep="define"
 $   d_setitimer="define"
 $   d_sigaction="define"
 $   d_sigprocmask="define"
@@ -4703,6 +4704,7 @@ $   d_msync="undef"
 $   d_ualarm="undef"
 $   d_uname="undef"
 $   d_usleep="undef"
+$   d_nanosleep="undef"
 $   d_setitimer="undef"
 $   d_sigaction="undef"
 $   d_sigprocmask="undef"
@@ -5489,6 +5491,7 @@ $ WC "d_unlink_all_versions='undef'"
 $ WC "d_unordered='undef'"
 $ WC "d_usleep='" + d_usleep + "'"
 $ WC "d_usleepproto='" + d_usleep + "'"
+$ WC "d_nanosleep='" + d_nanosleep + "'"
 $ WC "d_ustat='undef'"
 $ WC "d_vendorarch='undef'"
 $ WC "d_vendorlib='undef'"


Note: I'm not on this list. Please keep me Cc'd

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: [EMAIL PROTECTED]
http:[EMAIL PROTECTED]/   [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org


Reply via email to