summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.com b/configure.com
index 82fa3ed4a0..2c4f1be9d2 100644
--- a/configure.com
+++ b/configure.com
@@ -4514,7 +4514,6 @@ $!
$! Check rand48 and its ilk
$!
$ echo4 "Looking for a random number function..."
-$ d_use_rand = "undef"
$ OS
$ WS "#if defined(__DECC) || defined(__DECCXX)"
$ WS "#include <stdlib.h>"
@@ -4555,10 +4554,9 @@ $ IF compile_status .EQ. good_compile .AND. link_status .EQ. good_link
$ THEN
$ echo4 "OK, found random()."
$ ELSE
-$ drand01="(((float)rand())*PL_my_inv_rand_max)"
+$ drand01="(((float)rand())*MY_INV_RAND_MAX)"
$ randseedtype = "unsigned"
$ seedfunc = "srand"
-$ d_use_rand = "define"
$ echo4 "Yick, looks like I have to use rand()."
$ ENDIF
$ ENDIF
@@ -5732,7 +5730,6 @@ $ THEN
$! Alas this does not help to build Fcntl
$! WC "#define PERL_IGNORE_FPUSIG SIGFPE"
$ ENDIF
-$ if d_use_rand .EQS. "define" then WC "#define Drand01_is_rand"
$ CLOSE CONFIG
$!
$ echo4 "Doing variable substitutions on .SH files..."