From: ericm Date: Sat, 7 Oct 2006 17:27:42 +0000 (+0000) Subject: branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~652 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=209adb25ba147207561eaceec95c61a57accda83;p=fs%2Flustre-release.git branch: b_new_cmd more fixes of configuration of capability and gss. --- diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 74170c4..3df5d90 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -642,48 +642,6 @@ AC_ARG_ENABLE([client], AC_MSG_RESULT([$enable_client])]) # -# LC_CONFIG_GSS -# -# Build gss and related tools of Lustre -# -AC_DEFUN([LC_CONFIG_GSS], -[AC_MSG_CHECKING([whether to enable gss/krb5 support]) -AC_ARG_ENABLE([gss], - AC_HELP_STRING([--enable-gss], [enable gss/krb5 support]), - [],[enable_gss='no']) -AC_MSG_RESULT([$enable_gss]) - -if test x$enable_gss == xyes; then - LB_LINUX_CONFIG([SUNRPC],[],[ - AC_MSG_ERROR([Lustre require that CONFIG_SUNRPC is enabled in your kernel to build GSS module.]) - ]) - - LB_LINUX_CONFIG([SUNRPC_GSS],[],[ - AC_MSG_ERROR([Lustre require that CONFIG_SUNRPC_GSS is enabled in your kernel to build GSS module.]) - ]) - - GSSAPI_LIBS="" - - OLD_LIBS="$LIBS" - AC_CHECK_LIB(gssapi, gss_init_sec_context, [ - GSSAPI_LIBS="$GSSAPI_LDFLAGS -lgssapi" - enable_gss='yes' - ], [ - enable_gss='no' - ], - ) - LIBS="$OLD_LIBS" - - if test x$enable_gss != xyes; then - AC_MSG_ERROR([libgssapi is not found, consider --disable-gss.]) - fi - - AC_SUBST(GSSAPI_LIBS) - AC_KERBEROS_V5 -fi -]) - -# # LC_CONFIG_LIBLUSTRE # # whether to build liblustre