# $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$$ <<EOF
ARGGGHHHH!!!!!
: Configure runs within the UU subdirectory
test -d UU || mkdir UU
-CDPATH=''
+CDPATH='.'
cd UU && rm -f ./*
dynamic_ext=''
d_memset=''
d_mkdir=''
d_mkfifo=''
-d_mkstemp=''
d_mktime=''
d_msg=''
d_msgctl=''
fi
rm -f try
+
+: Save command line options in file UU/cmdline.opt for later use in
+: generating config.sh.
+cat > cmdline.opt <<EOSH
+# Configure command line arguments.
+config_arg0='$0'
+config_args='$*'
+config_argc=$#
+EOSH
+argn=1
+for arg in "$@"; do
+ cat >>cmdline.opt <<EOSH
+config_arg$argn='$arg'
+EOSH
+ argn=`expr $argn + 1`
+done
+
: produce awk script to parse command line options
cat >options.awk <<'EOF'
BEGIN {
echo " "
echo "Checking for GNU C Library..." >&4
cat >gnulibc.c <<EOM
+#include <stdio.h>
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
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
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'
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
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
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
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
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
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.
# 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
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'
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=''
d_memset='define'
d_mkdir='define'
d_mkfifo='define'
-d_mkstemp='define'
d_mktime='define'
d_msg='define'
d_msgctl='define'
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'
stdio_ptr='((fp)->_IO_read_ptr)'
strings='/usr/include/string.h'
submit=''
-subversion='65'
+subversion='66'
sysman='/usr/man/man1'
tail=''
tar=''
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
/*
* 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
*/
* 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.
#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
#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