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>
# Tests depends from utils (multiop from liblustreapi)
AS_IF([test "x$enable_utils" = xno], [enable_tests="no"])
+AS_IF([test "x$enable_utils" = xyes], [
+ LC_GLIBC_SUPPORT_COPY_FILE_RANGE
+ LC_OPENSSL_SSK
+ LC_OPENSSL_GETSEPOL
+])
AS_IF([test "x$enable_tests" = xyes], [
LC_HAVE_LIBAIO
+ LC_GLIBC_SUPPORT_FHANDLES
])
LIBCFS_CONFIG_CDEBUG
LC_CONFIG_FHANDLE
LC_CONFIG_GSS
- LC_GLIBC_SUPPORT_FHANDLES
- LC_GLIBC_SUPPORT_COPY_FILE_RANGE
- LC_OPENSSL_SSK
- LC_OPENSSL_GETSEPOL
-
# 3.10
LC_HAVE_PROJECT_QUOTA