From e76f56a2b8cb69dc41d559812b28a59122285484 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Fri, 17 Jul 2009 13:30:27 +0000 Subject: [PATCH] Branch b1_8 b=19615 i=shadow, johann Disable server build for rhel4 & sles9. --- lustre/autoconf/lustre-core.m4 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 1d2eaf3..7aa6acf 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -588,6 +588,18 @@ AC_DEFUN([LC_LUSTRE_VERSION_H], enable_server='no' fi ]) + if test x$enable_server = xyes ; then + if test x$RHEL_KERNEL = xyes -a x$LINUXRELEASE != x${LINUXRELEASE##2.6.9} ; then + AC_MSG_WARN([Lustre server has been disabled with rhel4 kernel;]) + AC_MSG_WARN([disabling server build]) + enable_server='no' + fi + if test x$SUSE_KERNEL = xyes -a x$LINUXRELEASE != x${LINUXRELEASE##2.6.5} ; then + AC_MSG_WARN([Lustre server has been disabled with sles9 kernel;]) + AC_MSG_WARN([disabling server build]) + enable_server='no' + fi + fi ]) # -- 1.8.3.1