chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
generators: rename add_{root,usr}_mount to add_{sysroot,sysroot_usr}_mount
[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
])