From: yangsheng Date: Fri, 17 Jul 2009 13:30:26 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_9_220~2 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=ffa4d6284cbe09b89e828d14e7425abefb02a4f7 Branch b1_8 b=19615 i=shadow, johann Disable server build for rhel4 & sles9. --- diff --git a/build/autoconf/lustre-build-linux.m4 b/build/autoconf/lustre-build-linux.m4 index d0cdb76..bb92895 100644 --- a/build/autoconf/lustre-build-linux.m4 +++ b/build/autoconf/lustre-build-linux.m4 @@ -104,7 +104,7 @@ AC_MSG_CHECKING([that RedHat kernel]) LB_LINUX_TRY_COMPILE([ #include ],[ - #ifndef RHEL_MAJOR + #ifndef RHEL_RELEASE_CODE #error "not redhat kernel" #endif ],[ @@ -115,19 +115,7 @@ LB_LINUX_TRY_COMPILE([ AC_MSG_RESULT([no]) ]) -AC_MSG_CHECKING([that SuSe kernel]) -LB_LINUX_TRY_COMPILE([ - #include - ],[ - #ifndef SLE_VERSION_CODE - #error "not sles kernel" - #endif - ],[ - SUSE_KERNEL="yes" - AC_MSG_RESULT([yes]) - ],[ - AC_MSG_RESULT([no]) -]) +LB_LINUX_CONFIG([SUSE_KERNEL],[SUSE_KERNEL="yes"],[]) ])