Add -p switch to "zpool get"
[zfs.git] / config / user-arch.m4
1 dnl #
2 dnl # Set the target arch for libspl atomic implementation
3 dnl #
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/`
7
8         case $TARGET_ARCH in
9         i386|x86_64)
10                 TARGET_ASM_DIR=asm-${TARGET_ARCH}
11                 ;;
12         *)
13                 TARGET_ASM_DIR=asm-generic
14                 ;;
15         esac
16
17         AC_SUBST([TARGET_ASM_DIR])
18         AC_MSG_RESULT([$TARGET_ASM_DIR])
19 ])