summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorcee1 <fykcee1@gmail.com>2011-03-17 10:13:01 +0800
committerLennart Poettering <lennart@poettering.net>2011-03-17 04:03:44 +0100
commitd59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2b (patch)
treed8fc37a441a031c949d12dcf3b903665a2258573 /configure.ac
parentf6a6225e414858ff222d2b175369cc42459abf9a (diff)
read-ahead: Fix broken systemd-readahead-collect on mips.
This actually adjust the __NR_fanotify* system call numbers to proper ones on mips(according userspace ABI).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cae2dce367..8a28c8e807 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,9 @@ AC_SUBST(PACKAGE_URL, [http://www.freedesktop.org/wiki/Software/systemd])
AC_CANONICAL_HOST
AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.])
+AS_IF([test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
+ test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"],
+ [AC_DEFINE(ARCH_MIPS, [], [Whether on mips arch])])
AM_SILENT_RULES([yes])