diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1998-09-29 03:56:33 +0300 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-02 01:53:25 +0000 |
commit | 85ab1d1d99f8dc082af2267b48b9a2c5983f3161 (patch) | |
tree | 15498360e04711d0a640d19d489175cdf9982398 /hints | |
parent | 13b51b796ac5d39ced5a8f4f5922bfa7ca1678d5 (diff) | |
download | perl-85ab1d1d99f8dc082af2267b48b9a2c5983f3161.tar.gz |
various Configure and hints updates (prefer drand48() or random()
over rand(); add -Dusemultiplicity; enhanced 64-bitness); patch
applied modulo SCO hints superseded by later patch
Message-Id: <199809282156.AAA18615@alpha.hut.fi>
Subject: [PATCH] 5.005_52: Configure et al:
p4raw-id: //depot/perl@1904
Diffstat (limited to 'hints')
-rw-r--r-- | hints/dec_osf.sh | 15 | ||||
-rw-r--r-- | hints/irix_6.sh | 15 | ||||
-rw-r--r-- | hints/next_3.sh | 10 | ||||
-rw-r--r-- | hints/solaris_2.sh | 19 |
4 files changed, 54 insertions, 5 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 0c6056ebde..971dd89b6e 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -202,9 +202,10 @@ fi # new.) useshrplib="$define" ;; #esac -# The EFF_ONLY_OK from <sys/access.h> is dysfunctional for [RWX]_OK -# as of Digital UNIX 4.0[A-D]?. If and when this gets fixed, adjust -# this appropriately. +# The EFF_ONLY_OK from <sys/access.h> is present but dysfunctional for +# [RWX]_OK as of Digital UNIX 4.0[A-D]?. If and when this gets fixed, +# please adjust this appropriately. See also pp_sys.c just before the +# emulate_eaccess(). pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"' @@ -218,11 +219,17 @@ unset _DEC_uname_r # # History: # +# perl5.005_51: +# +# September-1998 Jarkko Hietaniemi <jhi@iki.fi> +# +# * Added the -DNO_EFF_ONLY_OK flag ('use filetest;' support). +# # perl5.004_57: # # 19-Dec-1997 Spider Boardman <spider@Orb.Nashua.NH.US> # -# * Newer Digial UNIX compilers enforce signaling for NaN without +# * Newer Digital UNIX compilers enforce signaling for NaN without # -ieee. Added -fprm d at the same time since it's friendlier for # embedding. # diff --git a/hints/irix_6.sh b/hints/irix_6.sh index c19dd05d84..0f6637bfe7 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -227,7 +227,20 @@ if [ "X$use64bits" = "X$define" ]; then case "$ccflags" in *-n32*) ccflags="$ccflags -DUSE_LONG_LONG" + archname64="-n32" + d_open64="$undef" + # In -n32 mode (ILP32LL64) we use the standard open(). + # In -64 we will use the open64(). + cat << 'EOM' >&2 + +You will see a *** WHOA THERE!!! *** message from Configure for +d_open64. Keep the recommended value. See hints/irix6_2.sh +for more information. + +EOM ;; + *-64*) + ;; esac - ccflags="$ccflags -DUSE_64_BIT_FILES -DNO_OPEN64" + ccflags="$ccflags -DUSE_64_BIT_FILES" fi diff --git a/hints/next_3.sh b/hints/next_3.sh index 43340c03ad..99adf50ffe 100644 --- a/hints/next_3.sh +++ b/hints/next_3.sh @@ -129,3 +129,13 @@ ranlib='sleep 5; /bin/ranlib' # This is true whether we're on an HPPA machine or cross-compiling # for one. pp_cflags='optimize=""' + +# The SysV IPC is optional (ftp://ftp.nluug.nl/pub/comp/next/SysVIPC/) +# Gerben_Wierda@RnA.nl +if [ -f /usr/local/lib/libIPC.a ]; then + libswanted="$libswanted IPC" + # As of Sep 1998 d_msg wasn't supported in that library, + # only d_sem and d_shm, but Configure should be able to + # figure that out. --jhi + # Note also the next3 ext/IPC/SysV hints file. +fi diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 856f80103f..7bee52a2bb 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -306,6 +306,25 @@ EOM fi fi +# 64-bitness +# jhi@iki.fi, inspired by Alan Burlison. + +if [ "X$use64bits" = "X$define" ]; then + uname_r=`uname -r` + case "$uname_r" in + 1.*|2.[1-5]) + echo >&4 "Solaris $uname_r does not support 64-bit types." + echo >&4 "You should upgrade to at least Solaris 2.6." + exit 1 + ;; + esac + ccflags="$ccflags `getconf LFS_CFLAGS` -DUSE_LONG_LONG" + ldflags="$ldflags `getconf LFS_LDFLAGS`" + libswanted="$libswanted `getconf LFS_LIBS`" + # When a 64-bit cc becomes available $archname64 may need setting + # so that $archname gets it attached. +fi + # This is just a trick to include some useful notes. cat > /dev/null <<'End_of_Solaris_Notes' |