Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Fri, 29 Sep 2006 07:23:52 +0000 (07:23 +0000)
committerwangdi <wangdi>
Fri, 29 Sep 2006 07:23:52 +0000 (07:23 +0000)
enable split by default

lustre/autoconf/lustre-core.m4

index 19edffa..920c309 100644 (file)
@@ -722,17 +722,14 @@ fi
 # whether to enable quota support
 #
 AC_DEFUN([LC_CONFIG_SPLIT],
-[AC_MSG_CHECKING([whether to enable split support])
+[AC_MSG_CHECKING([whether to disable split support])
 AC_ARG_ENABLE([split], 
-       AC_HELP_STRING([--enable-split],
+       AC_HELP_STRING([--disable-split],
                        [enable split support]),
-       [],[enable_split='no'])
-AC_MSG_RESULT([$enable_split])
-if test x$linux25 != xyes; then
-   enable_split='no'
-fi
-if test x$enable_split != xno; then
-   AC_DEFINE(HAVE_SPLIT_SUPPORT, 1, [Enable split support])
+       [disable_split='yes'],[disable_split='no'])
+AC_MSG_RESULT([$disable_split])
+if test x$disable_split != xyes; then
+   AC_DEFINE(HAVE_SPLIT_SUPPORT, 1, [enable split support])
 fi
 ])
  
@@ -790,7 +787,7 @@ AM_CONDITIONAL(CLIENT, test x$enable_client = xyes)
 AM_CONDITIONAL(SERVER, test x$enable_server = xyes)
 AM_CONDITIONAL(GSS, test x$enable_gss = xyes)
 AM_CONDITIONAL(QUOTA, test x$enable_quota = xyes)
-AM_CONDITIONAL(SPLIT, test x$enable_split = xyes)
+AM_CONDITIONAL(SPLIT, test x$disable_split = xno)
 AM_CONDITIONAL(BLKID, test x$ac_cv_header_blkid_blkid_h = xyes)
 AM_CONDITIONAL(EXT2FS_DEVEL, test x$ac_cv_header_ext2fs_ext2fs_h = xyes)
 ])