From: Russ Allbery Date: Mon, 11 Jul 2005 20:41:27 +0000 (+0000) Subject: STABLE14-linux-no-smp-modules-on-uniprocessor-20050605 X-Git-Tag: openafs-devel-1_3_85~4 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cc4b38ab405ac76a0909a4ae6b4439ac15792a12;p=packages%2Fo%2Fopenafs.git STABLE14-linux-no-smp-modules-on-uniprocessor-20050605 FIXES 18738 don't try to build smp modules with uniprocessor kernel. this may need to be revisited for the redhat buildsys (cherry picked from commit 8502de9a4b4ad3cc106f497ae0c5442e21197262) --- diff --git a/src/cf/linux-test3.m4 b/src/cf/linux-test3.m4 index fc6b7c8a1..e7d547f3b 100644 --- a/src/cf/linux-test3.m4 +++ b/src/cf/linux-test3.m4 @@ -39,24 +39,9 @@ if test "x$enable_redhat_buildsys" = "xyes"; then else save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $RHCONFIG_SP $CPPFLAGS" - AC_MSG_CHECKING(if kernel uses MODVERSIONS) - AC_CACHE_VAL(ac_cv_linux_config_modversions,[ - AC_TRY_COMPILE( -[#include -#include -], -[#if !defined(CONFIG_MODVERSIONS) -lose; -#endif -], - ac_cv_linux_config_modversions=yes, - ac_cv_linux_config_modversions=no)]) - AC_MSG_RESULT($ac_cv_linux_config_modversions) AC_MSG_CHECKING(which kernel modules to build) if test "x$ac_linux_rhconfig" = "xyes"; then MPS="MP SP" - elif test "x$ac_cv_linux_config_modversions" = "xno" -a "$AFS_SYSKVERS" -lt 26; then - MPS="MP SP" else AC_CACHE_VAL(ac_cv_linux_config_smp, [ AC_TRY_COMPILE(