chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f17b4278eb374016051973d297cf6b767640eab0
[elogind.git]
/
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
])