From: Kamalesh Babulal Date: Thu, 6 Oct 2022 20:26:52 +0000 (-0600) Subject: configure: fix bashim of --enable-samples option X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd8d4a03fc606a23770bd9448d3ccad2331a7854;p=thirdparty%2Flibcgroup.git 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 (cherry picked from commit d3ac1bb4cd0ab94fb168bbcaa917496a7d537c64) --- diff --git a/configure.ac b/configure.ac index e58db4d3..b9fb7dd7 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