File: arch.m4

package info (click to toggle)
systemd-bootchart 234-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 844 kB
  • sloc: ansic: 8,749; xml: 490; makefile: 184; sh: 107
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])
])