Whamcloud - gitweb
LU-16353 config: enable_foo variables mustn't contains space 82/49282/2
authorMr NeilBrown <neilb@suse.de>
Wed, 30 Nov 2022 00:47:03 +0000 (11:47 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 13 Dec 2022 16:09:37 +0000 (16:09 +0000)
commitc8a33e5322b0675680f8d737f04259799d30aa0e
treeb26752ebbd1b5b8dc97ab6c604a8ef9262f324da
parent30c5421ad567c851822f92c91595c9753ec648ec
LU-16353 config: enable_foo variables mustn't contains space

$enable_crypto is in some circumstances set to "embedded llcrypt"
which contains a space.
When the code from lustre-build.m4 then tests the value with:

   if test x$enablecrypto = xyes

we get a syntax error from ./configure

We could add quotes to this comment, but for consistency we would need
to add quotes to ever other test for an enable_foo variable.

It is simpler just to ensure we don't add spaces.  So change the space
to a hyphen.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I097e857409d6ec48a765ccda1cc470d28b90e601
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49282
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/autoconf/lustre-core.m4