diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2002-09-30 08:29:33 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2002-09-30 08:29:33 +0000 |
commit | 40ccfa0c8f55ef977d931ad02c9420329a42be48 (patch) | |
tree | dab0a59d773a6ffca676fcba13c5366cc7d64727 | |
parent | 876a609275fa14fc4b8e933713e61806af0c4943 (diff) | |
download | perl-40ccfa0c8f55ef977d931ad02c9420329a42be48.tar.gz |
nanosleep probes as per Jarkko's request
p4raw-id: //depot/perl@17944
-rwxr-xr-x | Configure | 22 | ||||
-rw-r--r-- | NetWare/config_H.wc | 6 | ||||
-rw-r--r-- | Porting/config.sh | 16 | ||||
-rw-r--r-- | Porting/config_H | 8 | ||||
-rw-r--r-- | config_h.SH | 6 | ||||
-rw-r--r-- | epoc/config.sh | 1 | ||||
-rw-r--r-- | perl.h | 3 | ||||
-rw-r--r-- | win32/config.bc | 1 | ||||
-rw-r--r-- | win32/config.gc | 1 | ||||
-rw-r--r-- | win32/config.vc | 1 | ||||
-rw-r--r-- | win32/config.vc64 | 1 | ||||
-rw-r--r-- | win32/config_H.bc | 6 | ||||
-rw-r--r-- | win32/config_H.gc | 6 | ||||
-rw-r--r-- | win32/config_H.vc | 6 | ||||
-rw-r--r-- | win32/config_H.vc64 | 6 | ||||
-rw-r--r-- | wince/config.ce | 1 | ||||
-rw-r--r-- | wince/config_H.ce | 6 |
17 files changed, 80 insertions, 17 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Fri Sep 13 16:29:01 METDST 2002 [metaconfig 3.0 PL70] +# Generated on Mon Sep 30 10:11:20 METDST 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -548,6 +548,7 @@ d_msgrcv='' d_msgsnd='' d_msync='' d_munmap='' +d_nanosleep='' d_nice='' d_nl_langinfo='' d_off64_t='' @@ -755,6 +756,7 @@ fflushNULL='' fflushall='' fpossize='' fpostype='' +gccansipedantic='' gccosandvers='' gccversion='' gidformat='' @@ -1117,7 +1119,6 @@ defvoidused='' voidflags='' pm_apiversion='' xs_apiversion='' -gccansipedantic='' yacc='' yaccflags='' CONFIG='' @@ -2154,12 +2155,12 @@ for dir in \$*; do elif test -f \$dir/\$thing.exe; then if test -n "$DJGPP"; then echo \$dir/\$thing.exe - exit 0 elif test "$eunicefix" != ":"; then : on Eunice apparently echo \$dir/\$thing exit 0 fi + exit 0 fi ;; esac @@ -7448,19 +7449,19 @@ Therefore I'm assuming you don't want to do that (unless you insist). EOM case "$installusrbinperl" in "$define"|[yY]*) dflt='y';; - *) dflt='n';; + *) dflt='n';; esac else $cat <<EOM -Since you don't have a /usr/bin/perl I'm assuming creating one is okay. +Since you don't have a /usr/bin/perl I'm assuming creating one is okay. EOM case "$installusrbinperl" in "$undef"|[nN]*) dflt='n';; - *) dflt='y';; + *) dflt='y';; esac - fi + fi rp="Do you want to install perl as /usr/bin/perl?" . ./myread case "$ans" in @@ -13385,6 +13386,10 @@ eval $inlibc set munmap d_munmap eval $inlibc +: see if nanosleep exists +set nanosleep d_nanosleep +eval $inlibc + : see if nice exists set nice d_nice eval $inlibc @@ -19985,6 +19990,7 @@ d_msgsnd='$d_msgsnd' d_msync='$d_msync' d_munmap='$d_munmap' d_mymalloc='$d_mymalloc' +d_nanosleep='$d_nanosleep' d_nice='$d_nice' d_nl_langinfo='$d_nl_langinfo' d_nv_preserves_uv='$d_nv_preserves_uv' @@ -20204,6 +20210,7 @@ from='$from' full_ar='$full_ar' full_csh='$full_csh' full_sed='$full_sed' +gccansipedantic='$gccansipedantic' gccosandvers='$gccosandvers' gccversion='$gccversion' getgrent_r_proto='$getgrent_r_proto' @@ -20642,7 +20649,6 @@ vi='$vi' voidflags='$voidflags' xlibpth='$xlibpth' xs_apiversion='$xs_apiversion' -gccansipedantic='$gccansipedantic' yacc='$yacc' yaccflags='$yaccflags' zcat='$zcat' diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc index 383a4c2777..c3a0d94555 100644 --- a/NetWare/config_H.wc +++ b/NetWare/config_H.wc @@ -633,6 +633,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/Porting/config.sh b/Porting/config.sh index 4c342bdf91..8501faa29f 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Wed Sep 11 10:54:26 METDST 2002 +# Configuration time: Mon Sep 30 10:33:19 METDST 2002 # Configured by : merijn # Target system : hp-ux l1 b.11.00 u 9000800 527706567 unlimited-user license @@ -63,7 +63,7 @@ ccsymbols='__HP_cc=111104 __STDC_EXT__=1' ccversion='B.11.11.25985.GP' cf_by='merijn' cf_email='yourname@yourhost.yourplace.com' -cf_time='Wed Sep 11 10:54:26 METDST 2002' +cf_time='Mon Sep 30 10:33:19 METDST 2002' charsize='1' chgrp='' chmod='chmod' @@ -304,6 +304,7 @@ d_msgsnd='define' d_msync='define' d_munmap='define' d_mymalloc='undef' +d_nanosleep='define' d_nice='define' d_nl_langinfo='define' d_nv_preserves_uv='define' @@ -523,6 +524,7 @@ from=':' full_ar='/usr/bin/ar' full_csh='/usr/bin/csh' full_sed='/usr/bin/sed' +gccansipedantic='' gccosandvers='' gccversion='' getgrent_r_proto='0' @@ -691,8 +693,8 @@ libperl='libperl.a' libpth='/usr/local/lib /lib /usr/lib /usr/ccs/lib' libs='-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec' libsdirs=' /lib' -libsfiles=' libcl.sl libpthread.sl libnsl.sl libnm.sl libndbm.sl libgdbm.sl libdb.sl libmalloc.a libdld.sl libm.sl libc.sl libndir.a libcrypt.a libsec.sl' -libsfound=' /lib/libcl.sl /lib/libpthread.sl /lib/libnsl.sl /lib/libnm.sl /lib/libndbm.sl /lib/libgdbm.sl /lib/libdb.sl /lib/libmalloc.a /lib/libdld.sl /lib/libm.sl /lib/libc.sl /lib/libndir.a /lib/libcrypt.a /lib/libsec.sl' +libsfiles=' libcl.sl libpthread.sl libnsl.sl libnm.sl libndbm.sl libgdbm.sl.3 libdb.sl libmalloc.a libdld.sl libm.sl libc.sl libndir.a libcrypt.a libsec.sl' +libsfound=' /lib/libcl.sl /lib/libpthread.sl /lib/libnsl.sl /lib/libnm.sl /lib/libndbm.sl /lib/libgdbm.sl.3 /lib/libdb.sl /lib/libmalloc.a /lib/libdld.sl /lib/libm.sl /lib/libc.sl /lib/libndir.a /lib/libcrypt.a /lib/libsec.sl' libspath=' /usr/local/lib /lib /usr/lib /usr/ccs/lib' libswanted='cl pthread sfio socket bind inet nsl nm ndbm gdbm db malloc dl dld sun m c cposix posix ndir dir crypt sec ucb bsd x util' libswanted_uselargefiles='' @@ -771,7 +773,7 @@ patchlevel='9' path_sep=':' perl5='/pro/bin/perl' perl='' -perl_patchlevel='17892' +perl_patchlevel='17942' perladmin='yourname@yourhost.yourplace.com' perllibs='-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec' perlpath='/opt/perl/bin/perl5.9.0' @@ -955,7 +957,7 @@ vendorlibexp='' vendorprefix='' vendorprefixexp='' version='5.9.0' -version_patchlevel_string='version 9 subversion 0 patch 17892' +version_patchlevel_string='version 9 subversion 0 patch 17942' versiononly='define' vi='' voidflags='15' @@ -983,7 +985,7 @@ PERL_SUBVERSION=0 PERL_API_REVISION=5 PERL_API_VERSION=8 PERL_API_SUBVERSION=0 -PERL_PATCHLEVEL=17892 +PERL_PATCHLEVEL=17942 PERL_CONFIG_SH=true # Variables propagated from previous config.sh file. doop_cflags='' diff --git a/Porting/config_H b/Porting/config_H index d2614fe088..f1919a022b 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Wed Sep 11 10:54:26 METDST 2002 + * Configuration time: Mon Sep 30 10:33:19 METDST 2002 * Configured by : merijn * Target system : hp-ux l1 b.11.00 u 9000800 527706567 unlimited-user license */ @@ -2018,6 +2018,12 @@ */ #define HAS_STRUCT_MSGHDR /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep + * system call is available to sleep with 1E-9 sec accuracy. + */ +#define HAS_NANOSLEEP /**/ + /* HAS_OFF64_T: * This symbol will be defined if the C compiler supports off64_t. */ diff --git a/config_h.SH b/config_h.SH index 369f7c6c23..a80675b648 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2038,6 +2038,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_msghdr_s HAS_STRUCT_MSGHDR /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep + * system call is available to sleep with 1E-9 sec accuracy. + */ +#$d_nanosleep HAS_NANOSLEEP /**/ + /* HAS_OFF64_T: * This symbol will be defined if the C compiler supports off64_t. */ diff --git a/epoc/config.sh b/epoc/config.sh index 7779669847..dd489a5f8f 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -915,6 +915,7 @@ d_getmnt='undef' d_statfs_f_flags='undef' d_statfs_s='undef' d_usleep='undef' +d_nanosleep='undef' d_ustat='undef' i_sysstatfs='undef' i_sysvfs='undef' @@ -4275,8 +4275,9 @@ extern void moncontrol(int); NVff NVgf - HAS_USLEEP HAS_UALARM + HAS_USLEEP + HAS_NANOSLEEP HAS_SETITIMER HAS_GETITIMER diff --git a/win32/config.bc b/win32/config.bc index 483ffcd41e..42c8449f8d 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -291,6 +291,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' diff --git a/win32/config.gc b/win32/config.gc index 6fd43514fa..3c2fc0c5da 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -291,6 +291,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' diff --git a/win32/config.vc b/win32/config.vc index 975dd9a1fe..8d94c569a4 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -291,6 +291,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' diff --git a/win32/config.vc64 b/win32/config.vc64 index a4280b4192..fbc4308b34 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -291,6 +291,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='undef' diff --git a/win32/config_H.bc b/win32/config_H.bc index 3d0869894f..e89d0c81e2 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/win32/config_H.gc b/win32/config_H.gc index b65a45d3fd..5564a417b6 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/win32/config_H.vc b/win32/config_H.vc index 7d64e6b70d..f45fe40bed 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/win32/config_H.vc64 b/win32/config_H.vc64 index d2b6bc6f1b..dcc2592aef 100644 --- a/win32/config_H.vc64 +++ b/win32/config_H.vc64 @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/wince/config.ce b/wince/config.ce index 6582c1c325..a467a45112 100644 --- a/wince/config.ce +++ b/wince/config.ce @@ -277,6 +277,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nv_preserves_uv='define' d_off64_t='undef' diff --git a/wince/config_H.ce b/wince/config_H.ce index 30e855af37..b246ce69bd 100644 --- a/wince/config_H.ce +++ b/wince/config_H.ce @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. |