Whamcloud - gitweb
2.4 kernels do not have the ext3 xattr config flag that 2.6 kernels have.
authornkj <nkj>
Fri, 28 Jan 2005 12:03:17 +0000 (12:03 +0000)
committernkj <nkj>
Fri, 28 Jan 2005 12:03:17 +0000 (12:03 +0000)
So it must only warn, not abort.

lustre/autoconf/lustre-core.m4

index 4b8cabe..8a39b46 100644 (file)
@@ -263,10 +263,13 @@ AC_SUBST(BACKINGFS)
 case $BACKINGFS in
        ext3)
                # --- Check that ext3 and ext3 xattr are enabled in the kernel
 case $BACKINGFS in
        ext3)
                # --- Check that ext3 and ext3 xattr are enabled in the kernel
+                # --- only warn for ext3 xattr because 2.4 kernels don't have
+                # --- this config flag.
                LC_CONFIG_EXT3([],[
                        AC_MSG_ERROR([Lustre requires that ext3 is enabled in the kernel])
                ],[
                LC_CONFIG_EXT3([],[
                        AC_MSG_ERROR([Lustre requires that ext3 is enabled in the kernel])
                ],[
-                       AC_MSG_ERROR([Lustre requires that extended attributes for ext3 are enabled in the kernel])
+                        AC_MSG_WARN([Lustre requires that extended attributes for ext3 are enabled in the kernel])
+                        AC_MSG_WARN([This build may fail.])
                ])
                ;;
        ldiskfs)
                ])
                ;;
        ldiskfs)