tests/atlocal.in: Add check for aarch64 Architecture
This patch adds a condition to check if the CPU architecture is aarch64. If the
condition evaluates to true, $IS_ARM64 variable is set to 'yes'. For all other
architectures, this variable is set to 'no'.
@@ -111,6 +111,16 @@ if test "$IS_WIN32" = yes; then
export PYTHONLEGACYWINDOWSSTDIO
fi
+# Check for CPU architecture
+case `uname -m` in
+aarch64)
+ IS_ARM64="yes"
+ ;;
+*)
+ IS_ARM64="no"
+ ;;
+esac
+
# Check whether to run IPv6 tests.
$PYTHON3 -c '
import errno
