From: Jarkko Hietaniemi Date: Fri, 3 Mar 2000 15:09:03 +0000 (+0000) Subject: Introduce i_ieefp because FreeBSD on ix86 needs that X-Git-Tag: accepted/trunk/20130322.191538~34817^2~232 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=792d8dab7fdc7425b9c319731346e511d492fcad;p=platform%2Fupstream%2Fperl.git Introduce i_ieefp because FreeBSD on ix86 needs that for ftpsetmask(0); regen Configure. p4raw-id: //depot/cfgperl@5484 --- diff --git a/Configure b/Configure index b788f76..5842e8a 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu Mar 2 21:42:14 EET 2000 [metaconfig 3.0 PL70] +# Generated on Fri Mar 3 16:54:03 EET 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <. +i_ieeefp (i_ieeefp.U): + This variable conditionally defines the I_IEEEFP symbol, and indicates + whether a C program should include . + i_inttypes (i_inttypes.U): This variable conditionally defines the I_INTTYPES symbol, and indicates whether a C program should include . @@ -2027,6 +2039,10 @@ i_string (i_string.U): This variable conditionally defines the I_STRING symbol, which indicates that should be included rather than . +i_sunmath (i_sunmath.U): + This variable conditionally defines the I_SUNMATH symbol, and indicates + whether a C program should include . + i_sysaccess (i_sysaccess.U): This variable conditionally defines the I_SYS_ACCESS symbol, and indicates whether a C program should include . diff --git a/Porting/config.sh b/Porting/config.sh index 9476ce0..0fe3d67 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Sat Feb 26 03:04:10 EET 2000 +# Configuration time: Fri Mar 3 17:00:59 EET 2000 # Configured by : jhi # Target system : osf1 alpha.hut.fi v4.0 878 alpha @@ -35,8 +35,8 @@ api_subversion='0' api_version='5' api_versionstring='5.005' ar='ar' -archlib='/opt/perl/lib/5.5.660/alpha-dec_osf-thread-multi' -archlibexp='/opt/perl/lib/5.5.660/alpha-dec_osf-thread-multi' +archlib='/opt/perl/lib/5.5.670/alpha-dec_osf-thread-multi' +archlibexp='/opt/perl/lib/5.5.670/alpha-dec_osf-thread-multi' archname64='' archname='alpha-dec_osf-thread-multi' archobjs='' @@ -54,12 +54,12 @@ castflags='0' cat='cat' cc='cc' cccdlflags=' ' -ccdlflags=' -Wl,-rpath,/opt/perl/lib/5.5.660/alpha-dec_osf-thread-multi/CORE' +ccdlflags=' -Wl,-rpath,/opt/perl/lib/5.5.670/alpha-dec_osf-thread-multi/CORE' ccflags='-pthread -std -DLANGUAGE_C' ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_BSD=1 SYSTYPE_BSD=1 unix=1' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Sat Feb 26 03:04:10 EET 2000' +cf_time='Fri Mar 3 17:00:59 EET 2000' charsize='1' chgrp='' chmod='' @@ -195,7 +195,7 @@ d_gnulibc='undef' d_grpasswd='define' d_hasmntopt='undef' d_htonl='define' -d_iconv='undef' +d_iconv='define' d_index='undef' d_inetaton='define' d_int64_t='undef' @@ -210,6 +210,7 @@ d_longdbl='define' d_longlong='define' d_lseekproto='define' d_lstat='define' +d_madvise='define' d_mblen='define' d_mbstowcs='define' d_mbtowc='define' @@ -261,6 +262,7 @@ d_pwexpire='undef' d_pwgecos='define' d_pwpasswd='define' d_pwquota='define' +d_qgcvt='undef' d_quad='define' d_readdir='define' d_readlink='define' @@ -436,6 +438,7 @@ i_float='define' i_gdbm='undef' i_grp='define' i_iconv='define' +i_ieeefp='undef' i_inttypes='undef' i_limits='define' i_locale='define' @@ -461,6 +464,7 @@ i_stdarg='define' i_stddef='define' i_stdlib='define' i_string='define' +i_sunmath='undef' i_sysaccess='define' i_sysdir='define' i_sysfile='define' @@ -504,17 +508,17 @@ inc_version_list=' ' inc_version_list_init='0' incpath='' inews='' -installarchlib='/opt/perl/lib/5.5.660/alpha-dec_osf-thread-multi' +installarchlib='/opt/perl/lib/5.5.670/alpha-dec_osf-thread-multi' installbin='/opt/perl/bin' installman1dir='/opt/perl/man/man1' installman3dir='/opt/perl/man/man3' installprefix='/opt/perl' installprefixexp='/opt/perl' -installprivlib='/opt/perl/lib/5.5.660' +installprivlib='/opt/perl/lib/5.5.670' installscript='/opt/perl/bin' -installsitearch='/opt/perl/lib/site_perl/5.5.660/alpha-dec_osf-thread-multi' +installsitearch='/opt/perl/lib/site_perl/5.5.670/alpha-dec_osf-thread-multi' installsitebin='/opt/perl/bin' -installsitelib='/opt/perl/lib/site_perl/5.5.660' +installsitelib='/opt/perl/lib/site_perl/5.5.670' installstyle='lib' installusrbinperl='define' installvendorbin='' @@ -535,12 +539,12 @@ lib_ext='.a' libc='/usr/shlib/libc.so' libperl='libperl.so' libpth='/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib' -libs='-lgdbm -ldbm -ldb -lm -lpthread -lexc' +libs='-lgdbm -ldbm -ldb -lm -liconv -lpthread -lexc' libsdirs=' /usr/shlib /usr/ccs/lib' -libsfiles=' libgdbm.so libdbm.a libdb.so libm.so libpthread.so libexc.so' -libsfound=' /usr/shlib/libgdbm.so /usr/ccs/lib/libdbm.a /usr/shlib/libdb.so /usr/shlib/libm.so /usr/shlib/libpthread.so /usr/shlib/libexc.so' +libsfiles=' libgdbm.so libdbm.a libdb.so libm.so libiconv.so libpthread.so libexc.so' +libsfound=' /usr/shlib/libgdbm.so /usr/ccs/lib/libdbm.a /usr/shlib/libdb.so /usr/shlib/libm.so /usr/shlib/libiconv.so /usr/shlib/libpthread.so /usr/shlib/libexc.so' libspath=' /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib' -libswanted='sfio socket inet nsl nm gdbm dbm db malloc dld ld sun m cposix posix ndir dir crypt sec ucb BSD x pthread exc' +libswanted='sfio socket bind inet nsl nm gdbm dbm db malloc dld ld sun m cposix posix ndir dir crypt sec ucb BSD x iconv pthread exc' line='' lint='' lkflags='' @@ -619,8 +623,8 @@ pmake='' pr='' prefix='/opt/perl' prefixexp='/opt/perl' -privlib='/opt/perl/lib/5.5.660' -privlibexp='/opt/perl/lib/5.5.660' +privlib='/opt/perl/lib/5.5.670' +privlibexp='/opt/perl/lib/5.5.670' prototype='define' ptrsize='8' quadkind='2' @@ -667,12 +671,12 @@ sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE" 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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 6 6 16 20 23 23 23 29 48 ' sig_num_init='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, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 6, 6, 16, 20, 23, 23, 23, 29, 48, 0' signal_t='void' -sitearch='/opt/perl/lib/site_perl/5.5.660/alpha-dec_osf-thread-multi' -sitearchexp='/opt/perl/lib/site_perl/5.5.660/alpha-dec_osf-thread-multi' +sitearch='/opt/perl/lib/site_perl/5.5.670/alpha-dec_osf-thread-multi' +sitearchexp='/opt/perl/lib/site_perl/5.5.670/alpha-dec_osf-thread-multi' sitebin='/opt/perl/bin' sitebinexp='/opt/perl/bin' -sitelib='/opt/perl/lib/site_perl/5.5.660' -sitelibexp='/opt/perl/lib/site_perl/5.5.660' +sitelib='/opt/perl/lib/site_perl/5.5.670' +sitelibexp='/opt/perl/lib/site_perl/5.5.670' siteprefix='/opt/perl' siteprefixexp='/opt/perl' sizetype='size_t' @@ -701,7 +705,7 @@ stdio_ptr='((fp)->_ptr)' stdio_stream_array='_iob' strings='/usr/include/string.h' submit='' -subversion='660' +subversion='670' sysman='/usr/man/man1' tail='' tar='' @@ -762,11 +766,11 @@ vendorlib='' vendorlibexp='' vendorprefix='' vendorprefixexp='' -version='5.5.660' +version='5.5.670' vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' -xs_apiversion='5.5.660' +xs_apiversion='5.5.670' zcat='' zip='zip' # Configure command line arguments. @@ -786,7 +790,7 @@ config_arg10='-Dmyhostname=yourhost' config_arg11='-dE' PERL_REVISION=5 PERL_VERSION=5 -PERL_SUBVERSION=660 +PERL_SUBVERSION=670 PERL_API_REVISION=5 PERL_API_VERSION=5 PERL_API_SUBVERSION=0 diff --git a/Porting/config_H b/Porting/config_H index e34e1f3..c627afa 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Sat Feb 26 03:04:10 EET 2000 + * Configuration time: Fri Mar 3 17:00:59 EET 2000 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ @@ -1098,8 +1098,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.5.660/alpha-dec_osf-thread-multi" /**/ -#define ARCHLIB_EXP "/opt/perl/lib/5.5.660/alpha-dec_osf-thread-multi" /**/ +#define ARCHLIB "/opt/perl/lib/5.5.670/alpha-dec_osf-thread-multi" /**/ +#define ARCHLIB_EXP "/opt/perl/lib/5.5.670/alpha-dec_osf-thread-multi" /**/ /* ARCHNAME: * This symbol holds a string representing the architecture name. @@ -1605,7 +1605,7 @@ * This symbol, if defined, indicates that the iconv routine is * available to do character set conversions. */ -/*#define HAS_ICONV / **/ +#define HAS_ICONV /**/ /* HAS_INT64_T: * This symbol will defined if the C compiler supports int64_t. @@ -1662,6 +1662,12 @@ #define LONGLONGSIZE 8 /**/ #endif +/* HAS_MADVISE: + * This symbol, if defined, indicates that the madvise system call is + * available to map a file into memory. + */ +#define HAS_MADVISE /**/ + /* HAS_MEMCHR: * This symbol, if defined, indicates that the memchr routine is available * to locate characters within a C string. @@ -2350,6 +2356,12 @@ */ /*#define I_SOCKS / **/ +/* I_SUNMATH: + * This symbol, if defined, indicates that exists and + * should be included. + */ +/*#define I_SUNMATH / **/ + /* I_SYSLOG: * This symbol, if defined, indicates that exists and * should be included. @@ -2663,8 +2675,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.5.660" /**/ -#define PRIVLIB_EXP "/opt/perl/lib/5.5.660" /**/ +#define PRIVLIB "/opt/perl/lib/5.5.670" /**/ +#define PRIVLIB_EXP "/opt/perl/lib/5.5.670" /**/ /* PTRSIZE: * This symbol contains the size of a pointer, so that the C preprocessor @@ -2762,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 "/opt/perl/lib/site_perl/5.5.660/alpha-dec_osf-thread-multi" /**/ -#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.5.660/alpha-dec_osf-thread-multi" /**/ +#define SITEARCH "/opt/perl/lib/site_perl/5.5.670/alpha-dec_osf-thread-multi" /**/ +#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.5.670/alpha-dec_osf-thread-multi" /**/ /* SITELIB: * This symbol contains the name of the private library for this package. @@ -2780,8 +2792,8 @@ * This symbol contains the ~name expanded version of SITELIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITELIB "/opt/perl/lib/site_perl/5.5.660" /**/ -#define SITELIB_EXP "/opt/perl/lib/site_perl/5.5.660" /**/ +#define SITELIB "/opt/perl/lib/site_perl/5.5.670" /**/ +#define SITELIB_EXP "/opt/perl/lib/site_perl/5.5.670" /**/ /* Size_t: * This symbol holds the type used to declare length parameters @@ -2964,7 +2976,7 @@ /* 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 /opt/perl/lib/site_perl/5.5.660/alpha-dec_osf-thread-multi for older + * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.5.670/alpha-dec_osf-thread-multi 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. @@ -2983,7 +2995,7 @@ * 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 /opt/perl/lib/site_perl/5.5.660 for older directories across major versions + * search in /opt/perl/lib/site_perl/5.5.670 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 @@ -2993,7 +3005,7 @@ * (presumably) be similar. * See the INSTALL file for how this works. */ -#define PERL_XS_APIVERSION "5.5.660" +#define PERL_XS_APIVERSION "5.5.670" #define PERL_PM_APIVERSION "5.005" /* HAS_GETFSSTAT: @@ -3002,6 +3014,12 @@ */ #define HAS_GETFSSTAT /**/ +/* I_IEEEFP: + * This symbol, if defined, indicates that exists and + * should be included. + */ +/*#define I_IEEEFP / **/ + /* HAS_LSEEK_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the lseek() function. Otherwise, it is up diff --git a/config_h.SH b/config_h.SH index 9d3ec3d..d452aa9 100644 --- a/config_h.SH +++ b/config_h.SH @@ -3028,6 +3028,12 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_getfsstat HAS_GETFSSTAT /**/ +/* I_IEEEFP: + * This symbol, if defined, indicates that exists and + * should be included. + */ +#$i_ieeefp I_IEEEFP /**/ + /* HAS_LSEEK_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the lseek() function. Otherwise, it is up diff --git a/epoc/config.sh b/epoc/config.sh index 7e913d6..7131683 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -191,6 +191,7 @@ d_gnulibc='undef' d_grpasswd='undef' d_hasmntopt='undef' d_htonl='define' +d_iconv='undef' d_index='undef' d_inetaton='define' d_int64t='undef' @@ -415,6 +416,8 @@ i_fcntl='define' i_float='undef' i_gdbm='undef' i_grp='undef' +i_iconv='undef' +i_ieeefp='undef' i_inttypes='undef' i_limits='define' i_locale='undef' @@ -778,7 +781,5 @@ d_strtouq='undef' d_nv_preserves_uv='define' use5005threads='undef' useithreads='undef' -d_iconv='undef' -i_iconv='undef' inc_version_list=' ' inc_version_list_init='0' diff --git a/perl.h b/perl.h index fb48cdb..aeaaa45 100644 --- a/perl.h +++ b/perl.h @@ -1135,6 +1135,9 @@ typedef UVTYPE UV; typedef NVTYPE NV; +#ifdef I_IEEEFP +# include +#endif #ifdef USE_LONG_DOUBLE # ifdef I_SUNMATH diff --git a/vms/subconfigure.com b/vms/subconfigure.com index 30da056..a9c3e66 100644 --- a/vms/subconfigure.com +++ b/vms/subconfigure.com @@ -75,6 +75,7 @@ $ perl_d_sqrtl = "define" $ perl_d_statfs_f_flags = "undef" $ perl_d_statfs_s = "undef" $ perl_d_ustat = "undef" +$ perl_i_ieeefp = "undef" $ perl_i_sunmath = "undef" $ perl_i_sysstatfs = "undef" $ perl_i_sysvfs = "undef" @@ -4003,6 +4004,7 @@ $ WC "d_gethname='" + perl_d_gethname + "'" $ WC "d_phostname='" + perl_d_phostname + "'" $ WC "d_accessx='" + perl_d_accessx + "'" $ WC "d_eaccess='" + perl_d_eaccess + "'" +$ WC "i_ieeefp='" + perl_i_ieeefp + "'" $ WC "i_sunmath='" + perl_i_sunmath + "'" $ WC "i_sysaccess='" + perl_i_sysaccess + "'" $ WC "i_syssecrt='" + perl_i_syssecrt + "'" diff --git a/vos/config.def b/vos/config.def index c943b73..7ef644d 100644 --- a/vos/config.def +++ b/vos/config.def @@ -300,6 +300,7 @@ $i_fcntl='define' $i_float='define' $i_grp='undef' $i_iconv='undef' +$i_ieeefp='undef' $i_inttypes='undef' $i_limits='define' $i_locale='define' diff --git a/vos/config.h b/vos/config.h index 2f4e15a..d163593 100644 --- a/vos/config.h +++ b/vos/config.h @@ -1658,6 +1658,12 @@ #define LONGLONGSIZE _error_ /**/ #endif +/* HAS_MADVISE: + * This symbol, if defined, indicates that the madvise system call is + * available to map a file into memory. + */ +/*#define HAS_MADVISE /**/ + /* HAS_MEMCHR: * This symbol, if defined, indicates that the memchr routine is available * to locate characters within a C string. @@ -2346,6 +2352,12 @@ */ /*#define I_SOCKS /**/ +/* I_SUNMATH: + * This symbol, if defined, indicates that exists and + * should be included. + */ +/*#define I_SUNMATH /**/ + /* I_SYSLOG: * This symbol, if defined, indicates that exists and * should be included. @@ -2998,6 +3010,12 @@ */ /*#define HAS_GETFSSTAT /**/ +/* I_IEEEFP: + * This symbol, if defined, indicates that exists and + * should be included. + */ +/*#define I_IEEEFP /**/ + /* HAS_LSEEK_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the lseek() function. Otherwise, it is up diff --git a/vos/config_h.SH_orig b/vos/config_h.SH_orig index ad136f2..d452aa9 100755 --- a/vos/config_h.SH_orig +++ b/vos/config_h.SH_orig @@ -1676,6 +1676,12 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- #define LONGLONGSIZE $longlongsize /**/ #endif +/* HAS_MADVISE: + * This symbol, if defined, indicates that the madvise system call is + * available to map a file into memory. + */ +#$d_madvise HAS_MADVISE /**/ + /* HAS_MEMCHR: * This symbol, if defined, indicates that the memchr routine is available * to locate characters within a C string. @@ -2364,6 +2370,12 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$i_socks I_SOCKS /**/ +/* I_SUNMATH: + * This symbol, if defined, indicates that exists and + * should be included. + */ +#$i_sunmath I_SUNMATH /**/ + /* I_SYSLOG: * This symbol, if defined, indicates that exists and * should be included. @@ -3016,6 +3028,12 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_getfsstat HAS_GETFSSTAT /**/ +/* I_IEEEFP: + * This symbol, if defined, indicates that exists and + * should be included. + */ +#$i_ieeefp I_IEEEFP /**/ + /* HAS_LSEEK_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the lseek() function. Otherwise, it is up diff --git a/win32/config.bc b/win32/config.bc index 737e0e2..59d96f6 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -427,6 +427,7 @@ i_float='define' i_gdbm='undef' i_grp='undef' i_iconv='undef' +i_ieeefp='undef' i_inttypes='undef' i_limits='define' i_locale='define' diff --git a/win32/config.gc b/win32/config.gc index 9aab8e0..d932482 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -427,6 +427,7 @@ i_float='define' i_gdbm='undef' i_grp='undef' i_iconv='undef' +i_ieeefp='undef' i_inttypes='undef' i_limits='define' i_locale='define' diff --git a/win32/config.vc b/win32/config.vc index 5203ed3..4865d5b 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -427,6 +427,7 @@ i_float='define' i_gdbm='undef' i_grp='undef' i_iconv='undef' +i_ieeefp='undef' i_inttypes='undef' i_limits='define' i_locale='define'