Verified Commit 6a185a20 authored by Sofia Celi's avatar Sofia Celi

Probably as another variable #17 #16

parent 67274cb1
......@@ -47,13 +47,16 @@ AC_CANONICAL_HOST
AS_CASE([$host_cpu],
[ia64|mips64|mips64eb|mipseb64|mips64el|mipsel64|mips64*|powerpc64*|sparc64|x86_64], [ARCH_DIR=arch_x86_64],
[arch64|aarch64|powerpc*], [ARCH_DIR=arch_ref64],
AS_CASE([$simd],
[neon], [ARCH_DIR=arch_neon],
[ARCH_DIR=arch_arm_32]
),
[ARCH_DIR=arch_32]
)
AS_CASE([$simd],
[neon], [ARCH_ARM=arch_neon],
[ARCH_ARM=arch_arm_32]
)
AC_SUBST([ARCH_DIR])
AC_SUBST([ARCH_ARM])
AS_IF([test "x$ARCH_DIR" = "xarch_x86_64"], [needx64=yes],
[test "x$ARCH_DIR" != "xarch_x86_64"], [needx64=no])
......@@ -131,7 +134,9 @@ Configuration completed in directory '${prefix}'.
echo
echo "Options used to compile and link:"
echo " Host CPU = $host_cpu"
echo " SMID = $smid"
echo " Arch = $ARCH_DIR"
echo " Arch Arm = $ARCH_ARM"
echo " x86_64 = $needx64"
echo " Arch_64 = $need64"
echo " Arch_arm_32 = $needarm32"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment