From d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2b Mon Sep 17 00:00:00 2001 From: cee1 Date: Thu, 17 Mar 2011 10:13:01 +0800 Subject: 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). --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') 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]) -- cgit v1.2.3-54-g00ecf