]> git.ipfire.org Git - thirdparty/systemd.git/blame - m4/arch.m4
Merge pull request #1341 from filbranden/werror2
[thirdparty/systemd.git] / m4 / arch.m4
CommitLineData
0fa2cac4
KS
1
2dnl SET_ARCH(ARCHNAME, PATTERN)
3dnl
4dnl Define ARCH_<archname> condition if the pattern match with the current
5dnl architecture
6dnl
7AC_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])