X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Porting%2Fconfig_H;h=143e45a216bde6ec63b445540b5058dc1b5e3143;hb=17c79f43379fc059c3c23c26a109c793268b3956;hp=f74dc6714d34816a6114d681530af76ec90d0f99;hpb=b68c599a1231c4d11ec0b0a667ce0c407c357eab;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Porting/config_H b/Porting/config_H index f74dc67..143e45a 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,9 +17,9 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Wed Jan 23 09:43:56 CET 2008 + * Configuration time: Fri Oct 3 17:54:26 CEST 2008 * Configured by : merijn - * Target system : linux nb09 2.6.22.13-0.3-default #1 smp 20071119 15:02:58 utc i686 i686 i386 gnulinux + * Target system : linux nb09 2.6.22.18-0.2-default #1 smp 2008-06-09 13:53:20 +0200 i686 i686 i386 gnulinux */ #ifndef _config_h_ @@ -72,6 +72,12 @@ */ /*#define HAS_CHSIZE / **/ +/* HAS_CRYPT: + * This symbol, if defined, indicates that the crypt routine is available + * to encrypt passwords and the like. + */ +#define HAS_CRYPT /**/ + /* HAS_CTERMID: * This symbol, if defined, indicates that the ctermid routine is * available to generate filename for terminal. @@ -105,6 +111,26 @@ */ #define HAS_DLERROR /**/ +/* 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. + */ +/* DOSUID: + * This symbol, if defined, indicates that the C program should + * check the script that it is executing for setuid/setgid bits, and + * attempt to emulate setuid/setgid on systems that have disabled + * setuid #! scripts because the kernel can't do it securely. + * It is up to the package designer to make sure that this emulation + * is done securely. Among other things, it should do an fstat on + * the script it just opened to make sure it really is a setuid/setgid + * script, it should make sure the arguments passed correspond exactly + * to the argument on the #! line, and it should not trust any + * subprocesses to which it must pass the filename rather than the + * file descriptor of the script to be executed. + */ +/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ +/*#define DOSUID / **/ + /* HAS_DUP2: * This symbol, if defined, indicates that the dup2 routine is * available to duplicate file descriptors. @@ -348,6 +374,13 @@ */ #define HAS_PIPE /**/ +/* HAS_POLL: + * This symbol, if defined, indicates that the poll routine is + * available to poll active file descriptors. Please check I_POLL and + * I_SYS_POLL to know which header should be included as well. + */ +#define HAS_POLL /**/ + /* HAS_READDIR: * This symbol, if defined, indicates that the readdir routine is * available to read directory entries. You may have to include @@ -412,6 +445,13 @@ */ #define HAS_SETEUID /**/ +/* HAS_SETGROUPS: + * This symbol, if defined, indicates that the setgroups() routine is + * available to set the list of process groups. If unavailable, multiple + * groups are probably not supported. + */ +#define HAS_SETGROUPS /**/ + /* HAS_SETLINEBUF: * This symbol, if defined, indicates that the setlinebuf routine is * available to change stderr or stdout from block-buffered or unbuffered @@ -606,6 +646,19 @@ */ #define HAS_WCTOMB /**/ +/* Groups_t: + * This symbol holds the type used for the second argument to + * getgroups() and setgroups(). Usually, this is the same as + * gidtype (gid_t) , but sometimes it isn't. + * It can be int, ushort, gid_t, etc... + * It may be necessary to include to get any + * typedef'ed information. This is only required if you have + * getgroups() or setgroups().. + */ +#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) +#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ +#endif + /* I_ARPA_INET: * This symbol, if defined, indicates to the C program that it should * include to get inet_addr and friends declarations. @@ -620,7 +673,7 @@ * This symbol, if defined, indicates that exists and * should be included. */ -/*#define I_DBM / **/ +#define I_DBM /**/ /*#define I_RPCSVC_DBM / **/ /* I_DLFCN: @@ -737,6 +790,13 @@ */ #define I_SYS_PARAM /**/ +/* I_SYS_POLL: + * This symbol, if defined, indicates that the program may include + * . When I_POLL is also defined, it's probably safest + * to only include . + */ +#define I_SYS_POLL /**/ + /* I_SYS_RESOURCE: * This symbol, if defined, indicates to the C program that it should * include . @@ -877,7 +937,7 @@ * feature tests from Configure are generally more reliable. */ #define OSNAME "linux" /**/ -#define OSVERS "2.6.22.13-0.3-default" /**/ +#define OSVERS "2.6.22.18-0.2-default" /**/ /* ARCHLIB: * This variable, if defined, holds the name of the directory in @@ -892,8 +952,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 "/opt/perl/lib/5.11.0/i686-linux-64int" /**/ -#define ARCHLIB_EXP "/opt/perl/lib/5.11.0/i686-linux-64int" /**/ +#define ARCHLIB "/pro/lib/perl5/5.11.0/i686-linux-64int" /**/ +#define ARCHLIB_EXP "/pro/lib/perl5/5.11.0/i686-linux-64int" /**/ /* ARCHNAME: * This symbol holds a string representing the architecture name. @@ -915,8 +975,8 @@ * This symbol, if defined, indicates that we'd like to relocate entries * in @INC at run time based on the location of the perl binary. */ -#define BIN "/opt/perl/bin" /**/ -#define BIN_EXP "/opt/perl/bin" /**/ +#define BIN "/pro/bin" /**/ +#define BIN_EXP "/pro/bin" /**/ #define PERL_RELOCATABLE_INC "undef" /**/ /* CAT2: @@ -928,19 +988,16 @@ #if 42 == 1 #define CAT2(a,b) a/**/b #define STRINGIFY(a) "a" - /* If you can get stringification with catify, tell me how! */ #endif #if 42 == 42 #define PeRl_CaTiFy(a, b) a ## b #define PeRl_StGiFy(a) #a -/* the additional level of indirection enables these macros to be - * used as arguments to other macros. See K&R 2nd ed., page 231. */ #define CAT2(a,b) PeRl_CaTiFy(a,b) #define StGiFy(a) PeRl_StGiFy(a) #define STRINGIFY(a) PeRl_StGiFy(a) #endif #if 42 != 1 && 42 != 42 -# include "Bletch: How does this C preprocessor concatenate tokens?" +#include "Bletch: How does this C preprocessor concatenate tokens?" #endif /* CPPSTDIN: @@ -1043,12 +1100,6 @@ #define const #endif -/* HAS_CRYPT: - * This symbol, if defined, indicates that the crypt routine is available - * to encrypt passwords and the like. - */ -#define HAS_CRYPT /**/ - /* HAS_CRYPT_R: * This symbol, if defined, indicates that the crypt_r routine * is available to crypt re-entrantly. @@ -1070,7 +1121,7 @@ */ #define HAS_CSH /**/ #ifdef HAS_CSH -#define CSH "/usr/bin/csh" /**/ +#define CSH "/usr/bin/tcsh" /**/ #endif /* HAS_CTERMID_R: @@ -1099,26 +1150,6 @@ /*#define HAS_CTIME_R / **/ #define CTIME_R_PROTO 0 /**/ -/* 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. - */ -/* DOSUID: - * This symbol, if defined, indicates that the C program should - * check the script that it is executing for setuid/setgid bits, and - * attempt to emulate setuid/setgid on systems that have disabled - * setuid #! scripts because the kernel can't do it securely. - * It is up to the package designer to make sure that this emulation - * is done securely. Among other things, it should do an fstat on - * the script it just opened to make sure it really is a setuid/setgid - * script, it should make sure the arguments passed correspond exactly - * to the argument on the #! line, and it should not trust any - * subprocesses to which it must pass the filename rather than the - * file descriptor of the script to be executed. - */ -/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ -/*#define DOSUID / **/ - /* HAS_DRAND48_R: * This symbol, if defined, indicates that the drand48_r routine * is available to drand48 re-entrantly. @@ -1355,7 +1386,7 @@ #define HAS_UNAME /**/ /*#define HAS_PHOSTNAME / **/ #ifdef HAS_PHOSTNAME -#define PHOSTNAME "" /* How to get the host name */ +#define PHOSTNAME "/bin/hostname" /* How to get the host name */ #endif /* HAS_GETHOSTBYADDR_R: @@ -1811,13 +1842,6 @@ */ #define HAS_MSG /**/ -/* HAS_POLL: - * This symbol, if defined, indicates that the poll routine is - * available to poll active file descriptors. Please check I_POLL and - * I_SYS_POLL to know which header should be included as well. - */ -#define HAS_POLL /**/ - /* OLD_PTHREAD_CREATE_JOINABLE: * This symbol, if defined, indicates how to create pthread * in joinable (aka undetached) state. NOTE: not defined @@ -1832,7 +1856,7 @@ * This symbol, if defined, indicates that the pthread_atfork routine * is available to setup fork handlers. */ -#define HAS_PTHREAD_ATFORK /**/ +/*#define HAS_PTHREAD_ATFORK / **/ /* HAS_PTHREAD_YIELD: * This symbol, if defined, indicates that the pthread_yield @@ -1917,13 +1941,6 @@ /*#define HAS_SETGRENT_R / **/ #define SETGRENT_R_PROTO 0 /**/ -/* HAS_SETGROUPS: - * This symbol, if defined, indicates that the setgroups() routine is - * available to set the list of process groups. If unavailable, multiple - * groups are probably not supported. - */ -#define HAS_SETGROUPS /**/ - /* HAS_SETHOSTENT: * This symbol, if defined, indicates that the sethostent() routine is * available. @@ -2323,19 +2340,6 @@ */ #define Gid_t gid_t /* Type for getgid(), etc... */ -/* Groups_t: - * This symbol holds the type used for the second argument to - * getgroups() and setgroups(). Usually, this is the same as - * gidtype (gid_t) , but sometimes it isn't. - * It can be int, ushort, gid_t, etc... - * It may be necessary to include to get any - * typedef'ed information. This is only required if you have - * getgroups() or setgroups().. - */ -#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) -#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ -#endif - /* I_DIRENT: * This symbol, if defined, indicates to the C program that it should * include . Using this symbol also triggers the definition @@ -2377,7 +2381,19 @@ * This symbol, if defined, indicates that exists and should * be included. */ -/*#define I_NDBM / **/ +/* I_GDBMNDBM: + * This symbol, if defined, indicates that exists and should + * be included. This was the location of the ndbm.h compatibility file + * in RedHat 7.1. + */ +/* I_GDBM_NDBM: + * This symbol, if defined, indicates that exists and should + * be included. This is the location of the ndbm.h compatibility file + * in Debian 4.0. + */ +#define I_NDBM /**/ +/*#define I_GDBMNDBM / **/ +/*#define I_GDBM_NDBM / **/ /* I_NETDB: * This symbol, if defined, indicates that exists and @@ -2578,8 +2594,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 "/opt/perl/lib/5.11.0" /**/ -#define PRIVLIB_EXP "/opt/perl/lib/5.11.0" /**/ +#define PRIVLIB "/pro/lib/perl5/5.11.0" /**/ +#define PRIVLIB_EXP "/pro/lib/perl5/5.11.0" /**/ /* CAN_PROTOTYPE: * If defined, this macro indicates that the C compiler can handle @@ -2671,8 +2687,8 @@ * 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 "/opt/perl/lib/site_perl/5.11.0/i686-linux-64int" /**/ -#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.11.0/i686-linux-64int" /**/ +#define SITEARCH "/pro/lib/perl5/site_perl/5.11.0/i686-linux-64int" /**/ +#define SITEARCH_EXP "/pro/lib/perl5/site_perl/5.11.0/i686-linux-64int" /**/ /* SITELIB: * This symbol contains the name of the private library for this package. @@ -2694,9 +2710,9 @@ * 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 "/opt/perl/lib/site_perl/5.11.0" /**/ -#define SITELIB_EXP "/opt/perl/lib/site_perl/5.11.0" /**/ -#define SITELIB_STEM "/opt/perl/lib/site_perl" /**/ +#define SITELIB "/pro/lib/perl5/site_perl/5.11.0" /**/ +#define SITELIB_EXP "/pro/lib/perl5/site_perl/5.11.0" /**/ +#define SITELIB_STEM "/pro/lib/perl5/site_perl" /**/ /* Size_t_size: * This symbol holds the size of a Size_t in bytes. @@ -3262,7 +3278,7 @@ * Can we handle GCC builtin for telling that certain values are more * likely */ -/*#define HAS_BUILTIN_EXPECT / **/ +#define HAS_BUILTIN_EXPECT /**/ #define HAS_BUILTIN_CHOOSE_EXPR /**/ /* HAS_C99_VARIADIC_MACROS: @@ -3318,7 +3334,7 @@ * to the program to supply one. A good guess is * extern int dbminit(char *); */ -/*#define HAS_DBMINIT_PROTO / **/ +#define HAS_DBMINIT_PROTO /**/ /* HAS_DIR_DD_FD: * This symbol, if defined, indicates that the the DIR* dirstream @@ -3925,6 +3941,43 @@ */ #define HAS_TELLDIR_PROTO /**/ +/* HAS_CTIME64: + * This symbol, if defined, indicates that the ctime64 () routine is + * available to do the 64bit variant of ctime () + */ +/* HAS_LOCALTIME64: + * This symbol, if defined, indicates that the localtime64 () routine is + * available to do the 64bit variant of localtime () + */ +/* HAS_GMTIME64: + * This symbol, if defined, indicates that the gmtime64 () routine is + * available to do the 64bit variant of gmtime () + */ +/* HAS_MKTIME64: + * This symbol, if defined, indicates that the mktime64 () routine is + * available to do the 64bit variant of mktime () + */ +/* HAS_DIFFTIME64: + * This symbol, if defined, indicates that the difftime64 () routine is + * available to do the 64bit variant of difftime () + */ +/* HAS_ASCTIME64: + * This symbol, if defined, indicates that the asctime64 () routine is + * available to do the 64bit variant of asctime () + */ +/*#define HAS_CTIME64 / **/ +/*#define HAS_LOCALTIME64 / **/ +/*#define HAS_GMTIME64 / **/ +/*#define HAS_MKTIME64 / **/ +/*#define HAS_DIFFTIME64 / **/ +/*#define HAS_ASCTIME64 / **/ + +/* HAS_TIMEGM: + * This symbol, if defined, indicates that the timegm routine is + * available to do the opposite of gmtime () + */ +#define HAS_TIMEGM /**/ + /* U32_ALIGNMENT_REQUIRED: * This symbol, if defined, indicates that you must access * character data through U32-aligned pointers. @@ -4070,6 +4123,12 @@ */ /*#define I_LIBUTIL / **/ +/* I_MALLOCMALLOC: + * This symbol, if defined, indicates to the C program that it should + * include . + */ +/*#define I_MALLOCMALLOC / **/ + /* I_MNTENT: * This symbol, if defined, indicates that exists and * should be included. @@ -4271,7 +4330,7 @@ * This symbol contains the number of bits a variable of type NVTYPE * can preserve of a variable of type UVTYPE. */ -/* NV_OVERFLOWS_INTEGERS_AT +/* NV_OVERFLOWS_INTEGERS_AT: * This symbol gives the largest integer value that NVs can hold. This * value + 1.0 cannot be stored accurately. It is expressed as constant * floating point expression to reduce the chance of decimale/binary @@ -4380,7 +4439,7 @@ * script to make sure (one hopes) that it runs with perl and not * some shell. */ -#define STARTPERL "#!/opt/perl/bin/perl5.11.0" /**/ +#define STARTPERL "#!/pro/bin/perl5.11.0" /**/ /* HAS_STDIO_STREAM_ARRAY: * This symbol, if defined, tells that there is an array @@ -4391,7 +4450,30 @@ * Usual values include _iob, __iob, and __sF. */ /*#define HAS_STDIO_STREAM_ARRAY / **/ +#ifdef HAS_STDIO_STREAM_ARRAY #define STDIO_STREAM_ARRAY +#endif + +/* GMTIME_MAX: + * This symbol contains the maximum value for the time_t offset that + * the system function gmtime () accepts, and defaults to 0 + */ +/* GMTIME_MIN: + * This symbol contains the minimum value for the time_t offset that + * the system function gmtime () accepts, and defaults to 0 + */ +/* LOCALTIME_MAX: + * This symbol contains the maximum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +/* LOCALTIME_MIN: + * This symbol contains the minimum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +#define GMTIME_MAX 2147483647 /**/ +#define GMTIME_MIN -2147483648 /**/ +#define LOCALTIME_MAX 2147483647 /**/ +#define LOCALTIME_MIN -2147483648 /**/ /* USE_64_BIT_INT: * This symbol, if defined, indicates that 64-bit integers should