From: Andy Dougherty Date: Mon, 8 Jun 1998 14:45:36 +0000 (-0400) Subject: Config_66-01 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aebf16e7cdbc86ec766bcfc2294cc17a0e67dc15;p=p5sagit%2Fp5-mst-13.2.git Config_66-01 Message-Id: p4raw-id: //depot/perl@1087 --- diff --git a/Configure b/Configure index 38072f0..1acacce 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 May 28 12:01:39 EDT 1998 [metaconfig 3.0 PL70] +# Generated on Mon Jun 8 12:04:14 EDT 1998 [metaconfig 3.0 PL70] cat >/tmp/c1$$ < cmdline.opt <>cmdline.opt <options.awk <<'EOF' BEGIN { @@ -4024,15 +4040,19 @@ $cc $optimize $ccflags $ldflags -o ${mc_file} $* ${mc_file}.c $libs;' echo " " echo "Checking for GNU C Library..." >&4 cat >gnulibc.c < int main() { - return __libc_main(); +#ifdef __GLIBC__ + exit(0); +#else + exit(1); +#endif } EOM set gnulibc -if eval $compile && \ - ./gnulibc | $contains '^GNU C Library'; then +if eval $compile_ok && ./gnulibc; then val="$define" echo "You are using the GNU C Library" else @@ -7364,10 +7384,6 @@ eval $inlibc set mkfifo d_mkfifo eval $inlibc -: see if mkstemp exists -set mkstemp d_mkstemp -eval $inlibc - : see if mktime exists set mktime d_mktime eval $inlibc @@ -11254,7 +11270,6 @@ d_memmove='$d_memmove' d_memset='$d_memset' d_mkdir='$d_mkdir' d_mkfifo='$d_mkfifo' -d_mkstemp='$d_mkstemp' d_mktime='$d_mktime' d_msg='$d_msg' d_msgctl='$d_msgctl' @@ -11643,6 +11658,9 @@ zcat='$zcat' zip='$zip' EOT +: Add in command line options if available +$test -f UU/cmdline.opt && $cat UU/cmdline.opt >> config.sh + : add special variables $test -f $src/patchlevel.h && \ awk '/^#define/ {printf "%s=%s\n",$2,$3}' $src/patchlevel.h >>config.sh diff --git a/MANIFEST b/MANIFEST index 72d82be..2516bc1 100644 --- a/MANIFEST +++ b/MANIFEST @@ -12,6 +12,7 @@ INSTALL Detailed installation instructions INTERN.h Included before domestic .h files MANIFEST This list of files Makefile.SH A script that generates Makefile +ObjXSub.h Scoping macros for Perl Object in extensions Policy_sh.SH Hold site-wide preferences between Configure runs. Porting/Contract Social contract for contributed modules in Perl core Porting/Glossary Glossary of config.sh variables @@ -572,7 +573,6 @@ mv-if-diff Script to mv a file if it changed myconfig Prints summary of the current configuration nostdio.h Cause compile error on stdio calls objpp.h Scoping macros for Perl Object -ObjXSub.h Scoping macros for Perl Object in extensions op.c Opcode syntax tree code op.h Opcode syntax tree header opcode.h Automatically generated opcode header @@ -970,6 +970,7 @@ vms/vms.c VMS-specific C code for Perl core vms/vms_yfix.pl convert Unix perly.[ch] to VMS perly_[ch].vms vms/vmsish.h VMS-specific C header for Perl core vms/writemain.pl Generate perlmain.c from miniperlmain.c+extensions +win32/GenCAPI.pl Win32 port for C API with PERL_OBJECT win32/Makefile Win32 makefile for NMAKE (Visual C++ build) win32/TEST Win32 port win32/autosplit.pl Win32 port @@ -990,7 +991,6 @@ win32/config_h.PL Perl code to convert Win32 config.sh to config.h win32/config_sh.PL Perl code to update Win32 config.sh from Makefile win32/dl_win32.xs Win32 port win32/genxsdef.pl Win32 port -win32/GenCAPI.pl Win32 port for C API with PERL_OBJECT win32/include/arpa/inet.h Win32 port win32/include/dirent.h Win32 port win32/include/netdb.h Win32 port diff --git a/Porting/Glossary b/Porting/Glossary index 8e7514e..fb7154d 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -613,11 +613,6 @@ d_mkfifo (d_mkfifo.U): This variable conditionally defines the HAS_MKFIFO symbol, which indicates to the C program that the mkfifo() routine is available. -d_mkstemp (d_mkstemp.U): - This variable conditionally defines the HAS_MKSTEMP symbol, which - indicates to the C program that the mkstemp() routine is available - to create and open a unique tempporary file. - d_mktime (d_mktime.U): This variable conditionally defines the HAS_MKTIME symbol, which indicates to the C program that the mktime() routine is available. diff --git a/Porting/config.sh b/Porting/config.sh index 5a417ae..0ba33d0 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Thu May 28 12:44:36 EDT 1998 +# Configuration time: Mon Jun 8 12:25:25 EDT 1998 # Configured by : doughera # Target system : linux fractal 2.0.33 #1 tue feb 3 10:11:46 est 1998 i686 unknown @@ -31,8 +31,8 @@ alignbytes='4' ansi2knr='' aphostname='' ar='ar' -archlib='/opt/perl/lib/i686-linux-thread/5.00465' -archlibexp='/opt/perl/lib/i686-linux-thread/5.00465' +archlib='/opt/perl/lib/i686-linux-thread/5.00466' +archlibexp='/opt/perl/lib/i686-linux-thread/5.00466' archname='i686-linux-thread' archobjs='' awk='awk' @@ -52,7 +52,7 @@ ccdlflags='-rdynamic' ccflags='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include' cf_by='doughera' cf_email='yourname@yourhost.yourplace.com' -cf_time='Thu May 28 12:44:36 EDT 1998' +cf_time='Mon Jun 8 12:25:25 EDT 1998' chgrp='' chmod='' chown='' @@ -167,7 +167,6 @@ d_memmove='define' d_memset='define' d_mkdir='define' d_mkfifo='define' -d_mkstemp='define' d_mktime='define' d_msg='define' d_msgctl='define' @@ -376,7 +375,7 @@ i_varhdr='stdarg.h' i_vfork='undef' incpath='' inews='' -installarchlib='/opt/perl/lib/i686-linux-thread/5.00465' +installarchlib='/opt/perl/lib/i686-linux-thread/5.00466' installbin='/opt/perl/bin' installman1dir='/opt/perl/man/man1' installman3dir='/opt/perl/man/man3' @@ -522,7 +521,7 @@ stdio_filbuf='' stdio_ptr='((fp)->_IO_read_ptr)' strings='/usr/include/string.h' submit='' -subversion='65' +subversion='66' sysman='/usr/man/man1' tail='' tar='' @@ -554,6 +553,19 @@ voidflags='15' xlibpth='/usr/lib/386 /lib/386' zcat='' zip='zip' +# Configure command line arguments. +config_arg0='Configure' +config_args='-Dprefix=/opt/perl -Doptimize=-O -Dusethreads -Dcf_by=yourname -Dcf_email=yourname@yourhost.yourplace.com -Dperladmin=yourname@yourhost.yourplace.com -Dmydomain=.yourplace.com -Dmyhostname=yourhost -dE' +config_argc=9 +config_arg1='-Dprefix=/opt/perl' +config_arg2='-Doptimize=-O' +config_arg3='-Dusethreads' +config_arg4='-Dcf_by=yourname' +config_arg5='-Dcf_email=yourname@yourhost.yourplace.com' +config_arg6='-Dperladmin=yourname@yourhost.yourplace.com' +config_arg7='-Dmydomain=.yourplace.com' +config_arg8='-Dmyhostname=yourhost' +config_arg9='-dE' PATCHLEVEL=4 -SUBVERSION=65 +SUBVERSION=66 CONFIG=true diff --git a/Porting/config_H b/Porting/config_H index 0b1de08..b83e517 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Thu May 28 12:44:36 EDT 1998 + * Configuration time: Mon Jun 8 12:25:25 EDT 1998 * Configured by : doughera * Target system : linux fractal 2.0.33 #1 tue feb 3 10:11:46 est 1998 i686 unknown */ @@ -1467,8 +1467,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/i686-linux-thread/5.00465" /**/ -#define ARCHLIB_EXP "/opt/perl/lib/i686-linux-thread/5.00465" /**/ +#define ARCHLIB "/opt/perl/lib/i686-linux-thread/5.00466" /**/ +#define ARCHLIB_EXP "/opt/perl/lib/i686-linux-thread/5.00466" /**/ /* CAT2: * This macro catenates 2 tokens together. @@ -1620,12 +1620,6 @@ #define LONGLONGSIZE 8 /**/ #endif -/* HAS_MKSTEMP: - * This symbol, if defined, indicates that the mkstemp routine is - * available to create and open a unique temporary file. - */ -#define HAS_MKSTEMP /**/ - /* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple diff --git a/config_h.SH b/config_h.SH index 6b01b97..aedfa6d 100644 --- a/config_h.SH +++ b/config_h.SH @@ -1634,12 +1634,6 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- #define LONGLONGSIZE $longlongsize /**/ #endif -/* HAS_MKSTEMP: - * This symbol, if defined, indicates that the mkstemp routine is - * available to create and open a unique temporary file. - */ -#$d_mkstemp HAS_MKSTEMP /**/ - /* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple