2 dnl # Set the target cpu architecture. This allows the
3 dnl # following syntax to be used in a Makefile.am.
5 dnl # ifeq ($(TARGET_CPU),x86_64)
9 dnl # if TARGET_CPU_POWERPC
15 AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_ARCH], [
36 AM_CONDITIONAL([TARGET_CPU_I386], test $TARGET_CPU = i386)
37 AM_CONDITIONAL([TARGET_CPU_X86_64], test $TARGET_CPU = x86_64)
38 AM_CONDITIONAL([TARGET_CPU_POWERPC], test $TARGET_CPU = powerpc)
39 AM_CONDITIONAL([TARGET_CPU_AARCH64], test $TARGET_CPU = aarch64)
40 AM_CONDITIONAL([TARGET_CPU_SPARC64], test $TARGET_CPU = sparc64)