From 34ae1924d6803fc254bd95e92bc198e46c73762b Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 6 Oct 2006 18:57:01 +0000 Subject: [PATCH] Pointing to $LINUX/.config is bad. $LINUX_CONFIG is where the .config file can be found it's not always == $LINUX/.config. --- lustre/autoconf/lustre-core.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]) -- 1.8.3.1