Skip to content

Commit

Permalink
Probably as another variable #17 #16
Browse files Browse the repository at this point in the history
  • Loading branch information
claucece committed Mar 16, 2020
1 parent 67274cb commit 6a185a2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 6a185a2

Please sign in to comment.