diff options
author | Mike Frysinger | 2018-01-25 05:21:49 +0100 |
---|---|---|
committer | Karel Zak | 2018-01-30 12:22:16 +0100 |
commit | 2afbcec5612fdb6fe95244c0d5ab412fb6776e00 (patch) | |
tree | 63770c6acc7e6b03eccde13fef24e921bcf485a8 /configure.ac | |
parent | zramctl: use xstrdup() (diff) | |
download | kernel-qcow2-util-linux-2afbcec5612fdb6fe95244c0d5ab412fb6776e00.tar.gz kernel-qcow2-util-linux-2afbcec5612fdb6fe95244c0d5ab412fb6776e00.tar.xz kernel-qcow2-util-linux-2afbcec5612fdb6fe95244c0d5ab412fb6776e00.zip |
build-sys: (configure) fix bashisms
The `test` command only recognizes =, not ==.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 89afca602..a579c8eed 100644 --- a/configure.ac +++ b/configure.ac @@ -146,7 +146,7 @@ AC_ARG_ENABLE([asan], AS_HELP_STRING([--enable-asan], [compile with Address Sanitizer]), [], [enable_asan=no] ) -AS_IF([test "x$enable_asan" == xyes], [ +AS_IF([test "x$enable_asan" = xyes], [ UL_WARN_ADD([-fsanitize=address]) ]) @@ -1080,7 +1080,7 @@ AC_ARG_ENABLE([libmount-support-mtab], [], [enable_libmount_support_mtab=no] ) -AS_IF([test "x$enable_libmount_support_mtab" == xyes], [ +AS_IF([test "x$enable_libmount_support_mtab" = xyes], [ AC_DEFINE([USE_LIBMOUNT_SUPPORT_MTAB], [1], [Define to 1 if want to support mtab.]) ]) @@ -1202,7 +1202,7 @@ UL_BUILD_INIT([uuidd]) UL_REQUIRES_BUILD([uuidd], [libuuid]) UL_REQUIRES_HAVE([uuidd], [timer], [timer_create function]) UL_REQUIRES_HAVE([uuidd], [sys_signalfd_h], [sys/signalfd.h header]) -AS_IF([test "x$build_uuidd" = xyes || test "x$enable_libuuid_force_uuidd" == xyes ], [ +AS_IF([test "x$build_uuidd" = xyes || test "x$enable_libuuid_force_uuidd" = xyes], [ AC_DEFINE([HAVE_UUIDD], [1], [Define to 1 if you want to use uuid daemon.]) ]) AM_CONDITIONAL([BUILD_UUIDD], [test "x$build_uuidd" = xyes]) @@ -2281,7 +2281,7 @@ AC_ARG_ENABLE([usrdir-path], [], [enable_usrdir_path=no] ) -AS_IF([test "x$enable_usrdir_path" == xyes], [ +AS_IF([test "x$enable_usrdir_path" = xyes], [ AC_DEFINE([USE_USRDIR_PATHS_ONLY], [1], [Define to 1 to remove /bin and /sbin from PATH env.variable]) ]) |