diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-19 01:10:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-19 01:10:14 +0100 |
commit | 5f381b355a95b953654e46ba3ccdc81bdec165ea (patch) | |
tree | 95147f79a8c629753503a6bc7955dad77c60ee0d /configure.ac | |
parent | c4a7b2c56e907e39fa9a6cdb21c1970464abd44e (diff) |
missing: define LO_FLAGS_PARTSCAN if it is missing
https://bugs.freedesktop.org/show_bug.cgi?id=76335
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9c8481e4b7..3ced6cf3d5 100644 --- a/configure.ac +++ b/configure.ac @@ -241,11 +241,12 @@ LIBS="$save_LIBS" AC_CHECK_FUNCS([fanotify_init fanotify_mark]) AC_CHECK_FUNCS([__secure_getenv secure_getenv]) -AC_CHECK_DECLS([gettid, pivot_root, name_to_handle_at, setns], [], [], [[#include <sys/types.h> +AC_CHECK_DECLS([gettid, pivot_root, name_to_handle_at, setns, LO_FLAGS_PARTSCAN], [], [], [[#include <sys/types.h> #include <unistd.h> #include <sys/mount.h> #include <fcntl.h> -#include <sched.h>]]) +#include <sched.h> +#include <linux/loop.h>]]) # This makes sure pkg.m4 is available. m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config]) |