From d3ac1bb4cd0ab94fb168bbcaa917496a7d537c64 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Thu, 6 Oct 2022 14:26:04 -0600 Subject: [PATCH] configure: fix bashim of --enable-samples option Make the --enable-samples option's bash code POSIX-complaint. There might be warnings issued while running configure on other shells like /bin/sh, those default on Debian systems. Fixes: 6197ca3d693f ("configure: introduce --enable-samples option") Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d6ca7a68..c31e7c85 100644 --- a/configure.ac +++ b/configure.ac @@ -149,7 +149,7 @@ AM_CONDITIONAL([WITH_TESTS], [test x$with_tests = xtrue]) AC_ARG_ENABLE([samples], [AS_HELP_STRING([--enable-samples],[compile libcgroup samples C programs [default=no]])], [ - if test "x$enableval" == xno; then + if test "x$enableval" = xno; then with_samples=false else with_samples=true -- 2.47.3