From 8502de9a4b4ad3cc106f497ae0c5442e21197262 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 5 Jun 2005 17:20:48 +0000 Subject: [PATCH] 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 --- src/cf/linux-test3.m4 | 15 --------------- 1 file changed, 15 deletions(-) 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( -- 2.39.5