diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-01 11:37:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-01 11:37:47 +0000 |
commit | 914572aba468968be24a0dc6fb324eb923b518e9 (patch) | |
tree | d80f948b76adfb25b8549bb62929c6d431158356 /src/configure.in | |
parent | d9fe7c4bb8b07330ca67018d46a334a615a421d5 (diff) |
updated for version 7.0-236v7.0.236
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in index 66f629521b..0af26bdd17 100644 --- a/src/configure.in +++ b/src/configure.in @@ -2590,6 +2590,17 @@ AC_TRY_COMPILE( AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SYSINFO), AC_MSG_RESULT(not usable)) +dnl struct sysinfo may have the mem_unit field or not +AC_MSG_CHECKING(for sysinfo.mem_unit) +AC_TRY_COMPILE( +[#include <sys/types.h> +#include <sys/sysinfo.h>], +[ struct sysinfo sinfo; + sinfo.mem_unit = 1; + ], + AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SYSINFO_MEM_UNIT), + AC_MSG_RESULT(no)) + dnl sysconf() may exist but not support what we want to use AC_MSG_CHECKING(for sysconf) AC_TRY_COMPILE( |