smp

Love lha at stacken.kth.se
Thu Dec 10 06:41:19 CET 1998


Gerald Britton <gbritton at mit.edu> writes:

> The fix for smp in 0.17.1 doesn't work, you endup with a "no" in the kernel
> flags, this fix works, or something else would work...

Thanks for pointing it out.

Love


Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/arla/configure.in,v
retrieving revision 1.209
retrieving revision 1.211
diff -u -w -u -w -r1.209 -r1.211
--- configure.in	1998/12/08 00:52:21	1.209
+++ configure.in	1998/12/10 05:34:45	1.211
@@ -195,10 +195,14 @@
   AC_MSG_RESULT(Rhapsody)
   ;;
 linux*)
+  AC_MSG_RESULT(Linux)
   KERNEL_INCLUDE=-I`(cd $srcdir; pwd)`/xfs/linux
   KERNEL_SRCS='bsd-subr.c'
   KERNEL_HDRS=''
-if test "X$smp" = "X"; then
+  AC_MSG_CHECKING(for smp)
+if test "X$smp" = "Xno"; then
+  smp=
+elif test "X$smp" = "X"; then
   AC_EGREP_CPP(
 changequote(, )dnl
 smp_[0-9a-z]*,dnl
@@ -210,10 +214,14 @@
 fi
 fi
 ])
+  if test "X$smp" = "X"; then
+     AC_MSG_RESULT(no)
+  else
+     AC_MSG_RESULT(yes)
+  fi
   KERNEL_CFLAGS="-DMODULE -D__KERNEL__ $smp"
   XFS_SUBDIR=linux
   KERNEL=/dev/null
-  AC_MSG_RESULT(Linux)
   ;;
 osf*)
   KERNEL_INCLUDE=-I`(cd $srcdir; pwd)`/xfs/bsd






More information about the Arla-drinkers mailing list