From: guy Date: Tue, 19 Sep 2000 04:01:25 +0000 (+0000) Subject: The current "config.guess" may give different Alpha processors different X-Git-Tag: tcpdump-3.5.1~168 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/9c1c90781a483ed7eaf1b6e9b2efb7925a76f4fb The current "config.guess" may give different Alpha processors different names, e.g. "alphaev56", rather than just "alpha", so, in "AC_LBL_UNALIGNED_ACCESS", we should check for "alpha*", rather than "alpha", in our test for platforms we *know* shouldn't do unaligned accesses (Digital^H^H^H^H^H^H^HTru64 UNIX, by default, may just catch the alignment trap, complain on the console, and then simulate the unaligned access, but that's slow - and, in one test, didn't appear to prevent all the faults from unaligned accesses). --- diff --git a/aclocal.m4 b/aclocal.m4 index 394fb3e3..0f39e084 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl @(#) $Header: /tcpdump/master/tcpdump/aclocal.m4,v 1.71 2000-07-30 10:53:20 assar Exp $ (LBL) +dnl @(#) $Header: /tcpdump/master/tcpdump/aclocal.m4,v 1.72 2000-09-19 04:01:25 guy Exp $ (LBL) dnl dnl Copyright (c) 1995, 1996, 1997, 1998 dnl The Regents of the University of California. All rights reserved. @@ -492,7 +492,7 @@ AC_DEFUN(AC_LBL_UNALIGNED_ACCESS, [case "$target_cpu" in # XXX: should also check that they don't do weird things (like on arm) - alpha|arm*|hp*|mips|sparc) + alpha*|arm*|hp*|mips|sparc) ac_cv_lbl_unaligned_fail=yes ;; diff --git a/configure b/configure index 2fba971e..884a33de 100755 --- a/configure +++ b/configure @@ -4498,7 +4498,7 @@ else case "$target_cpu" in # XXX: should also check that they don't do weird things (like on arm) - alpha|arm*|hp*|mips|sparc) + alpha*|arm*|hp*|mips|sparc) ac_cv_lbl_unaligned_fail=yes ;;