summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-09-29 03:56:33 +0300
committerGurusamy Sarathy <gsar@cpan.org>1998-10-02 01:53:25 +0000
commit85ab1d1d99f8dc082af2267b48b9a2c5983f3161 (patch)
tree15498360e04711d0a640d19d489175cdf9982398 /INSTALL
parent13b51b796ac5d39ced5a8f4f5922bfa7ca1678d5 (diff)
downloadperl-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 'INSTALL')
-rw-r--r--INSTALL18
1 files changed, 4 insertions, 14 deletions
diff --git a/INSTALL b/INSTALL
index a892e7deab..9c0e96e479 100644
--- a/INSTALL
+++ b/INSTALL
@@ -771,20 +771,10 @@ you can change a number of factors in the way perl is built
by adding appropriate -D directives to your ccflags variable in
config.sh.
-For example, you can replace the rand() and srand() functions in the
-perl source by any other random number generator by a trick such as the
-following (this should all be on one line):
-
- sh Configure -Dccflags='-Dmy_rand=random -Dmy_srand=srandom' \
- -Drandbits=31
-
-or you can use the drand48 family of functions with
-
- sh Configure -Dccflags='-Dmy_rand=lrand48 -Dmy_srand=srand48' \
- -Drandbits=31
-
-or by adding the -D flags to your ccflags at the appropriate Configure
-prompt. (Read pp.c to see how this works.)
+Starting from Perl 5.005_53 you no more need to replace the rand() and
+srand() functions in the perl source by any other random number
+generator because Configure chooses the widest one available
+(drand48(), srandom(), or rand()).
You should also run Configure interactively to verify that a hint file
doesn't inadvertently override your ccflags setting. (Hints files