diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-22 16:36:41 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-22 16:36:41 +0000 |
commit | c68a00c0718023d4b3e2aa313bc06f7aa681515e (patch) | |
tree | 3ad38806ee1e5472f8133380ff0acaece38b2916 /Porting | |
parent | 707afd922f953b906fb39ee9de6af3d448931188 (diff) | |
download | perl-c68a00c0718023d4b3e2aa313bc06f7aa681515e.tar.gz |
Get rid of the _() macro since (1) we require ANSI anyway
(2) Other software (GNU) seems to use it and we don't need it,
so let's give it up.
p4raw-id: //depot/perl@14374
Diffstat (limited to 'Porting')
-rw-r--r-- | Porting/Glossary | 7 | ||||
-rw-r--r-- | Porting/config.sh | 21 | ||||
-rw-r--r-- | Porting/config_H | 100 |
3 files changed, 67 insertions, 61 deletions
diff --git a/Porting/Glossary b/Porting/Glossary index 9c3a8cb563..eb2fe3df0c 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -2094,6 +2094,11 @@ glibpth (libpth.U): find libraries. It may contain directories that do not exist on this platform, libpth is the cleaned-up version. +gmake (Loc.U): + This variable is used internally by Configure to determine the + full pathname (if any) of the gmake program. After Configure runs, + the value is reset to a plain "gmake" and is not useful. + grep (Loc.U): This variable is used internally by Configure to determine the full pathname (if any) of the grep program. After Configure runs, @@ -3362,7 +3367,7 @@ shrpenv (libperl.U): shrpenv='' See the main perl Makefile.SH for actual working usage. Alternatively, we might be able to use a command line option such - as -R $archlibexp/CORE (Solaris, NetBSD) or -Wl,-rpath + as -R $archlibexp/CORE (Solaris) or -Wl,-rpath $archlibexp/CORE (Linux). shsharp (spitshell.U): diff --git a/Porting/config.sh b/Porting/config.sh index 6074c57414..5248db2da9 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Fri Nov 23 21:51:58 EET 2001 +# Configuration time: Tue Jan 22 18:37:28 EET 2002 # Configured by : jhi # Target system : osf1 alpha.hut.fi v4.0 878 alpha @@ -63,7 +63,7 @@ ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_ ccversion='V5.6-082' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Fri Nov 23 21:51:58 EET 2001' +cf_time='Tue Jan 22 18:37:28 EET 2002' charsize='1' chgrp='' chmod='chmod' @@ -441,7 +441,7 @@ dlext='so' dlsrc='dl_dlopen.xs' doublesize='8' drand01='drand48()' -dynamic_ext='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/Typemap attrs re' +dynamic_ext='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/Typemap attrs re' eagain='EAGAIN' ebcdic='undef' echo='echo' @@ -450,7 +450,7 @@ emacs='' eunicefix=':' exe_ext='' expr='expr' -extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/Typemap attrs re Devel/PPPort Errno' +extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/Typemap attrs re Errno' extras='' fflushNULL='define' fflushall='undef' @@ -471,6 +471,7 @@ gidsign='1' gidsize='4' gidtype='gid_t' glibpth='/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib' +gmake='gmake' grep='grep' groupcat='cat /etc/group' groupstype='gid_t' @@ -594,7 +595,7 @@ issymlink='test -h' ivdformat='"ld"' ivsize='8' ivtype='long' -known_extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread Time/HiRes Unicode/Normalize XS/Typemap attrs re threads threads/shared' +known_extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread Time/HiRes Unicode/Normalize XS/Typemap attrs re threads threads/shared' ksh='' ld='ld' lddlflags='-shared -expect_unresolved "*" -msym -std -s' @@ -661,7 +662,7 @@ netdb_net_type='int' nm='nm' nm_opt='-p' nm_so_opt='' -nonxs_ext='Devel/PPPort Errno' +nonxs_ext='Errno' nroff='nroff' nvEUformat='"E"' nvFUformat='"F"' @@ -686,10 +687,10 @@ patchlevel='7' path_sep=':' perl5='perl' perl='' -perl_patchlevel='13165' +perl_patchlevel='14368' perladmin='yourname@yourhost.yourplace.com' perllibs='-lm -lutil' -perlpath='/opt/perl/bin/perl' +perlpath='/opt/perl/bin/perl5.7.2' pg='pg' phostname='' pidtype='pid_t' @@ -855,7 +856,7 @@ vendorlibexp='' vendorprefix='' vendorprefixexp='' version='5.7.2' -version_patchlevel_string='version 7 subversion 2 patch 13165' +version_patchlevel_string='version 7 subversion 2 patch 14368' versiononly='define' vi='' voidflags='15' @@ -885,7 +886,7 @@ PERL_SUBVERSION=2 PERL_API_REVISION=5 PERL_API_VERSION=5 PERL_API_SUBVERSION=0 -PERL_PATCHLEVEL=13165 +PERL_PATCHLEVEL=14368 PERL_CONFIG_SH=true # Variables propagated from previous config.sh file. pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"' diff --git a/Porting/config_H b/Porting/config_H index 725f666721..ab44615bea 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Fri Nov 23 21:51:58 EET 2001 + * Configuration time: Tue Jan 22 18:37:28 EET 2002 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ @@ -92,12 +92,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_CUSERID: * This symbol, if defined, indicates that the cuserid routine is * available to get character login names. @@ -514,20 +508,6 @@ */ #define HAS_SETSID /**/ -/* Shmat_t: - * This symbol holds the return type of the shmat() system call. - * Usually set to 'void *' or 'char *'. - */ -/* 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, - * but not always right so it should be emitted by the program only - * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. - */ -#define Shmat_t void * /**/ -#define HAS_SHMAT_PROTOTYPE /**/ - /* HAS_STRCHR: * This symbol is defined to indicate that the strchr()/strrchr() * functions are available for string searching. If not, try the @@ -743,12 +723,6 @@ */ /*#define I_MEMORY / **/ -/* I_NDBM: - * This symbol, if defined, indicates that <ndbm.h> exists and should - * be included. - */ -#define I_NDBM /**/ - /* I_NET_ERRNO: * This symbol, if defined, indicates that <net/errno.h> exists and * should be included. @@ -908,24 +882,6 @@ */ /*#define I_VFORK / **/ -/* CAN_PROTOTYPE: - * 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 - /* INTSIZE: * This symbol contains the value of sizeof(int) so that the C * preprocessor can make decisions based on it. @@ -1254,7 +1210,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 /**/ @@ -1935,8 +1891,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 /**/ @@ -2294,7 +2250,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 /**/ @@ -3404,6 +3360,12 @@ #define PERL_XS_APIVERSION "5.005" #define PERL_PM_APIVERSION "5.005" +/* HAS_CRYPT: + * This symbol, if defined, indicates that the crypt routine is available + * to encrypt passwords and the like. + */ +#define HAS_CRYPT /**/ + /* 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. @@ -3424,6 +3386,26 @@ /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ /*#define DOSUID / **/ +/* Shmat_t: + * This symbol holds the return type of the shmat() system call. + * Usually set to 'void *' or 'char *'. + */ +/* 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, + * but not always right so it should be emitted by the program only + * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. + */ +#define Shmat_t void * /**/ +#define HAS_SHMAT_PROTOTYPE /**/ + +/* I_NDBM: + * This symbol, if defined, indicates that <ndbm.h> exists and should + * be included. + */ +#define I_NDBM /**/ + /* I_STDARG: * This symbol, if defined, indicates that <stdarg.h> exists and should * be included. @@ -3435,6 +3417,24 @@ #define I_STDARG /**/ /*#define I_VARARGS / **/ +/* CAN_PROTOTYPE: + * If defined, this macro indicates that the C compiler can handle + * function prototypes. + */ +/* PROTO_: + * 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 PROTO_((int argc, char *argv[])); + */ +#define CAN_PROTOTYPE /**/ +#ifdef CAN_PROTOTYPE +#define PROTO_(args) args +#else +#define PROTO_(args) () +#endif + /* SH_PATH: * This symbol contains the full pathname to the shell used on this * on this system to execute Bourne shell scripts. Usually, this will be @@ -3534,7 +3534,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 / **/ |