chiark / gitweb /
udev: builtin-keyboard: add support for EVDEV_ABS_*
[elogind.git] / m4 / arch.m4
1
2 dnl SET_ARCH(ARCHNAME, PATTERN)
3 dnl
4 dnl Define ARCH_<archname> condition if the pattern match with the current
5 dnl architecture
6 dnl
7 AC_DEFUN([SET_ARCH], [
8   cpu_$1=false
9   case "$host" in
10    $2) cpu_$1=true ;;
11   esac
12   AM_CONDITIONAL(AS_TR_CPP(ARCH_$1), [test "x$cpu_$1" = xtrue])
13 ])