2 dnl # Set the target arch for libspl atomic implementation
4 AC_DEFUN([ZFS_AC_CONFIG_USER_ARCH], [
5 AC_MSG_CHECKING(for target asm dir)
6 TARGET_ARCH=`echo ${target_cpu} | sed -e s/i.86/i386/`
10 TARGET_ASM_DIR=asm-${TARGET_ARCH}
13 TARGET_ASM_DIR=asm-generic
17 AC_SUBST([TARGET_ASM_DIR])
18 AC_MSG_RESULT([$TARGET_ASM_DIR])