From: Kurt D. Starsinic Date: Fri, 19 Feb 1999 19:51:49 +0000 (+0000) Subject: Configure update: fstatvfs/fstafs/getmntent/hasmntopt were X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ccc7f9b3740d5c1211fbd847d1ae120278f3f710;p=p5sagit%2Fp5-mst-13.2.git Configure update: fstatvfs/fstafs/getmntent/hasmntopt were not probed for and To: Chaim Frenkel , Russ Allbery , Jarkko Hietaniemi , Gurusamy Sarathy , Graham Barr Cc: bdensch@ameritech.net, perlbug@perl.com Subject: [PATCH] Re: Solaris 7 for Intel Message-ID: <19990219124404.A30182@O2.chapin.edu> Glossary is still missing some terms because mkglossary is misbehaving (change #2981 updated Glossary manually) p4raw-link: @2981 on //depot/maint-5.005/perl: d22539db55f37ba18fdbea18d6a2e74fbf6f6444 p4raw-id: //depot/cfgperl@2982 --- diff --git a/Configure b/Configure index 13691f8..8cac5b0 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 Feb 18 01:09:27 EET 1999 [metaconfig 3.0 PL70] +# Generated on Fri Feb 19 21:44:45 EET 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <&4 $cat > try.c <<'EOF' #include -int main() { printf("Ok\n"); exit(0); } +main() { printf("Ok\n"); exit(0); } EOF set X $cc $optimize $ccflags -o try $ldflags try.c $libs shift @@ -8150,6 +8149,10 @@ eval $hasproto set getlogin d_getlogin eval $inlibc +: see if getmntent exists +set getmntent d_getmntent +eval $inlibc + : see if getnetbyaddr exists set getnetbyaddr d_getnbyaddr eval $inlibc @@ -8267,6 +8270,10 @@ $define) ;; esac +: see if hasmntopt exists +set hasmntopt d_hasmntopt +eval $inlibc + : see if this is a netinet/in.h or sys/in.h system set netinet/in.h i_niin sys/in.h i_sysin eval $inhdr @@ -10822,6 +10829,12 @@ rp="What is the type for file position used by fsetpos()?" set fpos_t fpostype long stdio.h sys/types.h eval $typedef_ask +: Store the full pathname to the ar program for use in the C program +: Respect a hint or command line value for full_ar. +case "$full_ar" in +'') full_ar=$ar ;; +esac + : Store the full pathname to the sed program for use in the C program full_sed=$sed @@ -12660,6 +12673,7 @@ d_gethent='$d_gethent' d_gethname='$d_gethname' d_gethostprotos='$d_gethostprotos' d_getlogin='$d_getlogin' +d_getmntent='$d_getmntent' d_getnbyaddr='$d_getnbyaddr' d_getnbyname='$d_getnbyname' d_getnent='$d_getnent' @@ -12681,6 +12695,7 @@ d_getservprotos='$d_getservprotos' d_gettimeod='$d_gettimeod' d_gnulibc='$d_gnulibc' d_grpasswd='$d_grpasswd' +d_hasmntopt='$d_hasmntopt' d_htonl='$d_htonl' d_index='$d_index' d_inetaton='$d_inetaton' @@ -12883,6 +12898,7 @@ firstmakefile='$firstmakefile' flex='$flex' fpostype='$fpostype' freetype='$freetype' +full_ar='$full_ar' full_csh='$full_csh' full_sed='$full_sed' gccversion='$gccversion' diff --git a/Makefile.SH b/Makefile.SH index 617f803..2530d4f 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -166,7 +166,7 @@ shellflags = $shellflags $make_set_make # These variables may need to be manually set for non-Unix systems. -AR = $ar +AR = $full_ar EXE_EXT = $_exe LIB_EXT = $_a OBJ_EXT = $_o diff --git a/Porting/Glossary b/Porting/Glossary index cf2076f..86bf253 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -116,15 +116,15 @@ byteorder (byteorder.U): c (n.U): This variable contains the \c string if that is what causes the echo command to suppress newline. Otherwise it is null. Correct usage is - $echo $n "prompt for a question: $c". + $echo $n "prompt for a question: $c". castflags (d_castneg.U): This variable contains a flag that precise difficulties the compiler has casting odd floating values to unsigned long: - 0 = ok - 1 = couldn't cast < 0 - 2 = couldn't cast >= 0x80000000 - 4 = couldn't cast in argument expression list + 0 = ok + 1 = couldn't cast < 0 + 2 = couldn't cast >= 0x80000000 + 4 = couldn't cast in argument expression list cat (Loc.U): This variable is be used internally by Configure to determine the @@ -572,9 +572,9 @@ d_Gconvert (d_gconvert.U): floating point numbers into strings. It could be 'gconvert' or a more complex macro emulating gconvert with gcvt() or sprintf. Possible values are: - d_Gconvert='gconvert((x),(n),(t),(b))' - d_Gconvert='gcvt((x),(n),(b))' - d_Gconvert='sprintf((b),"%.*g",(n),(x))' + d_Gconvert='gconvert((x),(n),(t),(b))' + d_Gconvert='gcvt((x),(n),(b))' + d_Gconvert='sprintf((b),"%.*g",(n),(x))' d_getgrent (d_getgrent.U): This variable conditionally defines the HAS_GETGRENT symbol, which @@ -737,7 +737,7 @@ d_ino64t (io64.U): This symbol will be defined if the C compiler supports ino64_t. d_int64t (i_inttypes.U): - This symbol will be defined if the C compiler supports int64_t. + This symbol will be defined if the C compiler supports int64_t. d_iovec_s (i_sysuio.U): This variable conditionally defines the HAS_STRUCT_IOVEC symbol, @@ -1696,8 +1696,8 @@ i_grp (i_grp.U): 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 . + This variable conditionally defines the I_INTTYPES symbol, + and indicates whether a C program should include . i_limits (i_limits.U): This variable conditionally defines the I_LIMITS symbol, and indicates @@ -1709,8 +1709,8 @@ i_locale (i_locale.U): and indicates whether a C program should include . i_machcthr (i_machcthr.U): - This variable conditionally defines the I_MACH_CTHREADS symbol, - and indicates whether a C program should include . + This variable conditionally defines the I_MACH_CTHREADS symbol, + and indicates whether a C program should include . i_malloc (i_malloc.U): This variable conditionally defines the I_MALLOC symbol, and indicates @@ -1785,8 +1785,8 @@ i_string (i_string.U): indicates that should be included rather than . i_sysaccess (i_sysaccess.U): - This variable conditionally defines the I_SYS_ACCESS symbol, - and indicates whether a C program should include . + This variable conditionally defines the I_SYS_ACCESS symbol, + and indicates whether a C program should include . i_sysdir (i_sysdir.U): This variable conditionally defines the I_SYS_DIR symbol, and indicates @@ -1824,8 +1824,8 @@ i_sysresrc (i_sysresrc.U): and indicates whether a C program should include . i_syssecrt (i_syssecrt.U): - This variable conditionally defines the I_SYS_SECURITY symbol, - and indicates whether a C program should include . + This variable conditionally defines the I_SYS_SECURITY symbol, + and indicates whether a C program should include . i_sysselct (i_sysselct.U): This variable conditionally defines I_SYS_SELECT, which indicates @@ -2235,7 +2235,7 @@ myuname (Oldconfig.U): n (n.U): This variable contains the '-n' flag if that is what causes the echo command to suppress newline. Otherwise it is null. Correct usage is - $echo $n "prompt for a question: $c". + $echo $n "prompt for a question: $c". netdb_hlen_type (netdbtype.U): This variable holds the type used for the 2nd argument to @@ -2258,11 +2258,6 @@ netdb_net_type (netdbtype.U): getnetbyaddr(). Usually, this is int or long. This is only useful if you have getnetbyaddr(), naturally. -nm (Loc.U): - This variable is be used internally by Configure to determine the - full pathname (if any) of the nm program. After Configure runs, - the value is reset to a plain "nm" and is not useful. - nm_opt (usenm.U): This variable holds the options that may be necessary for nm. @@ -2524,11 +2519,11 @@ shrpenv (libperl.U): One way to do this on some systems is to set the environment variable LD_RUN_PATH to the directory that will be the final location of the shared libperl.so. The makefile can use this with something like - $shrpenv $(CC) -o perl perlmain.o $libperl $libs + $shrpenv $(CC) -o perl perlmain.o $libperl $libs Typical values are - shrpenv="env LD_RUN_PATH=$archlibexp/CORE" + shrpenv="env LD_RUN_PATH=$archlibexp/CORE" or - shrpenv='' + 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 @@ -2650,8 +2645,8 @@ startperl (startperl.U): script to make sure (hopefully) that it runs with perl and not some shell. Of course, that leading line must be followed by the classical perl idiom: - eval 'exec perl -S $0 ${1+"$@"}' - if $running_under_some_shell; + eval 'exec perl -S $0 ${1+"$@"}' + if $running_under_some_shell; to guarantee perl startup should the shell execute the script. Note that this magic incatation is not understood by csh. @@ -2725,11 +2720,6 @@ tbl (Loc.U): This variable is defined but not used by Configure. The value is a plain '' and is not useful. -tee (Loc.U): - This variable is be used internally by Configure to determine the - full pathname (if any) of the tee program. After Configure runs, - the value is reset to a plain "tee" and is not useful. - test (Loc.U): This variable is be used internally by Configure to determine the full pathname (if any) of the test program. After Configure runs, diff --git a/Porting/config.sh b/Porting/config.sh index ddae299..32d3b69 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Fri Feb 12 13:48:44 EET 1999 +# Configuration time: Fri Feb 19 21:46:12 EET 1999 # Configured by : jhi # Target system : osf1 alpha.hut.fi v4.0 878 alpha @@ -30,10 +30,10 @@ afs='false' alignbytes='8' ansi2knr='' aphostname='' -apiversion='5.00554' +apiversion='5.00555' ar='ar' -archlib='/opt/perl/lib/5.00554/alpha-dec_osf-thread' -archlibexp='/opt/perl/lib/5.00554/alpha-dec_osf-thread' +archlib='/opt/perl/lib/5.00555/alpha-dec_osf-thread' +archlibexp='/opt/perl/lib/5.00555/alpha-dec_osf-thread' archname64='' archname='alpha-dec_osf-thread' archobjs='' @@ -51,11 +51,11 @@ cat='cat' cc='cc' cccdlflags=' ' ccdlflags=' ' -ccflags='-pthread -std -D__LANGUAGE_C__' +ccflags='-pthread -std -DLANGUAGE_C' ccsymbols='__LANGUAGE_C__=1 _LONGLONG=1 LANGUAGE_C=1 SYSTYPE_BSD=1' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Fri Feb 12 13:48:44 EET 1999' +cf_time='Fri Feb 19 21:46:12 EET 1999' chgrp='' chmod='' chown='' @@ -68,7 +68,7 @@ cpio='' cpp='cpp' cpp_stuff='42' cppccsymbols='__alpha=1 __osf__=1 __unix__=1 _SYSTYPE_BSD=1 unix=1' -cppflags='-pthread -std -D__LANGUAGE_C__' +cppflags='-pthread -std -DLANGUAGE_C' cpplast='' cppminus='' cpprun='/usr/bin/cpp' @@ -160,6 +160,7 @@ d_gethent='define' d_gethname='define' d_gethostprotos='define' d_getlogin='define' +d_getmntent='undef' d_getnbyaddr='define' d_getnbyname='define' d_getnent='define' @@ -181,6 +182,7 @@ d_getservprotos='define' d_gettimeod='define' d_gnulibc='undef' d_grpasswd='define' +d_hasmntopt='undef' d_htonl='define' d_index='undef' d_inetaton='define' @@ -383,6 +385,7 @@ firstmakefile='makefile' flex='' fpostype='fpos_t' freetype='void' +full_ar='/usr/bin/ar' full_csh='/usr/bin/csh' full_sed='/usr/bin/sed' gccversion='' @@ -464,14 +467,14 @@ i_vfork='undef' ignore_versioned_solibs='' incpath='' inews='' -installarchlib='/opt/perl/lib/5.00554/alpha-dec_osf-thread' +installarchlib='/opt/perl/lib/5.00555/alpha-dec_osf-thread' installbin='/opt/perl/bin' installman1dir='/opt/perl/man/man1' installman3dir='/opt/perl/man/man3' -installprivlib='/opt/perl/lib/5.00554' +installprivlib='/opt/perl/lib/5.00555' installscript='/opt/perl/bin' -installsitearch='/opt/perl/lib/site_perl/5.00554/alpha-dec_osf-thread' -installsitelib='/opt/perl/lib/site_perl/5.00554' +installsitearch='/opt/perl/lib/site_perl/5.00555/alpha-dec_osf-thread' +installsitelib='/opt/perl/lib/site_perl/5.00555' installusrbinperl='define' intsize='4' known_extensions='B DB_File Data/Dumper Devel/Peek Fcntl GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Thread attrs re' @@ -561,8 +564,8 @@ pmake='' pr='' prefix='/opt/perl' prefixexp='/opt/perl' -privlib='/opt/perl/lib/5.00554' -privlibexp='/opt/perl/lib/5.00554' +privlib='/opt/perl/lib/5.00555' +privlibexp='/opt/perl/lib/5.00555' prototype='define' ptrsize='8' randbits='48' @@ -593,10 +596,10 @@ 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.00554/alpha-dec_osf-thread' -sitearchexp='/opt/perl/lib/site_perl/5.00554/alpha-dec_osf-thread' -sitelib='/opt/perl/lib/site_perl/5.00554' -sitelibexp='/opt/perl/lib/site_perl/5.00554' +sitearch='/opt/perl/lib/site_perl/5.00555/alpha-dec_osf-thread' +sitearchexp='/opt/perl/lib/site_perl/5.00555/alpha-dec_osf-thread' +sitelib='/opt/perl/lib/site_perl/5.00555' +sitelibexp='/opt/perl/lib/site_perl/5.00555' sizetype='size_t' sleep='' smail='' @@ -621,7 +624,7 @@ stdio_filbuf='' stdio_ptr='((fp)->_ptr)' strings='/usr/include/string.h' submit='' -subversion='54' +subversion='55' sysman='/usr/man/man1' tail='' tar='' @@ -651,7 +654,7 @@ usethreads='define' usevfork='false' usrinc='/usr/include' uuname='' -version='5.00554' +version='5.00555' vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' @@ -671,8 +674,9 @@ config_arg7='-Dperladmin=yourname@yourhost.yourplace.com' config_arg8='-Dmydomain=.yourplace.com' config_arg9='-Dmyhostname=yourhost' config_arg10='-dE' -PATCHLEVEL=5 -SUBVERSION=54 +PERL_REVISION=5 +PERL_VERSION=5 +PERL_SUBVERSION=55 CONFIG=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 70bf0f9..a12088c 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Fri Feb 12 13:48:44 EET 1999 + * Configuration time: Fri Feb 19 21:46:12 EET 1999 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ @@ -2025,8 +2025,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.00554/alpha-dec_osf-thread" /**/ -#define ARCHLIB_EXP "/opt/perl/lib/5.00554/alpha-dec_osf-thread" /**/ +#define ARCHLIB "/opt/perl/lib/5.00555/alpha-dec_osf-thread" /**/ +#define ARCHLIB_EXP "/opt/perl/lib/5.00555/alpha-dec_osf-thread" /**/ /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an @@ -2048,6 +2048,18 @@ */ /*#define HAS_FTELLO / **/ +/* HAS_GETMNTENT: + * This symbol, if defined, indicates that the getmntent routine is + * available to iterate through mounted file systems. + */ +/*#define HAS_GETMNTENT / **/ + +/* HAS_HASMNTOPT: + * This symbol, if defined, indicates that the hasmntopt routine is + * available to query the mount options of file systems. + */ +/*#define HAS_HASMNTOPT / **/ + /* HAS_MADVISE: * This symbol, if defined, indicates that the madvise system call is * available to map a file into memory. @@ -2284,8 +2296,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.00554" /**/ -#define PRIVLIB_EXP "/opt/perl/lib/5.00554" /**/ +#define PRIVLIB "/opt/perl/lib/5.00555" /**/ +#define PRIVLIB_EXP "/opt/perl/lib/5.00555" /**/ /* SELECT_MIN_BITS: * This symbol holds the minimum number of bits operated by select. @@ -2309,8 +2321,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.00554/alpha-dec_osf-thread" /**/ -#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00554/alpha-dec_osf-thread" /**/ +#define SITEARCH "/opt/perl/lib/site_perl/5.00555/alpha-dec_osf-thread" /**/ +#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00555/alpha-dec_osf-thread" /**/ /* SITELIB: * This symbol contains the name of the private library for this package. @@ -2325,8 +2337,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.00554" /**/ -#define SITELIB_EXP "/opt/perl/lib/site_perl/5.00554" /**/ +#define SITELIB "/opt/perl/lib/site_perl/5.00555" /**/ +#define SITELIB_EXP "/opt/perl/lib/site_perl/5.00555" /**/ /* STARTPERL: * This variable contains the string to put in front of a perl