1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Build: Omit x86_64 from --enable-assembler.

It didn't do anything. There are only 32-bit x86 assembly files
and it feels likely that new files won't be added as intrinsics
in C are more portable across toolchains and OSes.
This commit is contained in:
Lasse Collin 2022-11-14 17:58:07 +02:00
parent eb0f1450ad
commit ac10b1b362

View file

@ -354,22 +354,20 @@ if test "x$enable_assembler" = xyes; then
linux* | *bsd* | mingw* | cygwin | msys | *djgpp*) linux* | *bsd* | mingw* | cygwin | msys | *djgpp*)
case $host_cpu in case $host_cpu in
i?86) enable_assembler=x86 ;; i?86) enable_assembler=x86 ;;
x86_64) enable_assembler=x86_64 ;;
esac esac
;; ;;
esac esac
fi fi
case $enable_assembler in case $enable_assembler in
x86 | x86_64 | no) x86 | no)
AC_MSG_RESULT([$enable_assembler]) AC_MSG_RESULT([$enable_assembler])
;; ;;
*) *)
AC_MSG_RESULT([]) AC_MSG_RESULT([])
AC_MSG_ERROR([--enable-assembler accepts only `yes', `no', `x86', or `x86_64'.]) AC_MSG_ERROR([--enable-assembler accepts only `yes', `no', or `x86' (32-bit).])
;; ;;
esac esac
AM_CONDITIONAL(COND_ASM_X86, test "x$enable_assembler" = xx86) AM_CONDITIONAL(COND_ASM_X86, test "x$enable_assembler" = xx86)
AM_CONDITIONAL(COND_ASM_X86_64, test "x$enable_assembler" = xx86_64)
##################### #####################