[418] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: smp

daemon@ATHENA.MIT.EDU (Love)
Thu Dec 10 00:46:37 1998

From owner-arla-drinkers@stacken.kth.se Thu Dec 10 05:46:36 1998
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 10568 invoked from network); 10 Dec 1998 05:46:35 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 10 Dec 1998 05:46:35 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id GAA03729
	for arla-drinkers-list; Thu, 10 Dec 1998 06:41:19 +0100 (MET)
Received: from elixir.e.kth.se (1073744992@elixir.e.kth.se [130.237.48.5])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id GAA03725
	for <arla-drinkers@stacken.kth.se>; Thu, 10 Dec 1998 06:41:15 +0100 (MET)
Received: from hummel.e.kth.se (hummel.e.kth.se [130.237.43.135])
	by elixir.e.kth.se (8.8.7/8.8.7) with ESMTP id GAA17372;
	Thu, 10 Dec 1998 06:41:14 +0100 (MET)
Received: (lha@localhost) by hummel.e.kth.se (8.8.7/8.6.6) id GAA17645; Thu, 10 Dec 1998 06:40:49 +0100 (MET)
From: Love <lha@stacken.kth.se>
To: Gerald Britton <gbritton@mit.edu>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: smp
References: <19981208232300.A4697@light-brigade.mit.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 10 Dec 1998 06:40:46 +0100
In-Reply-To: Gerald Britton's message of Tue, 8 Dec 1998 23:23:00 -0500
Message-ID: <ampv9sbllt.fsf@hummel.e.kth.se>
Lines: 51
X-Mailer: Gnus v5.5/Emacs 20.2
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

Gerald Britton <gbritton@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


home help back first fref pref prev next nref lref last post