From c95a014885978a091ebff8b31d07a06b54f02611 Mon Sep 17 00:00:00 2001
From: wangdi <wangdi>
Date: Thu, 3 Jun 2004 09:05:49 +0000
Subject: [PATCH] get rid of --smfs-enable options after merge in HEAD

---
 lustre/Makefile.in          | 5 +++--
 lustre/configure.in         | 9 ---------
 lustre/smfs/autoMakefile.am | 2 --
 3 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/lustre/Makefile.in b/lustre/Makefile.in
index ad621aaf6c..311435df95 100644
--- a/lustre/Makefile.in
+++ b/lustre/Makefile.in
@@ -15,13 +15,14 @@ subdir-m += obdfilter
 subdir-m += ost
 subdir-m += llite
 subdir-m += cobd
+subdir-m += smfs
+subdir-m += cmobd 
+ 
 
 ifeq ($(PATCHLEVEL),4)
 subdir-m += ptlbd
 endif # PATCHLEVEL = 4
 
 @SNAPFS_TRUE@subdir-m += snapfs
-@SMFS_TRUE@subdir-m += smfs 
-@SMFS_TRUE@subdir-m += cmobd
 
 @INCLUDE_RULES@
diff --git a/lustre/configure.in b/lustre/configure.in
index c57a7da04b..3373fd0e05 100644
--- a/lustre/configure.in
+++ b/lustre/configure.in
@@ -146,15 +146,6 @@ AC_ARG_ENABLE([snapfs],
 AC_MSG_RESULT([$enable_snapfs])
 AM_CONDITIONAL(SNAPFS, test x$enable_snapfs = xyes)
 
-# smfs compilation
-AC_MSG_CHECKING([whether to enable smfs support])
-AC_ARG_ENABLE([smfs],
-	AC_HELP_STRING([--enable-smfs],
-			[build smfs]),
-	[],[enable_smfs='no'])
-AC_MSG_RESULT([$enable_smfs])
-AM_CONDITIONAL(SMFS, test x$enable_smfs = xyes)
-
 sinclude(portals/build.m4)
 sinclude(portals/archdep.m4)
 
diff --git a/lustre/smfs/autoMakefile.am b/lustre/smfs/autoMakefile.am
index 952cfa7794..b93a4abde0 100644
--- a/lustre/smfs/autoMakefile.am
+++ b/lustre/smfs/autoMakefile.am
@@ -3,9 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-if SMFS
 modulefs_DATA = smfs$(KMODEXT)
-endif
 
 MOSTLYCLEANFILES = *.o *.ko *.mod.c
 DIST_SOURCES = $(smfs-objs:%.o=%.c) smfs_internal.h
-- 
GitLab