Whamcloud - gitweb
LU-13903 build: Move GLIBC/openssl checks to where needed. 53/39653/6
authorMr NeilBrown <neilb@suse.de>
Wed, 5 Aug 2020 02:06:52 +0000 (12:06 +1000)
committerOleg Drokin <green@whamcloud.com>
Wed, 10 Mar 2021 08:02:49 +0000 (08:02 +0000)
commite6d1968fbbad5971b60e6c09a02d121c31d37d59
tree1805b6fbb54b134d30cab372a57b9ab9d14bfbdb
parent955080c3ae3f33c98e068f52a096761ea28624b7
LU-13903 build: Move GLIBC/openssl checks to where needed.

Two config checks on glibs support:
LC_GLIBC_SUPPORT_FHANDLES
LC_GLIBC_SUPPORT_COPY_FILE_RANGE
and two on openssl support:
LC_OPENSSL_SSK
LC_OPENSSL_GETSEPOL

are currently only run when modules are being built.
The FHANDLES test is needed when building tests.
The COPY_FILE_RANGE test is needed when building
utils as are the OPENSSL checks

So move the calls to these tests to a more appropriate place, so that
  ./configure --disable-modules --disable-server
can run correctly.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Id7801112cd53601b3d560119784cbd062bf9610e
Reviewed-on: https://review.whamcloud.com/39653
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
config/lustre-build.m4
lustre/autoconf/lustre-core.m4