X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/78196db058807d48f2c755ea8e4fa61c11bee0cc..11a0283593192bf3d366952fdacf99f347970eaf:/NetWare/config_H.wc diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc index b0ddd9e..40f74f0 100644 --- a/NetWare/config_H.wc +++ b/NetWare/config_H.wc @@ -26,6 +26,12 @@ */ #define LOC_SED "" /**/ +/* HAS_AINTL: + * This symbol, if defined, indicates that the aintl routine is + * available. If copysignl is also present we can emulate modfl. + */ +/*#define HAS_AINTL / **/ + /* HAS_ALARM: * This symbol, if defined, indicates that the alarm routine is * available. @@ -38,6 +44,9 @@ */ /*#define HASATTRIBUTE /**/ #ifndef HASATTRIBUTE +#ifdef __attribute__ +#undef __attribute__ +#endif #define __attribute__(_arg_) #endif @@ -127,6 +136,12 @@ */ #define HAS_DUP2 /**/ +/* HAS_FAST_STDIO: + * This symbol, if defined, indicates that the "fast stdio" + * is available to manipulate the stdio buffers directly. + */ +/*#define HAS_FAST_STDIO /**/ + /* HAS_FCHDIR: * This symbol, if defined, indicates that the fchdir routine is * available to change directory using a file descriptor. @@ -523,7 +538,7 @@ /* HAS_SHMAT_PROTOTYPE: * This symbol, if defined, indicates that the sys/shm.h includes * a prototype for shmat(). Otherwise, it is up to the program to - * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, + * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, * but not always right so it should be emitted by the program only * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. */ @@ -914,19 +929,7 @@ * If defined, this macro indicates that the C compiler can handle * function prototypes. */ -/* _: - * This macro is used to declare function parameters for folks who want - * to make declarations with prototypes using a different style than - * the above macros. Use double parentheses. For example: - * - * int main _((int argc, char *argv[])); - */ #define CAN_PROTOTYPE /**/ -#ifdef CAN_PROTOTYPE -#define _(args) args -#else -#define _(args) () -#endif /* SH_PATH: * This symbol contains the full pathname to the shell used on this @@ -1039,7 +1042,7 @@ * This symbol contains the ~name expanded version of ARCHLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define ARCHLIB "c:\\perl\\5.7.2\\lib\\NetWare-x86-multi-thread" /**/ +#define ARCHLIB "c:\\perl\\5.9.4\\lib\\NetWare-x86-multi-thread" /**/ /*#define ARCHLIB_EXP "" /**/ /* ARCHNAME: @@ -1070,16 +1073,8 @@ * This symbol is the filename expanded version of the BIN symbol, for * programs that do not want to deal with that at run-time. */ -#define BIN "c:\\perl\\5.7.2\\bin\\NetWare-x86-multi-thread" /**/ -#define BIN_EXP "c:\\perl\\5.7.2\\bin\\NetWare-x86-multi-thread" /**/ - -/* PERL_BINCOMPAT_5005: - * This symbol, if defined, indicates that this version of Perl should be - * binary-compatible with Perl 5.005. This is impossible for builds - * that use features like threads and multiplicity it is always undef - * for those versions. - */ -/*#define PERL_BINCOMPAT_5005 /**/ +#define BIN "c:\\perl\\5.9.4\\bin\\NetWare-x86-multi-thread" /**/ +#define BIN_EXP "c:\\perl\\5.9.4\\bin\\NetWare-x86-multi-thread" /**/ /* BYTEORDER: * This symbol holds the hexadecimal constant defined in byteorder, @@ -1145,7 +1140,7 @@ #define STRINGIFY(a) PeRl_StGiFy(a) #endif #if 42 != 1 && 42 != 42 -# include "Bletch: How does this C preprocessor catenate tokens?" +# include "Bletch: How does this C preprocessor concatenate tokens?" #endif /* CPPSTDIN: @@ -1247,7 +1242,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern double drand48 _((void)); + * extern double drand48(void); */ /*#define HAS_DRAND48_PROTO /**/ @@ -1578,7 +1573,8 @@ /* HAS_GNULIBC: * This symbol, if defined, indicates to the C program that - * the GNU C library is being used. + * the GNU C library is being used. A better check is to use + * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. */ /*#define HAS_GNULIBC /**/ #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) @@ -1615,11 +1611,11 @@ #define HAS_NTOHL /**/ #define HAS_NTOHS /**/ -/* HAS_ICONV: - * This symbol, if defined, indicates that the iconv routine is - * available to do character set conversions. +/* HAS_ILOGBL: + * This symbol, if defined, indicates that the ilogbl routine is + * available. If scalbnl is also present we can emulate frexpl. */ -/*#define HAS_ICONV /**/ +/*#define HAS_ILOGBL /**/ /* HAS_INT64_T: * This symbol will defined if the C compiler supports int64_t. @@ -1813,6 +1809,13 @@ #define SCHED_YIELD /**/ /*#define HAS_SCHED_YIELD /**/ +/* HAS_PTHREAD_ATTR_SETSCOPE: + * This symbol, if defined, indicates that the pthread_attr_setscope + * system call is available to set the contention scope attribute of + * a thread attribute object. + */ +/*#define HAS_PTHREAD_ATTR_SETSCOPE / **/ + /* HAS_READV: * This symbol, if defined, indicates that the readv routine is * available to do gather reads. You will also need @@ -1853,8 +1856,8 @@ * This symbol, if defined, indicates that the system provides * a prototype for the sbrk() function. Otherwise, it is up * to the program to supply one. Good guesses are - * extern void* sbrk _((int)); - * extern void* sbrk _((size_t)); + * extern void* sbrk(int); + * extern void* sbrk(size_t); */ /*#define HAS_SBRK_PROTO /**/ @@ -1864,6 +1867,12 @@ */ /*#define HAS_SEM /**/ +/* HAS_SCALBNL: + * This symbol, if defined, indicates that the scalbnl routine is + * available. If ilogbl is also present we can emulate frexpl. + */ +/*#define HAS_SCALBNL /**/ + /* HAS_SENDMSG: * This symbol, if defined, indicates that the sendmsg routine is * available to send structured socket messages. @@ -2212,7 +2221,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the telldir() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern long telldir _((DIR*)); + * extern long telldir(DIR*); */ #define HAS_TELLDIR_PROTO /**/ @@ -2415,12 +2424,6 @@ /*#define I_GRP /**/ /*#define GRPASSWD /**/ -/* I_ICONV: - * This symbol, if defined, indicates that exists and - * should be included. - */ -/*#define I_ICONV /**/ - /* I_IEEEFP: * This symbol, if defined, indicates that exists and * should be included. @@ -2650,6 +2653,12 @@ /*#define PERL_PRIeldbl "e" /**/ /*#define PERL_SCNfldbl undef /**/ +#$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/ +#$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/ +#$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/ + +/*#$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/ + /* Off_t: * This symbol holds the type used to declare offsets in the kernel. * It can be int, long, off_t, etc... It may be necessary to include @@ -2831,6 +2840,10 @@ * This symbol contains the number of bits a variable of type NVTYPE * can preserve of a variable of type UVTYPE. */ +/* NV_ZERO_IS_ALLBITS_ZERO: + * This symbol, if defined, indicates that a variable of type NVTYPE + * stores 0.0 in memory as all bits zero. + */ #define IVTYPE long /**/ #define UVTYPE unsigned long /**/ #define I8TYPE char /**/ @@ -2859,6 +2872,7 @@ #define NVSIZE 8 /**/ #define NV_PRESERVES_UV #define NV_PRESERVES_UV_BITS undef +#undef NV_ZERO_IS_ALLBITS_ZERO /* IVdf: * This symbol defines the format string used for printing a Perl IV @@ -2896,7 +2910,7 @@ #define UVuf "lu" /**/ #define UVof "lo" /**/ #define UVxf "lx" /**/ -#define UVXf undef /**/ +#define UVXf "lX" /**/ #define NVef "e" /**/ #define NVff "f" /**/ #define NVgf "g" /**/ @@ -3000,8 +3014,8 @@ * the sig_name list. */ /* SIG_SIZE: - * This variable contains the number of elements of the sig_name - * and sig_num arrays, excluding the final NULL entry. + * This variable contains the number of elements of the SIG_NAME + * and SIG_NUM arrays, excluding the final NULL entry. */ #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/ #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/ @@ -3022,7 +3036,7 @@ * This symbol contains the ~name expanded version of SITEARCH, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITEARCH "c:\\perl\\site\\5.7.2\\lib\\NetWare-x86-multi-thread" /**/ +#define SITEARCH "c:\\perl\\site\\5.9.4\\lib\\NetWare-x86-multi-thread" /**/ /*#define SITEARCH_EXP "" /**/ /* SITELIB: @@ -3045,8 +3059,8 @@ * removed. The elements in inc_version_list (inc_version_list.U) can * be tacked onto this variable to generate a list of directories to search. */ -#define SITELIB "c:\\perl\\site\\5.7.2\\lib" /**/ -#define SITELIB_EXP (nw_get_sitelib("5.7.2")) /**/ +#define SITELIB "c:\\perl\\site\\5.9.4\\lib" /**/ +#define SITELIB_EXP (nw_get_sitelib("5.9.4")) /**/ #define SITELIB_STEM "" /**/ /* Size_t_size: @@ -3151,6 +3165,15 @@ /*#define USE_64_BIT_ALL /**/ #endif +/* USE_FAST_STDIO: + * This symbol, if defined, indicates that Perl should + * be built to use 'fast stdio'. + * Defaults to define in Perls 5.8 and earlier, to undef later. + */ +#ifndef USE_FAST_STDIO +/*#define USE_FAST_STDIO / **/ +#endif + /* USE_LARGE_FILES: * This symbol, if defined, indicates that large file support * should be used when available. @@ -3204,10 +3227,6 @@ * This symbol, if defined, indicates that Perl should be built to * use the interpreter-based threading implementation. */ -/* USE_5005THREADS: - * This symbol, if defined, indicates that Perl should be built to - * use the 5.005-based threading implementation. - */ /* OLD_PTHREADS_API: * This symbol, if defined, indicates that Perl should * be built to use the old draft POSIX threads API. @@ -3217,11 +3236,7 @@ * try to use the various _r versions of library functions. * This is extremely experimental. */ -/*#define USE_5005THREADS /**/ #define USE_ITHREADS /**/ -#if defined(USE_5005THREADS) && !defined(USE_ITHREADS) -#define USE_5005THREADS /* until src is revised*/ -#endif /*#define OLD_PTHREADS_API /**/ /*#define USE_REENTRANT_API /**/ @@ -3280,41 +3295,6 @@ #define M_VOID /* Xenix strikes again */ #endif -/* PERL_XS_APIVERSION: - * This variable contains the version of the oldest perl binary - * compatible with the present perl. perl.c:incpush() and - * lib/lib.pm will automatically search in c:\\perl\\site\\5.7.2\\lib\\NetWare-x86-multi-thread for older - * directories across major versions back to xs_apiversion. - * This is only useful if you have a perl library directory tree - * structured like the default one. - * See INSTALL for how this works. - * The versioned site_perl directory was introduced in 5.005, - * so that is the lowest possible value. - * Since this can depend on compile time options (such as - * bincompat) it is set by Configure. Other non-default sources - * of potential incompatibility, such as multiplicity, threads, - * debugging, 64bits, sfio, etc., are not checked for currently, - * though in principle we could go snooping around in old - * Config.pm files. - */ -/* PERL_PM_APIVERSION: - * This variable contains the version of the oldest perl - * compatible with the present perl. (That is, pure perl modules - * written for pm_apiversion will still work for the current - * version). perl.c:incpush() and lib/lib.pm will automatically - * search in c:\\perl\\site\\5.7.2\\lib for older directories across major versions - * back to pm_apiversion. This is only useful if you have a perl - * library directory tree structured like the default one. The - * versioned site_perl library was introduced in 5.005, so that's - * the default setting for this variable. It's hard to imagine - * it changing before Perl6. It is included here for symmetry - * with xs_apiveprsion -- the searching algorithms will - * (presumably) be similar. - * See the INSTALL file for how this works. - */ -#define PERL_XS_APIVERSION "5.6.0" -#define PERL_PM_APIVERSION "5.005" - /* SETUID_SCRIPTS_ARE_SECURE_NOW: * This symbol, if defined, indicates that the bug that prevents * setuid scripts from being secure is not present in this kernel. @@ -3358,6 +3338,12 @@ #define PERL_TARGETARCH "undef" /**/ #endif +/* HAS_COPYSIGNL: + * This symbol, if defined, indicates that the copysignl routine is + * available. If aintl is also present we can emulate modfl. + */ +/*#define HAS_COPYSIGNL /**/ + /* HAS_DBMINIT_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the dbminit() function. Otherwise, it is up @@ -3397,7 +3383,7 @@ * This symbol, if defined, indicates that the system provides * a prototype for the sockatmark() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern int sockatmark _((int)); + * extern int sockatmark(int); */ /*#define HAS_SOCKATMARK_PROTO /**/ @@ -3423,6 +3409,18 @@ */ #define HAS_STRFTIME /**/ +/* HAS_STRLCAT + * This symbol, if defined, indicates that the strlcat routine is + * available to do string concatenation. + */ +/*#define HAS_STRLCAT /**/ + +/* HAS_STRLCPY: + * This symbol, if defined, indicates that the strlcpy routine is + * available to do string copying. + */ +/*#define HAS_STRLCPY /**/ + /* HAS_SYSCALL_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the syscall() function. Otherwise, it is up @@ -3448,7 +3446,7 @@ /* HAS_PTHREAD_ATFORK: * This symbol, if defined, indicates that the pthread_atfork routine - * is available setup fork handlers. + * is available to setup fork handlers. */ /*#define HAS_PTHREAD_ATFORK /**/