diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-03-22 17:04:39 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-03-22 17:04:39 +0000 |
commit | b56195663760d76ea61d9ed15121dd4a13fa68cd (patch) | |
tree | ca185834fc0a37f9b1c5e8e8ca183fa6f7c5492c | |
parent | 8bdec7155ef1756deef78120fd75469229226f2a (diff) |
ignore checks for /proc when cross-compiling
(as suggested by Andy Kennedy)
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6eac18da..5a43a9f9 100644 --- a/configure.ac +++ b/configure.ac @@ -100,10 +100,10 @@ if test ! -z "$missing_headers"; then AC_MSG_ERROR([missing headers: $missing_headers]) fi - - +if test "$cross_compiling" = "no"; then AC_CHECK_FILE($PROCDIR/stat,,AC_MSG_ERROR(Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.)) AC_CHECK_FILE($PROCDIR/meminfo,,AC_MSG_ERROR(Cannot find /proc/meminfo. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.)) +fi AC_ARG_ENABLE(plpa, [AC_HELP_STRING([--enable-plpa], [enable PLPA support for CPU affinity])], ,enable_plpa="yes") PLPA_INCLUDED |