From 419827eae7033777a8718fc8db9277564ea34089 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 2 Jun 2025 17:17:03 +0200 Subject: configure.ac: Resolve use of non-POSIX "==" --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index dde224e..b9804f8 100644 --- a/configure.ac +++ b/configure.ac @@ -19,11 +19,11 @@ AC_ARG_WITH([fuse2], AC_ARG_WITH([fuse3], [AS_HELP_STRING([--with-fuse3], [link against libfuse 3.x (default: autodetect, preferring 3.x)])]) -if test x"$enable_debug_output" == "xyes" ; then +if test x"$enable_debug_output" = "xyes" ; then AC_DEFINE([BINDFS_DEBUG], [1], [Define to 1 to enable debugging messages]) fi -if test x"$with_core_foundation" == "xyes" ; then +if test x"$with_core_foundation" = "xyes" ; then AC_MSG_NOTICE([Linking with Core Foundation]) LDFLAGS="${LDFLAGS} -framework CoreFoundation" fi @@ -115,11 +115,11 @@ AC_DEFUN([CHECK_FUSE_T], ) -AS_IF([test "x$with_fuse2" == "xyes"], +AS_IF([test "x$with_fuse2" = "xyes"], [CHECK_FUSE2([AC_MSG_ERROR([FUSE 2 not found])])], - [AS_IF([test "x$with_fuse3" == "xyes"], + [AS_IF([test "x$with_fuse3" = "xyes"], [CHECK_FUSE3([AC_MSG_ERROR([FUSE 3 not found])])], - [AS_IF([test "x$with_fuse_t" == "xyes"], + [AS_IF([test "x$with_fuse_t" = "xyes"], [CHECK_FUSE_T([AC_MSG_ERROR([FUSE-T not found])])], [CHECK_FUSE3([CHECK_FUSE2([CHECK_FUSE_T([AC_MSG_ERROR([FUSE not found])])])])] )] -- cgit v1.2.3