From: Jarkko Hietaniemi Date: Mon, 6 Mar 2000 00:23:22 +0000 (+0000) Subject: VOS patch from Paul Green. Note that the vos/config_h.SH_orig X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=09445a519b978419bd947ecc09b42255654ec8f1;p=p5sagit%2Fp5-mst-13.2.git VOS patch from Paul Green. Note that the vos/config_h.SH_orig is not exactly identical to the current config_h.SH because Paul needs better $sitearch control. p4raw-id: //depot/cfgperl@5561 --- diff --git a/vos/config.def b/vos/config.def index 46098b4..34f5770 100644 --- a/vos/config.def +++ b/vos/config.def @@ -112,7 +112,7 @@ $d_htonl='define' $d_iconv='undef' $d_index='undef' $d_inetaton='undef' -$d_int64t='undef' +$d_int64_t='undef' $d_isascii='define' $d_killpg='undef' $d_lchown='undef' @@ -134,6 +134,9 @@ $d_memcpy='define' $d_memmove='define' $d_memset='define' $d_mkdir='define' +$d_mkdtemp='undef' +$d_mkstemp='undef' +$d_mkstemps='undef' $d_mkfifo='define' $d_mktime='define' $d_mmap='undef' @@ -257,6 +260,7 @@ $d_umask='define' $d_uname='define' $d_union_semun='undef' $d_ustat='undef' +$d_vendorarch='define' $d_vendorlib='define' $d_vfork='undef' $d_void_closedir='undef' @@ -330,6 +334,8 @@ $i_sysaccess='undef' $i_sysdir='undef' $i_sysfile='undef' $i_sysioctl='define' +$i_syslog='undef' +$i_sysmode='undef' $i_sysmount='undef' $i_sysndir='undef' $i_sysparam='undef' @@ -345,6 +351,7 @@ $i_systimes='define' $i_systypes='define' $i_sysuio='undef' $i_sysun='undef' +$i_sysutsname='define' $i_sysvfs='undef' $i_syswait='define' $i_termio='undef' @@ -357,7 +364,7 @@ $i_values='define' $i_varargs='undef' $i_vfork='undef' $Id='$Id' -$inc_version_list_init='' +$inc_version_list_init='0' $installusrbinperl='undef' $intsize='4' $ivdformat='"d"' @@ -437,6 +444,7 @@ $use5005threads='undef' $use64bitall='undef' $use64bitint='undef' $usedl='undef' +$useithreads='undef' $uselargefiles='undef' $uselongdouble='define' $usemorebits='undef' diff --git a/vos/config.h b/vos/config.h index a145c30..78e5c69 100644 --- a/vos/config.h +++ b/vos/config.h @@ -1612,7 +1612,7 @@ * Usually the needs to be included, but sometimes * is enough. */ -# HAS_INT64_T /**/ +/*#define HAS_INT64_T /**/ /* HAS_ISASCII: * This manifest constant lets the C program know that isascii @@ -1678,21 +1678,21 @@ * This symbol, if defined, indicates that the mkdtemp routine is * available to exclusively create a uniquely named temporary directory. */ -# HAS_MKDTEMP /**/ +/*#define HAS_MKDTEMP /**/ /* HAS_MKSTEMP: * This symbol, if defined, indicates that the mkstemp routine is * available to exclusively create and open a uniquely named * temporary file. */ -# HAS_MKSTEMP /**/ +/*#define HAS_MKSTEMP /**/ /* HAS_MKSTEMPS: * This symbol, if defined, indicates that the mkstemps routine is * available to excluslvely create and open a uniquely named * (with a suffix) temporary file. */ -# HAS_MKSTEMPS /**/ +/*#define HAS_MKSTEMPS /**/ /* HAS_MMAP: * This symbol, if defined, indicates that the mmap system call is @@ -2366,13 +2366,13 @@ * This symbol, if defined, indicates that exists and * should be included. */ -# I_SYSLOG /**/ +/*#define I_SYSLOG /**/ /* I_SYSMODE: * This symbol, if defined, indicates that exists and * should be included. */ -# I_SYSMODE /**/ +/*#define I_SYSMODE /**/ /* I_SYS_MOUNT: * This symbol, if defined, indicates that exists and @@ -2401,7 +2401,7 @@ * This symbol, if defined, indicates that exists and * should be included. */ -# I_SYSUTSNAME /**/ +#define I_SYSUTSNAME /**/ /* I_SYS_VFS: * This symbol, if defined, indicates that exists and @@ -2438,7 +2438,7 @@ * for a C initialization string. See the inc_version_list entry * in Porting/Glossary for more details. */ -#define PERL_INC_VERSION_LIST /**/ +#define PERL_INC_VERSION_LIST 0 /**/ /* INSTALL_USR_BIN_PERL: * This symbol, if defined, indicates that Perl is to be installed @@ -2774,8 +2774,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 "" /**/ -#define SITEARCH_EXP "" /**/ +/*#define SITEARCH "" /**/ +/*#define SITEARCH_EXP "" /**/ /* SITELIB: * This symbol contains the name of the private library for this package. @@ -2942,7 +2942,7 @@ * be built to use the old draft POSIX threads API. */ /*#define USE_5005THREADS /**/ -# USE_ITHREADS /**/ +/*#define USE_ITHREADS /**/ #if defined(USE_5005THREADS) && !defined(USE_ITHREADS) #define USE_THREADS /* until src is revised*/ #endif @@ -2952,7 +2952,7 @@ * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -# PERL_VENDORARCH_EXP "" /**/ +#define PERL_VENDORARCH_EXP "" /**/ /* PERL_VENDORLIB_EXP: * This symbol contains the ~name expanded version of VENDORLIB, to be used diff --git a/vos/config_h.SH_orig b/vos/config_h.SH_orig index cae08f3..299c931 100755 --- a/vos/config_h.SH_orig +++ b/vos/config_h.SH_orig @@ -2792,8 +2792,8 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * 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 "$sitearch" /**/ -#define SITEARCH_EXP "$sitearchexp" /**/ +#$d_sitearch SITEARCH "$sitearch" /**/ +#$d_sitearch SITEARCH_EXP "$sitearchexp" /**/ /* SITELIB: * This symbol contains the name of the private library for this package.