From: Jarkko Hietaniemi Date: Sat, 11 Nov 2000 18:33:23 +0000 (+0000) Subject: Add getpagesize() probing, on non-UNIX guess 'undef'. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0c0643d0c14bab007848538c44110f5bd58ca506;p=p5sagit%2Fp5-mst-13.2.git Add getpagesize() probing, on non-UNIX guess 'undef'. p4raw-id: //depot/perl@7646 --- diff --git a/Configure b/Configure index 677338c..a526eff 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu Nov 9 15:20:17 EET 2000 [metaconfig 3.0 PL70] +# Generated on Sat Nov 11 18:45:10 EET 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >/tmp/c1$$ <_cnt) #define STDIO_CNT_LVALUE /**/ /*#define STDIO_PTR_LVAL_SETS_CNT / **/ -/*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/ +#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/ #endif /* USE_STDIO_BASE: diff --git a/config_h.SH b/config_h.SH index a630627..24247a8 100644 --- a/config_h.SH +++ b/config_h.SH @@ -1507,6 +1507,13 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_getnetprotos HAS_GETNET_PROTOS /**/ +/* HAS_GETPAGESIZE: + * This symbol, if defined, indicates that the getpagesize system call + * is available to get system page size, which is the granularity of + * many memory management calls. + */ +#$d_getpagsz HAS_GETPAGESIZE /**/ + /* HAS_GETPROTOENT: * This symbol, if defined, indicates that the getprotoent() routine is * available to look up protocols in some data base or another. diff --git a/configure.com b/configure.com index 05fde81..60342e6 100644 --- a/configure.com +++ b/configure.com @@ -4833,6 +4833,7 @@ $ WC "d_getnbyaddr='" + d_getnbyaddr + "'" $ WC "d_getnbyname='" + d_getnbyname + "'" $ WC "d_getnent='" + d_getnent + "'" $ WC "d_getnetprotos='" + d_getnetprotos + "'" +$ WC "d_getpagsz='undef'" $ WC "d_getpbyname='" + d_getpbyname + "'" $ WC "d_getpbynumber='" + d_getpbynumber + "'" $ WC "d_getpent='" + d_getpent + "'" diff --git a/epoc/config.sh b/epoc/config.sh index 8c37c58..a7c829f 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -170,6 +170,7 @@ d_getnbyaddr='undef' d_getnbyname='undef' d_getnent='undef' d_getnetprotos='define' +d_getpagsz='undef' d_getpbyname='define' d_getpbynumber='define' d_getpent='undef' diff --git a/uconfig.h b/uconfig.h index c67806a..1011fc3 100644 --- a/uconfig.h +++ b/uconfig.h @@ -1483,6 +1483,13 @@ */ /*#define HAS_GETNET_PROTOS / **/ +/* HAS_GETPAGESIZE: + * This symbol, if defined, indicates that the getpagesize system call + * is available to get system page size, which is the granularity of + * many memory management calls. + */ +/*#define HAS_GETPAGESIZE / **/ + /* HAS_GETPROTOENT: * This symbol, if defined, indicates that the getprotoent() routine is * available to look up protocols in some data base or another. diff --git a/uconfig.sh b/uconfig.sh index d267115..d54e608 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -108,6 +108,7 @@ d_getnbyaddr='undef' d_getnbyname='undef' d_getnent='undef' d_getnetprotos='undef' +d_getpagsz='undef' d_getpbyname='undef' d_getpbynumber='undef' d_getpent='undef' diff --git a/vos/config.alpha.def b/vos/config.alpha.def index c14b9ce..e58fd12 100644 --- a/vos/config.alpha.def +++ b/vos/config.alpha.def @@ -91,6 +91,7 @@ $d_getnbyaddr='define' $d_getnbyname='define' $d_getnent='define' $d_getnetprotos='define' +$d_getpagsz='undef' $d_getpbyname='define' $d_getpbynumber='define' $d_getpent='define' diff --git a/vos/config.alpha.h b/vos/config.alpha.h index 5b542a2..66b3d7a 100644 --- a/vos/config.alpha.h +++ b/vos/config.alpha.h @@ -220,6 +220,13 @@ */ #define HAS_GETLOGIN /**/ +/* HAS_GETPAGESIZE: + * This symbol, if defined, indicates that the getpagesize system call + * is available to get system page size, which is the granularity of + * many memory management calls. + */ +/*#define HAS_GETPAGESIZE /**/ + /* HAS_GETPGID: * This symbol, if defined, indicates to the C program that * the getpgid(pid) function is available to get the diff --git a/vos/config.ga.def b/vos/config.ga.def index 465205c..f728340 100644 --- a/vos/config.ga.def +++ b/vos/config.ga.def @@ -91,6 +91,7 @@ $d_getnbyaddr='define' $d_getnbyname='define' $d_getnent='define' $d_getnetprotos='define' +$d_getpagsz='undef' $d_getpbyname='define' $d_getpbynumber='define' $d_getpent='define' diff --git a/vos/config.ga.h b/vos/config.ga.h index 26cb176..4bea2da 100644 --- a/vos/config.ga.h +++ b/vos/config.ga.h @@ -220,6 +220,13 @@ */ #define HAS_GETLOGIN /**/ +/* HAS_GETPAGESIZE: + * This symbol, if defined, indicates that the getpagesize system call + * is available to get system page size, which is the granularity of + * many memory management calls. + */ +/*#define HAS_GETPAGESIZE /**/ + /* HAS_GETPGID: * This symbol, if defined, indicates to the C program that * the getpgid(pid) function is available to get the diff --git a/win32/config.bc b/win32/config.bc index f7ade89..276c84f 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -164,6 +164,7 @@ d_getnbyaddr='undef' d_getnbyname='undef' d_getnent='undef' d_getnetprotos='undef' +d_getpagsz='undef' d_getpbyname='define' d_getpbynumber='define' d_getpent='undef' diff --git a/win32/config.gc b/win32/config.gc index 197282d..8d5b4ec 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -164,6 +164,7 @@ d_getnbyaddr='undef' d_getnbyname='undef' d_getnent='undef' d_getnetprotos='undef' +d_getpagsz='undef' d_getpbyname='define' d_getpbynumber='define' d_getpent='undef' diff --git a/win32/config.vc b/win32/config.vc index 340080e..58b1719 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -164,6 +164,7 @@ d_getnbyaddr='undef' d_getnbyname='undef' d_getnent='undef' d_getnetprotos='undef' +d_getpagsz='undef' d_getpbyname='define' d_getpbynumber='define' d_getpent='undef'