X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=uconfig.h;h=a81a24055fdc676f6181cbb255d53cebd2db45c9;hb=93a047328e714ace2986c9ffb3515b4bf0939bfd;hp=08888f445f6fe6a39360ca823cbe514ed39a836e;hpb=1de32f2a8367111f29377c6ed81b538f36717dd9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/uconfig.h b/uconfig.h index 08888f4..a81a240 100644 --- a/uconfig.h +++ b/uconfig.h @@ -361,7 +361,7 @@ * available to read directory entries. You may have to include * . See I_DIRENT. */ -/*#define HAS_READDIR / **/ +#define HAS_READDIR /**/ /* HAS_SEEKDIR: * This symbol, if defined, indicates that the seekdir routine is @@ -392,7 +392,7 @@ * to rename files. Otherwise you should do the unlink(), link(), unlink() * trick. */ -/*#define HAS_RENAME / **/ +#define HAS_RENAME /**/ /* HAS_RMDIR: * This symbol, if defined, indicates that the rmdir routine is @@ -663,7 +663,7 @@ * whether dirent is available or not. You should use this pseudo type to * portably declare your directory entries. */ -/*#define I_DIRENT / **/ +#define I_DIRENT /**/ /*#define DIRNAMLEN / **/ #define Direntry_t struct dirent @@ -738,7 +738,7 @@ * This symbol, if defined, indicates that exists and should * be included. */ -/*#define I_STDLIB / **/ +#define I_STDLIB /**/ /* I_STRING: * This symbol, if defined, indicates to the C program that it should @@ -1338,8 +1338,8 @@ * 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 "/usr/local/lib/perl5/5.7/unknown" / **/ -/*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.7/unknown" / **/ +/*#define ARCHLIB "/usr/local/lib/perl5/5.9/unknown" / **/ +/*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.9/unknown" / **/ /* BIN: * This symbol holds the path of the bin directory where the package will @@ -1377,6 +1377,18 @@ */ /*#define PERL_OTHERLIBDIRS "" / **/ +/* INSTALL_PREFIX: + * This symbol contains the "root" of installation tree for this package. + * The program should be prepared to do ~ expansion. + */ +/* INSTALL_PREFIX_EXP: + * This symbol contains the "root" of installation tree for this package + * to be used in programs that are not prepared to deal with ~ expansion + * at run-time. + */ +#define INSTALL_PREFIX "" /**/ +#define INSTALL_PREFIX_EXP "" /**/ + /* PRIVLIB: * This symbol contains the name of the private library for this package. * The library is private in the sense that it needn't be in anyone's @@ -1387,8 +1399,8 @@ * This symbol contains the ~name expanded version of PRIVLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define PRIVLIB "/usr/local/lib/perl5/5.7" /**/ -#define PRIVLIB_EXP "/usr/local/lib/perl5/5.7" /**/ +#define PRIVLIB "/usr/local/lib/perl5/5.9" /**/ +#define PRIVLIB_EXP "/usr/local/lib/perl5/5.9" /**/ /* SITEARCH: * This symbol contains the name of the private library for this package. @@ -1476,7 +1488,7 @@ #define OSVERS "" /**/ /* CAT2: - * This macro catenates 2 tokens together. + * This macro concatenates 2 tokens together. */ /* STRINGIFY: * This macro surrounds its token with double quotes. @@ -1496,7 +1508,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: @@ -1999,7 +2011,7 @@ * This symbol, if defined, indicates that the strtoul routine is * available to provide conversion of strings to unsigned long. */ -/*#define HAS_STRTOUL / **/ +#define HAS_STRTOUL /**/ /* HAS_UNION_SEMUN: * This symbol, if defined, indicates that the union semun is @@ -2150,6 +2162,11 @@ */ /*#define MYMALLOC / **/ +/* PERL_MALLOC_WRAP: + * This symbol, if defined, indicates that we'd like malloc wrap checks. + */ +/*#define PERL_MALLOC_WRAP / **/ + /* CAN_PROTOTYPE: * If defined, this macro indicates that the C compiler can handle * function prototypes. @@ -2638,12 +2655,6 @@ */ /*#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_NL_LANGINFO: * This symbol, if defined, indicates that the nl_langinfo routine is * available to return local data. You will also need @@ -2670,6 +2681,13 @@ #define PROCSELFEXE_PATH /**/ #endif +/* 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 @@ -3203,6 +3221,19 @@ #define NVSIZE 8 /**/ #undef NV_PRESERVES_UV #define NV_PRESERVES_UV_BITS 0 +#if UVSIZE == 8 +# ifdef BYTEORDER +# if BYTEORDER == 0x1234 +# undef BYTEORDER +# define BYTEORDER 0x12345678 +# else +# if BYTEORDER == 0x4321 +# undef BYTEORDER +# define BYTEORDER 0x87654321 +# endif +# endif +# endif +#endif /* IVdf: * This symbol defines the format string used for printing a Perl IV @@ -3356,41 +3387,6 @@ /*#define USE_SOCKS / **/ #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 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 - * 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 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.008" -#define PERL_PM_APIVERSION "5.005" - /* HAS_DRAND48_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up @@ -3923,7 +3919,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 / **/ @@ -4269,7 +4265,7 @@ * unsigned long, int, etc. It may be necessary to include * to get any typedef'ed information. */ -#define Size_t int /* length paramater for string functions */ +#define Size_t size_t /* length paramater for string functions */ /* Uid_t_f: * This symbol defines the format string used for printing a Uid_t.