summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-22 13:54:27 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-22 13:54:27 +0000
commit6d4a0c54c276d09d6928f214f3f448fa26ea4970 (patch)
tree2e19d0596de901e7d9b181c574ea0e1774081797
parentaca069ec24d9d45b6471cdbd86821d2695758021 (diff)
parent34163b213ca9891366c868cfe99211a3447832a9 (diff)
downloadperl-6d4a0c54c276d09d6928f214f3f448fa26ea4970.tar.gz
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@5868
-rwxr-xr-xConfigure4
-rw-r--r--Porting/config.sh4
-rw-r--r--Porting/config_H4
-rw-r--r--Todo-5.61
-rw-r--r--config_h.SH2
-rw-r--r--hints/dec_osf.sh26
-rw-r--r--hints/openbsd.sh4
-rw-r--r--hints/solaris_2.sh12
-rw-r--r--hints/unicosmk.sh9
-rw-r--r--pod/perldelta.pod6
-rw-r--r--pod/perlport.pod2
-rw-r--r--win32/config_H.bc2
-rw-r--r--win32/config_H.gc2
-rw-r--r--win32/config_H.vc2
14 files changed, 63 insertions, 17 deletions
diff --git a/Configure b/Configure
index 94bcbde2ae..46429cebaa 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 Sun Mar 19 20:37:30 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Tue Mar 21 23:20:29 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
@@ -3315,7 +3315,7 @@ while test "$type"; do
dir="$ans"
direxp="$ansexp"
else
- dir="$fp/$ans"
+ dir="$fp/$ansexp"
direxp="$fp/$ansexp"
fi
if test -d "$direxp"; then
diff --git a/Porting/config.sh b/Porting/config.sh
index a0a4bba3c7..3f29888e6c 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -8,7 +8,7 @@
# Package name : perl5
# Source directory : .
-# Configuration time: Sat Mar 18 23:13:32 EET 2000
+# Configuration time: Tue Mar 21 23:22:20 EET 2000
# Configured by : jhi
# Target system : osf1 alpha.hut.fi v4.0 878 alpha
@@ -59,7 +59,7 @@ 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 Mar 18 23:13:32 EET 2000'
+cf_time='Tue Mar 21 23:22:20 EET 2000'
charsize='1'
chgrp=''
chmod=''
diff --git a/Porting/config_H b/Porting/config_H
index 75f860b678..c80ebaffe0 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -17,7 +17,7 @@
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Sat Mar 18 23:13:32 EET 2000
+ * Configuration time: Tue Mar 21 23:22:20 EET 2000
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
@@ -2231,7 +2231,7 @@
* It can be int, ushort, gid_t, etc...
* It may be necessary to include <sys/types.h> to get any
* typedef'ed information. This is only required if you have
- * getgroups() or setgropus()..
+ * getgroups() or setgroups()..
*/
#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
diff --git a/Todo-5.6 b/Todo-5.6
index 72553630c8..f214ba6a87 100644
--- a/Todo-5.6
+++ b/Todo-5.6
@@ -13,7 +13,6 @@ Unicode support
- a way to set default disciplines for all handle constructors:
use open IN => ":any", OUT => ":utf8", SYS => ":utf16"
eliminate need for "use utf8;"
- autoload utf8_heavy.pl's swash routines in swash_init()
autoload byte.pm when byte:: is seen by the parser
check uv_to_utf8() calls for buffer overflow
(see also "Locales", "Regexen", and "Miscellaneous")
diff --git a/config_h.SH b/config_h.SH
index 52f4cb8da0..0f6f19acf7 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -2245,7 +2245,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
* It can be int, ushort, gid_t, etc...
* It may be necessary to include <sys/types.h> to get any
* typedef'ed information. This is only required if you have
- * getgroups() or setgropus()..
+ * getgroups() or setgroups()..
*/
#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
#define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index cba8db2f3b..db7b869cf2 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -65,7 +65,31 @@ cc=${cc:-cc}
# reset
_DEC_cc_style=
case "`$cc -v 2>&1 | grep cc`" in
-*gcc*) ;; # pass
+*gcc*) _gcc_version=`$cc -v 2>&1 | grep "gcc version" | sed 's%^gcc version \([0-9]*\)\.\([0-9]*\) .*%\1 \2%'`
+ set $_gcc_version
+ if test "$1" -lt 2 -o \( "$1" -eq 2 -a "$2" -lt 95 \); then
+ cat >&4 <<EOF
+
+Your cc seems to be gcc and its version seems to be less than 2.95.
+This is not a good idea since old versions of gcc are known to produce
+buggy code when compiling Perl (and no doubt for other programs, too).
+
+Therefore, I strongly suggest upgrading your gcc. (Why don't you
+use the vendor cc is also a good question. It comes with the operating
+system and produces good code.)
+
+Note that as of gcc 2.95 (19990728) and Perl 5.6.0 (end of March 2000)
+if the said Perl is compiled with the said gcc the lib/sdbm test will
+dump core. As this doesn't happen with the vendor cc, this is
+most probably a lingering bug in gcc. Therefore unless you have
+a better gcc you are still better off using the vendor cc.
+
+Cannot continue, aborting.
+
+EOF
+ exit 1
+ fi
+ ;;
*) # compile something small: taint.c is fine for this.
# the main point is the '-v' flag of 'cc'.
case "`cc -v -I. -c taint.c -o taint$$.o 2>&1`" in
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 7e68402088..a7d8bf2950 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -68,7 +68,11 @@ cat > UU/usethreads.cbu <<'EOCBU'
case "$usethreads" in
$define|true|[yY]*)
# any openbsd version dependencies with pthreads?
+ ccflags="-pthread $ccflags"
+ ldflags="-pthread $ldflags"
libswanted="$libswanted pthread"
+ # This is strange.
+ usevfork="$undef"
esac
EOCBU
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index d6556d263f..df61932db8 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -470,15 +470,17 @@ case "$uselongdouble-$uselongdouble_done" in
case "$ccisworkshop" in
'') cat <<EOM
-I do not see the Sun Workshop compiler; therefore there is no libsunmath.so;
-therefore I cannot do long doubles, sorry. Cannot continue, aborting.
+I do not see the Sun Workshop compiler; therefore there is no
+libsunmath.so; therefore I cannot do long doubles, sorry.
+I'm disabling the use of long doubles.
EOM
- exit 1
+ uselongdouble="$undef"
+ ;;
+ *) libswanted="$libswanted sunmath"
+ loclibpth="$loclibpth /opt/SUNWspro/lib"
;;
esac
- libswanted="$libswanted sunmath"
- loclibpth="$loclibpth /opt/SUNWspro/lib"
uselongdouble_done=yes
;;
esac
diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh
index 6113cc300b..1e6f0f06ac 100644
--- a/hints/unicosmk.sh
+++ b/hints/unicosmk.sh
@@ -16,3 +16,12 @@ case ":$PATH:" in
esac
;;
esac
+# As of UNICOS/mk 2.0.5.24 the shm* are in libc but unimplemented
+# (an attempt to use them causes a runtime error)
+# XXX Configure probe for really functional shm*() is needed XXX
+if test "$d_shm" = ""; then
+ test "$d_shmctl" = "" && d_shmctl="$undef"
+ test "$d_shmget" = "" && d_shmget="$undef"
+ d_shm="$undef"
+fi
+
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index f2f98d97c1..b9e81e972a 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -2678,6 +2678,12 @@ operating system libraries is buggy: the %j format numbers the days of
a month starting from zero, which, while being logical to programmers,
will cause the subtests 19 to 27 of the lib/posix test may fail.
+=head2 Tru64 (aka Digital UNIX, aka DEC OSF/1) lib/sdbm test failure with gcc
+
+If compiled with gcc 2.95 the lib/sdbm test will fail (dump core).
+The cure is to use the vendor cc, it comes with the operating system
+and produces good code.
+
=head2 UNICOS/mk CC failures during Configure run
In UNICOS/mk the following errors may appear during the Configure run:
diff --git a/pod/perlport.pod b/pod/perlport.pod
index e59b385378..5bf29d12d3 100644
--- a/pod/perlport.pod
+++ b/pod/perlport.pod
@@ -1795,6 +1795,8 @@ distribution available at http://www.perl.com/CPAN/src/index.html
OS/2
QNX
Rhapsody/Darwin 2)
+ SCO SV
+ SINIX
Solaris
SVR4
Tru64 UNIX 3)
diff --git a/win32/config_H.bc b/win32/config_H.bc
index 629fce46fa..7e04ed184f 100644
--- a/win32/config_H.bc
+++ b/win32/config_H.bc
@@ -2227,7 +2227,7 @@
* It can be int, ushort, gid_t, etc...
* It may be necessary to include <sys/types.h> to get any
* typedef'ed information. This is only required if you have
- * getgroups() or setgropus()..
+ * getgroups() or setgroups()..
*/
#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
diff --git a/win32/config_H.gc b/win32/config_H.gc
index fbc3e1987d..07e89dadb5 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -2227,7 +2227,7 @@
* It can be int, ushort, gid_t, etc...
* It may be necessary to include <sys/types.h> to get any
* typedef'ed information. This is only required if you have
- * getgroups() or setgropus()..
+ * getgroups() or setgroups()..
*/
#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
diff --git a/win32/config_H.vc b/win32/config_H.vc
index c784da9792..5d77c7b032 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -2227,7 +2227,7 @@
* It can be int, ushort, gid_t, etc...
* It may be necessary to include <sys/types.h> to get any
* typedef'ed information. This is only required if you have
- * getgroups() or setgropus()..
+ * getgroups() or setgroups()..
*/
#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */