summaryrefslogtreecommitdiff
path: root/U
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1995-02-21 01:14:24 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1995-02-21 01:14:24 +0000
commit40000a8c37c35cc00114329ca0add46bca36a0ec (patch)
tree900a06b8157172e6f7a69446e5e2d10eb27fada7 /U
parentfed7345c45910a20f6865d6a2f8978d09b352f41 (diff)
downloadperl-40000a8c37c35cc00114329ca0add46bca36a0ec.tar.gz
perl5.000 patch.0l: MakeMaker 4.085 and upgrade Configure to dist3 PL 51.
Here's what's new: Configure Generated by metaconfig PL 51. Correctly set ./mips on a MIPS system. Improved (we hope) handling of $archname. MANIFEST MANIFEST.new Made .SH files out of h2xs and makeaperl so that they get the correct path-to-perl at the top. Makefile.SH Propagate $(perllib) to extensions. U/dist3_051.patches Two patches to apply on top of metaconfig PL 51. I've sent them off for inclusion in the next metaconfig update. config_h.SH config.H Regenerated. Only the order of elements has changed. ext/DB_File/Makefile.PL ext/GDBM_File/Makefile.PL ext/NDBM_File/Makefile.PL Add -L/usr/local/lib to LIBS variable. ext/POSIX/POSIX.xs Place #ifdef around FD_CLOEXEC (needed for Apollo). ext/SDBM_File/sdbm/Makefile.PL Simplified, thanks to MakeMaker enhancements. ext/util/make_ext Pass through $(perllib) argument for cflags. h2xs.SH Changed from h2xs to h2xs.SH. Now finds correct path to perl. hints/next_3_2.sh Updated for hppa. hints/solaris_2.sh Remove potentially problematic -lmalloc from $libswanted. hints/unicos.sh Look in /usr/include/rpcsvc for dbm.h. installperl Install h2xs. lib/Cwd.pm Use 'my' variable to avoid clobbering $_. lib/ExtUtils/MakeMaker.pm Upgraded from 4.06 to 4.085. Lots of documentation improvements. EXE_FILES to refer to an array of executable files to install. Reduce chatter during build process. Don't count a useful -L/path option as a successful search for a particular library. Cleanup handling of aix external symbols. Create/update perllocal.pod to indicate what we've done. makeaperl.SH Changed from makeaperl to makeaperl.SH. Now finds correct path to perl. x2p/util.c Delete unused setenv() and envix() functions. x2p/util.h Delete unused setenv() and envix() prototypes. vms/config.vms Define I_SYS_STAT and I_SYS_TYPES.
Diffstat (limited to 'U')
-rw-r--r--U/Oldconfig.pat.230
-rw-r--r--U/archlib.U140
-rw-r--r--U/dist.patch73
-rw-r--r--U/dist3_051.patches75
4 files changed, 75 insertions, 243 deletions
diff --git a/U/Oldconfig.pat.2 b/U/Oldconfig.pat.2
deleted file mode 100644
index 015c9510f2..0000000000
--- a/U/Oldconfig.pat.2
+++ /dev/null
@@ -1,30 +0,0 @@
-Index: Oldconfig.U
-Prereq: 3.0.1.6
-*** /home2/doughera/lib/dist/U/Oldconfig.U Thu Feb 2 14:42:37 1995
---- Oldconfig.U Sat Feb 11 10:51:05 1995
-***************
-*** 261,272 ****
- osvers="$3"
- ;;
- osf1) case "$5" in
-! alpha) osname=dec_osf
-! case "$3" in
-! [vt]1\.*) osvers=1 ;;
-! [vt]2\.*) osvers=2 ;;
-! [vt]3\.*) osvers=3 ;;
-! esac
- ;;
- hp*) osname=hp_osf1 ;;
- mips) osname=mips_osf1 ;;
---- 261,271 ----
- osvers="$3"
- ;;
- osf1) case "$5" in
-! alpha)
-! ?X: DEC OSF/1 myuname -a output looks like: osf1 xxxx t3.2 123.4 alpha
-! ?X: where the version number can be either vn.n or tn.n.
-! osname=dec_osf
-! osvers=`echo "$3" | sed 's/^[vt]//'`
- ;;
- hp*) osname=hp_osf1 ;;
- mips) osname=mips_osf1 ;;
diff --git a/U/archlib.U b/U/archlib.U
deleted file mode 100644
index 6f8a3fb5ca..0000000000
--- a/U/archlib.U
+++ /dev/null
@@ -1,140 +0,0 @@
-?RCS: $Id: archlib.U,v 3.0.1.2 1995/01/30 14:32:22 ram Exp $
-?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
-?RCS: You may redistribute only under the terms of the Artistic Licence,
-?RCS: as specified in the README file that comes with the distribution.
-?RCS: You may reuse parts of this distribution only within the terms of
-?RCS: that same Artistic Licence; a copy of which may be found at the root
-?RCS: of the source tree for dist 3.0.
-?RCS:
-?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
-?RCS:
-?RCS: $Log: archlib.U,v $
-?RCS: Revision 3.0.1.2 1995/01/30 14:32:22 ram
-?RCS: patch49: archname is now systematically recomputed
-?RCS: patch49: can now handle installation prefix changes (from WED)
-?RCS:
-?RCS: Revision 3.0.1.1 1994/10/29 16:02:36 ram
-?RCS: patch36: created by ADO
-?RCS:
-?MAKE:d_archlib archlib archlibexp installarchlib archname: afs spackage \
- cat Getfile Loc Oldconfig prefixexp privlib osname test Prefixit rm \
- Prefixup
-?MAKE: -pick add $@ %<
-?S:d_archlib:
-?S: This variable conditionally defines ARCHLIB to hold the pathname
-?S: of architecture-dependent library files for $package. If
-?S: $archlib is the same as $privlib, then this is set to undef.
-?S:.
-?S:archname:
-?S: This variable is a short name to characterize the current
-?S: architecture. It is used to construct the default archlib.
-?S:.
-?S:archlib:
-?S: This variable holds the name of the directory in which the user wants
-?S: to put architecture-dependent public library files for $package.
-?S: It is most often a local directory such as /usr/local/lib.
-?S: Programs using this variable must be prepared to deal
-?S: with filename expansion.
-?S:.
-?S:archlibexp:
-?S: This variable is the same as the archlib variable, but is
-?S: filename expanded at configuration time, for convenient use.
-?S:.
-?S:installarchlib:
-?S: This variable is really the same as archlibexp but may differ on
-?S: those systems using AFS. For extra portability, only this variable
-?S: should be used in makefiles.
-?S:.
-?C:ARCHLIB:
-?C: This variable, if defined, holds the name of the directory in
-?C: which the user wants to put architecture-dependent public
-?C: library files for $package. It is most often a local directory
-?C: such as /usr/local/lib. Programs using this variable must be
-?C: prepared to deal with filename expansion. If ARCHLIB is the
-?C: same as PRIVLIB, it is not defined, since presumably the
-?C: program already searches PRIVLIB.
-?C:.
-?C:ARCHLIB_EXP:
-?C: This symbol contains the ~name expanded version of ARCHLIB, to be used
-?C: in programs that are not prepared to deal with ~ expansion at run-time.
-?C:.
-?H:#$d_archlib ARCHLIB "$archlib" /**/
-?H:#$d_archlib ARCHLIB_EXP "$archlibexp" /**/
-?H:.
-?T:xxx tarchname
-: determine where public architecture dependent libraries go
-?X: Always recompute archname in case osname changes -- RAM
-?X: But this prevents us from setting a sensible value in a hints file
-?X: or on the command line. -- ADO.
-case "$archname" in
-'')
- if xxx=`./loc arch blurfl $pth`; test -f "$xxx"; then
- tarchname=`arch`
- archname="${tarchname}-$osname"
- elif xxx=`./loc uname blurfl $pth`; test -f "$xxx" ; then
- if uname -m > tmparch 2>&1 ; then
- tarchname=`cat tmparch`
- archname="${tarchname}-$osname"
- fi
- $rm -f tmparch
- else
- archname="$osname"
- fi
- ;;
-esac
-set archlib archlib
-eval $prefixit
-case "$archlib" in
-'')
- case "$privlib" in
- '')
- dflt=`./loc . "." $prefixexp/lib /usr/local/lib /usr/lib /lib`
- set dflt
- eval $prefixup
- ;;
- *) dflt="$privlib/$archname";;
- esac
- ;;
-*) dflt="$archlib";;
-esac
-cat <<EOM
-
-$spackage contains architecture-dependent library files. If you are
-sharing libraries in a heterogeneous environment, you might store
-these files in a separate location. Otherwise, you can just include
-them with the rest of the public library files.
-
-EOM
-fn=d~
-rp='Where do you want to put the public architecture-dependent libraries?'
-. ./getfile
-archlib="$ans"
-archlibexp="$ansexp"
-
-if $afs; then
- $cat <<EOM
-
-Since you are running AFS, I need to distinguish the directory in which
-private files reside from the directory in which they are installed (and from
-which they are presumably copied to the former directory by occult means).
-
-EOM
- case "$installarchlib" in
- '') dflt=`echo $archlibexp | sed 's#^/afs/#/afs/.#'`;;
- *) dflt="$installarchlib";;
- esac
- fn=de~
- rp='Where will architecture-dependent library files be installed?'
- . ./getfile
- installarchlib="$ans"
-else
- installarchlib="$archlibexp"
-fi
-if $test X"$archlib" = X"$privlib"; then
- d_archlib="$undef"
-else
- d_archlib="$define"
-fi
-
diff --git a/U/dist.patch b/U/dist.patch
deleted file mode 100644
index 555695b746..0000000000
--- a/U/dist.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-This file contains two minor updates to dist3 PL50 that were used
-to generage Configure.
- --Andy Dougherty doughera@lafcol.lafayette.edu
-
-
-Index: Oldconfig.U
-Prereq: 3.0.1.6
-*** /home2/doughera/lib/dist/U/Oldconfig.U Tue Jan 31 10:31:26 1995
---- Oldconfig.U Thu Feb 2 14:33:32 1995
-***************
-*** 180,192 ****
-
- case "$1" in
- aix) osname=aix
- tmp=`( (oslevel) 2>/dev/null || echo "not found") 2>&1`
- case "$tmp" in
-! 'not found') osvers=3.2.0 ;;
- '<3240'|'<>3240') osvers=3.2.0 ;;
- '=3240'|'>3240'|'<3250'|'<>3250') osvers=3.2.4 ;;
- '=3250'|'>3250') osvers=3.2.5 ;;
-! *) osvers='' ;;
- esac
- ;;
- dnix) osname=dnix
---- 180,198 ----
-
- case "$1" in
- aix) osname=aix
-+ ?X: aix 4.1 uname -a output looks like
-+ ?X: AIX foo 1 4 000123456789
-+ ?X: where $4 is the major release number and $3 is the (minor) version.
-+ ?X: More detail on the version is available with the oslevel command.
-+ ?X: in 3.2.x, it output a string (see case statements below). In 4.1,
-+ ?X: it puts out something like 4.1.1.0
- tmp=`( (oslevel) 2>/dev/null || echo "not found") 2>&1`
- case "$tmp" in
-! 'not found') osvers="$4"."$3" ;;
- '<3240'|'<>3240') osvers=3.2.0 ;;
- '=3240'|'>3240'|'<3250'|'<>3250') osvers=3.2.4 ;;
- '=3250'|'>3250') osvers=3.2.5 ;;
-! *) osvers=$tmp;;
- esac
- ;;
- dnix) osname=dnix
-Index: mansrc.U
-Prereq: 3.0.1.6
-*** /home2/doughera/lib/dist/U/mansrc.U Tue Jan 31 10:31:56 1995
---- mansrc.U Thu Feb 2 14:34:36 1995
-***************
-*** 1,5 ****
- ?RCS: $Id: mansrc.U,v 3.0.1.6 1995/01/30 14:39:34 ram Exp $
-- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ?RCS: You may redistribute only under the terms of the Artistic Licence,
---- 1,4 ----
-***************
-*** 74,80 ****
- '')
- lookpath="$prefixexp/man/man1 $prefixexp/man/u_man/man1"
- lookpath="$lookpath $prefixexp/man/l_man/man1"
-! lookpath="$lookpath /usr/local/man/man1 /usr/local/man/man1 /usr/man/manl"
- lookpath="$lookpath /usr/man/local/man1 /usr/man/l_man/man1"
- lookpath="$lookpath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1"
- lookpath="$lookpath /usr/man/man.L"
---- 73,79 ----
- '')
- lookpath="$prefixexp/man/man1 $prefixexp/man/u_man/man1"
- lookpath="$lookpath $prefixexp/man/l_man/man1"
-! lookpath="$lookpath /usr/local/man/man1 /opt/man/man1 /usr/man/manl"
- lookpath="$lookpath /usr/man/local/man1 /usr/man/l_man/man1"
- lookpath="$lookpath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1"
- lookpath="$lookpath /usr/man/man.L"
diff --git a/U/dist3_051.patches b/U/dist3_051.patches
new file mode 100644
index 0000000000..8df367c1e2
--- /dev/null
+++ b/U/dist3_051.patches
@@ -0,0 +1,75 @@
+
+This file contains 2 patches to dist 3 (PL 51) that I used to generate
+Configure for perl.
+
+The first patch just cleans up and extends the $osvers detection for
+DEC OSF/1 on the Alpha.
+
+The second patch ensures that the ./mips file exists. libpth.U calls
+it.
+
+ Andy Dougherty doughera@lafcol.lafayette.edu
+
+
+Index: Oldconfig.U
+Prereq: 3.0.1.7
+*** mcon/U/Oldconfig.U Thu Feb 16 09:52:38 1995
+--- /home2/doughera/lib/dist/U/Oldconfig.U Thu Feb 16 16:26:25 1995
+***************
+*** 264,275 ****
+ osvers="$3"
+ ;;
+ osf1) case "$5" in
+! alpha) osname=dec_osf
+! case "$3" in
+! [vt]1\.*) osvers=1 ;;
+! [vt]2\.*) osvers=2 ;;
+! [vt]3\.*) osvers=3 ;;
+! esac
+ ;;
+ hp*) osname=hp_osf1 ;;
+ mips) osname=mips_osf1 ;;
+--- 264,274 ----
+ osvers="$3"
+ ;;
+ osf1) case "$5" in
+! alpha)
+! ?X: DEC OSF/1 myuname -a output looks like: osf1 xxxx t3.2 123.4 alpha
+! ?X: where the version number can be either vn.n or tn.n.
+! osname=dec_osf
+! osvers=`echo "$3" | sed 's/^[vt]//'`
+ ;;
+ hp*) osname=hp_osf1 ;;
+ mips) osname=mips_osf1 ;;
+Index: usrinc.U
+Prereq: 3.0.1.1
+*** mcon/U/usrinc.U Sun May 8 22:14:36 1994
+--- /home2/doughera/lib/dist/U/usrinc.U Tue Feb 21 11:00:10 1995
+***************
+*** 60,71 ****
+ fi
+ $rm -f usr.c usr.out
+ echo "and you're compiling with the $mips_type compiler and libraries."
+ else
+ echo "Doesn't look like a MIPS system."
+ echo "exit 1" >mips
+- chmod +x mips
+- $eunicefix mips
+ fi
+ echo " "
+ case "$usrinc" in
+ '') ;;
+--- 60,72 ----
+ fi
+ $rm -f usr.c usr.out
+ echo "and you're compiling with the $mips_type compiler and libraries."
++ echo "exit 0" >mips
+ else
+ echo "Doesn't look like a MIPS system."
+ echo "exit 1" >mips
+ fi
++ chmod +x mips
++ $eunicefix mips
+ echo " "
+ case "$usrinc" in
+ '') ;;