File: arch.m4

package info (click to toggle)
systemd-bootchart 231-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 996 kB
  • ctags: 1,624
  • sloc: ansic: 11,642; xml: 476; makefile: 202; sh: 79
file content (13 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13

dnl SET_ARCH(ARCHNAME, PATTERN)
dnl
dnl Define ARCH_<archname> condition if the pattern match with the current
dnl architecture
dnl
AC_DEFUN([SET_ARCH], [
  cpu_$1=false
  case "$host" in
   $2) cpu_$1=true ;;
  esac
  AM_CONDITIONAL(AS_TR_CPP(ARCH_$1), [test "x$cpu_$1" = xtrue])
])