meson: Detect libfuse

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20201027190600.192171-2-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Max Reitz 2020-10-27 20:05:41 +01:00 committed by Kevin Wolf
parent c208b0ef96
commit a484a71957
3 changed files with 15 additions and 0 deletions

7
configure vendored
View file

@ -449,6 +449,7 @@ meson=""
ninja=""
skip_meson=no
gettext=""
fuse="auto"
bogus_os="no"
malloc_trim="auto"
@ -1525,6 +1526,10 @@ for opt do
;;
--disable-libdaxctl) libdaxctl=no
;;
--enable-fuse) fuse="enabled"
;;
--disable-fuse) fuse="disabled"
;;
*)
echo "ERROR: unknown option $opt"
echo "Try '$0 --help' for more information"
@ -1850,6 +1855,7 @@ disabled with --disable-FEATURE, default is enabled if available:
xkbcommon xkbcommon support
rng-none dummy RNG, avoid using /dev/(u)random and getrandom()
libdaxctl libdaxctl support
fuse FUSE block device export
NOTE: The object files are built at the place where configure is launched
EOF
@ -7014,6 +7020,7 @@ NINJA=$ninja $meson setup \
-Diconv=$iconv -Dcurses=$curses -Dlibudev=$libudev\
-Ddocs=$docs -Dsphinx_build=$sphinx_build -Dinstall_blobs=$blobs \
-Dvhost_user_blk_server=$vhost_user_blk_server \
-Dfuse=$fuse \
$cross_arg \
"$PWD" "$source_path"