search for: 0882d27

Displaying 2 results from an estimated 2 matches for "0882d27".

Did you mean: 082d027
2017 Feb 27
1
[PATCH] lib: Require libmagic.
...f libguestfs was compiled without the libmagic library")); \ - return r - -char * -guestfs_impl_file_architecture (guestfs_h *g, const char *path) -{ - NOT_IMPL(NULL); -} - -#endif /* no libmagic at compile time */ diff --git a/m4/guestfs_libraries.m4 b/m4/guestfs_libraries.m4 index ac71b39..0882d27 100644 --- a/m4/guestfs_libraries.m4 +++ b/m4/guestfs_libraries.m4 @@ -230,13 +230,14 @@ PKG_CHECK_MODULES([PCRE], [libpcre]) dnl Check for Augeas >= 1.0.0 (required). PKG_CHECK_MODULES([AUGEAS],[augeas >= 1.0.0]) -dnl libmagic (highly recommended) +dnl libmagic (required) AC_CHECK_LIB([...
2017 Mar 01
2
[PATCH libguestfs] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
...ntl.h> + +#if MAJOR_IN_MKDEV +#include <sys/mkdev.h> +#elif MAJOR_IN_SYSMACROS #include <sys/sysmacros.h> +/* else it's in sys/types.h, included above */ +#endif #if HAVE_FUSE /* See <attr/xattr.h> */ diff --git a/m4/guestfs_libraries.m4 b/m4/guestfs_libraries.m4 index 0882d27..c265b29 100644 --- a/m4/guestfs_libraries.m4 +++ b/m4/guestfs_libraries.m4 @@ -82,6 +82,9 @@ AC_CHECK_FUNCS([\ statvfs \ sync]) +dnl Which header file defines major, minor, makedev. +AC_HEADER_MAJOR + dnl Check for UNIX_PATH_MAX, creating a custom one if not available. AC_MSG_CHECKIN...