summaryrefslogtreecommitdiff
path: root/U/d_casti32.U
diff options
context:
space:
mode:
Diffstat (limited to 'U/d_casti32.U')
-rw-r--r--U/d_casti32.U15
1 files changed, 3 insertions, 12 deletions
diff --git a/U/d_casti32.U b/U/d_casti32.U
index efcfd07a3a..f33b5f811f 100644
--- a/U/d_casti32.U
+++ b/U/d_casti32.U
@@ -1,12 +1,3 @@
-?X: These units are based on the ones supplied with dist-3.0
-?X: patchlevel 22. They have been changed or enhanced to work with
-?X: perl5alpha. I would appreciate hearing about any changes,
-?X: corrections, or enhancements.
-?X: Andy Dougherty doughera@lafcol.lafayette.edu
-?X: Dept. of Physics
-?X: Lafayette College
-?X: Easton, PA 18042-1782
-?X: Sat Apr 2 15:45:17 EST 1994
?RCS: $Id: d_casti32.U,v 3.0 1993/08/18 12:05:47 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
@@ -24,7 +15,7 @@
?X:
?X: Can the compiler cast large floats to 32-bit integers?
?X:
-?MAKE:d_casti32: cat cc ccflags rm intsize Setvar
+?MAKE:d_casti32: cat cc ccflags rm intsize Setvar test
?MAKE: -pick add $@ %<
?S:d_casti32:
?S: This variable conditionally defines CASTI32, which indicates
@@ -41,7 +32,7 @@
: check for ability to cast large floats to 32-bit ints.
echo " "
echo 'Checking whether your C compiler can cast large floats to int32.' >&4
-if $test "$intsize" -ge 4; then
+if $test "$intsize" -eq 4; then
xxx=int
else
xxx=long
@@ -83,4 +74,4 @@ case "$yyy" in
esac
set d_casti32
eval $setvar
-$rm -f try.*
+$rm -f try try.*