diff options
author | Romain Naour <romain.naour@openwide.fr> | 2015-07-30 16:55:45 +0200 |
---|---|---|
committer | Romain Naour <romain.naour@openwide.fr> | 2015-07-31 14:49:20 +0200 |
commit | 24ccb6ebc5e13a128aaedd3a2eb52eef3adf6dcd (patch) | |
tree | 53aceb94e9812c38f4c8911038c6e54f07ae74cc /configure.ac | |
parent | udevd: don't unref worker objects on SIGSTOP/SIGCONT (diff) | |
download | eudev-24ccb6ebc5e13a128aaedd3a2eb52eef3adf6dcd.tar.gz eudev-24ccb6ebc5e13a128aaedd3a2eb52eef3adf6dcd.tar.bz2 eudev-24ccb6ebc5e13a128aaedd3a2eb52eef3adf6dcd.zip |
build-sys: check for mallinfo
mallinfo is not specified by POSIX or the C standards, therefore
it's not available for all libc libraries (musl).
Add the ability to disable mallinfo statistics.
Fixes:
selinux-util.c: In function ‘mac_selinux_init’:
selinux-util.c:70:25: error: storage size of ‘before_mallinfo’ isn’t known
struct mallinfo before_mallinfo, after_mallinfo;
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dfa71e44d..01b8ca006 100644 --- a/configure.ac +++ b/configure.ac @@ -223,6 +223,9 @@ else fi AC_SUBST(sushell) +# selinux-util.c uses struct mallinfo which is not available for all C libraries (musl). +AC_CHECK_FUNCS([mallinfo]) + # ------------------------------------------------------------------------------ AC_CHECK_DECL([unshare], |