Re: [PATCH 2/7] configure.ac: fix disable fuse2fs/fuse4fs by default path

Darrick J. Wong
2026-05-05T00:13:44Z

On Mon, May 04, 2026 at 07:32:56PM -0400, Theodore Ts'o wrote:
> If the fuse.h header file is not present, fix the "Disabling
> fuse[24]fs by default" codepath to actually disable trying to build
> fuse2fs or fuse4fs.
>
> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
> Fixes: 239f4b7ac05b ("fuse2fs: separate libfuse3 and fuse2fs detection in configure")
> Signed-off-by: Theodore Ts'o <tytso@mit.edu>

Oops. I hadn't tried building without a fuse.h in a while. :/
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> ---
> configure | 2 ++
> configure.ac | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/configure b/configure
> index a1a270e63..d941ff1f1 100755
> --- a/configure
> +++ b/configure
> @@ -14737,6 +14737,7 @@ else case e in #(
> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs by default" >&5
> printf "%s\n" "Enabling fuse2fs by default" >&6; }
> else
> + FUSE2FS_CMT="#"
> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling fuse2fs by default" >&5
> printf "%s\n" "Disabling fuse2fs by default" >&6; }
> fi
> @@ -14804,6 +14805,7 @@ else case e in #(
> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling fuse4fs by default" >&5
> printf "%s\n" "Enabling fuse4fs by default" >&6; }
> else
> + FUSE4FS_CMT="#"
> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling fuse4fs by default" >&5
> printf "%s\n" "Disabling fuse4fs by default" >&6; }
> fi
> diff --git a/configure.ac b/configure.ac
> index abce79594..d8f40f5df 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1459,6 +1459,7 @@ AS_HELP_STRING([--disable-fuse2fs],[do not build fuse2fs]),
> then
> AC_MSG_RESULT([Enabling fuse2fs by default])
> else
> + FUSE2FS_CMT="#"
> AC_MSG_RESULT([Disabling fuse2fs by default])
> fi
> ]
> @@ -1496,6 +1497,7 @@ AS_HELP_STRING([--disable-fuse4fs],[do not build fuse4fs]),
> then
> AC_MSG_RESULT([Enabling fuse4fs by default])
> else
> + FUSE4FS_CMT="#"
> AC_MSG_RESULT([Disabling fuse4fs by default])
> fi
> ]
> --
> 2.53.0
>
>