From: brian Date: Fri, 6 Oct 2006 18:57:01 +0000 (+0000) Subject: Pointing to $LINUX/.config is bad. $LINUX_CONFIG is where the .config file X-Git-Tag: v1_8_0_110~486^2~671 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=34ae1924d6803fc254bd95e92bc198e46c73762b;p=fs%2Flustre-release.git Pointing to $LINUX/.config is bad. $LINUX_CONFIG is where the .config file can be found it's not always == $LINUX/.config. --- diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index de4ac0f..527dd42 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -655,7 +655,7 @@ AC_MSG_RESULT([$enable_gss]) if test x$enable_gss == xyes; then AC_MSG_CHECKING([whether CONFIG_SUNRPC is in kernel config file]) - if test -f $LINUX/.config && grep -q CONFIG_SUNRPC=y $LINUX/.config; then + if test -f $LINUX_CONFIG && grep -q CONFIG_SUNRPC=y $LINUX_CONFIG; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) @@ -690,8 +690,8 @@ fi AC_DEFUN([LC_CONFIG_CRYPTO], [ AC_MSG_CHECKING([whether CONFIG_CRYPTO and CONFIG_CRYPTO_HMAC turned on]) - if test -f $LINUX/.config && grep -q CONFIG_CRYPTO=y $LINUX/.config \ -&& grep -q CONFIG_CRYPTO_HMAC=y $LINUX/.config; then + if test -f $LINUX_CONFIG && grep -q CONFIG_CRYPTO=y $LINUX_CONFIG \ +&& grep -q CONFIG_CRYPTO_HMAC=y $LINUX_CONFIG; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no])