Whamcloud - gitweb
LU-13903 build: Move GLIBC/openssl checks to where needed.
authorMr NeilBrown <neilb@suse.de>
Fri, 24 Jun 2022 21:27:38 +0000 (14:27 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 27 Jun 2022 02:13:59 +0000 (02:13 +0000)
commite3163a7ddaa0b0c1ce79345b0119cc82f6acc70e
tree7cc770dbde33170e20203aac8889c108de341699
parente55416067d6f0025d59416bbd14f4eb4cb029173
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.

Lustre-change: https://review.whamcloud.com/39653
Lustre-commit: e6d1968fbbad5971b60e6c09a02d121c31d37d59

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