config: always-arch: don't subst TARGET_CPU

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13225
This commit is contained in:
наб 2022-03-16 17:23:27 +01:00 committed by Brian Behlendorf
parent bd0955cd8e
commit 4629dfe963

View File

@ -2,10 +2,6 @@ dnl #
dnl # Set the target cpu architecture. This allows the dnl # Set the target cpu architecture. This allows the
dnl # following syntax to be used in a Makefile.am. dnl # following syntax to be used in a Makefile.am.
dnl # dnl #
dnl # ifeq ($(TARGET_CPU),x86_64)
dnl # ...
dnl # endif
dnl #
dnl # if TARGET_CPU_POWERPC dnl # if TARGET_CPU_POWERPC
dnl # ... dnl # ...
dnl # else dnl # else
@ -34,8 +30,6 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_ARCH], [
;; ;;
esac esac
AC_SUBST(TARGET_CPU)
AM_CONDITIONAL([TARGET_CPU_X86_64], test $TARGET_CPU = x86_64) AM_CONDITIONAL([TARGET_CPU_X86_64], test $TARGET_CPU = x86_64)
AM_CONDITIONAL([TARGET_CPU_POWERPC], test $TARGET_CPU = powerpc) AM_CONDITIONAL([TARGET_CPU_POWERPC], test $TARGET_CPU = powerpc)
]) ])