From d7bf3267b99fadf98701501534caafd0c2ba7bcf Mon Sep 17 00:00:00 2001 From: green Date: Wed, 28 Jun 2006 10:02:26 +0000 Subject: [PATCH] Disable server building for patchless builds since patchless server is not yet supported --- lustre/autoconf/lustre-core.m4 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 17a577c..bca5aaa 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -560,9 +560,13 @@ AC_MSG_RESULT([no]) AC_DEFUN([LC_LUSTRE_VERSION_H], [LB_CHECK_FILE([$LINUX/include/linux/lustre_version.h],[ - rm -f "$LUSTRE/include/linux/lustre_version.h" + rm -f "$LUSTRE/include/linux/lustre_version.h" ],[ - touch "$LUSTRE/include/linux/lustre_version.h" + touch "$LUSTRE/include/linux/lustre_version.h" + if test x$enable_server = xyes ; then + AC_MSG_WARN([Patchless build detected, disabling server building]) + enable_server='no' + fi ]) ]) @@ -585,7 +589,8 @@ have_show_task=0 # Lustre linux kernel checks # AC_DEFUN([LC_PROG_LINUX], -[if test x$enable_server = xyes ; then +[ LC_LUSTRE_VERSION_H +if test x$enable_server = xyes ; then LC_CONFIG_BACKINGFS fi LC_CONFIG_PINGER @@ -611,7 +616,6 @@ LC_BIT_SPINLOCK_H LC_XATTR_ACL LC_STRUCT_INTENT_FILE LC_POSIX_ACL_XATTR_H -LC_LUSTRE_VERSION_H LC_FUNC_SET_FS_PWD ]) -- 1.8.3.1