From: green Date: Wed, 28 Jun 2006 10:02:26 +0000 (+0000) Subject: Disable server building for patchless builds since patchless server is not X-Git-Tag: v1_7_100~1^90~8^2~53 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d7bf3267b99fadf98701501534caafd0c2ba7bcf;p=fs%2Flustre-release.git Disable server building for patchless builds since patchless server is not yet supported --- 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 ])