summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2020-02-04 15:47:02 -0800
committerGuy Harris <guy@alum.mit.edu>2020-02-04 15:47:02 -0800
commit895e3dfd766bd2858e1514ec21554c22de587149 (patch)
tree7a817e90142a022d6829b5fc669efe8cf1a64e29 /aclocal.m4
parentfa7028248974c27a5089988198e8171b4a061d56 (diff)
downloadtcpdump-895e3dfd766bd2858e1514ec21554c22de587149.tar.gz
Remove the hacks to avoid floating-point issues in the tcpdump checks.
I can't seem to make those issues pop up on my (x86-64) machine, and, if they do show up on any platforms, the best hack to handle it is probably to have a special tcpdump flag to force it to do a floating-point calculation and see what result is generated, and report the result, so we know what it'll do with the numbers in the test files, and have tests/TESTrun run tcpdump with that flag. If those tests *do* fail, we'll know what calculations to do.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m48
1 files changed, 0 insertions, 8 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 0168c595..6abc82be 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -102,14 +102,6 @@ AC_DEFUN(AC_LBL_C_INIT,
# -Werror forces warnings to be errors.
#
ac_lbl_cc_force_warning_errors=-Werror
-
- #
- # Use -ffloat-store so that, on 32-bit x86, we don't
- # do 80-bit arithmetic with the FPU; that way we should
- # get the same results for floating-point calculations
- # on x86-32 and x86-64.
- #
- AC_LBL_CHECK_COMPILER_OPT($1, -ffloat-store)
else
$2="$$2 -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"