Whamcloud - gitweb
LU-3953 build: configure output improvments
[fs/lustre-release.git] / config / lustre-build-ldiskfs.m4
index 4b15de3..e06527e 100644 (file)
@@ -5,10 +5,12 @@ AC_MSG_CHECKING([which ldiskfs series to use])
 
 SER=
 AS_IF([test x$RHEL_KERNEL = xyes], [
+       AS_VERSION_COMPARE([$RHEL_KERNEL_VERSION],[2.6.32-431],[
        AS_VERSION_COMPARE([$RHEL_KERNEL_VERSION],[2.6.32-343],[
        AS_VERSION_COMPARE([$RHEL_KERNEL_VERSION],[2.6.32],[],
        [SER="2.6-rhel6.series"],[SER="2.6-rhel6.series"])],
-       [SER="2.6-rhel6.4.series"],[SER="2.6-rhel6.4.series"])
+       [SER="2.6-rhel6.4.series"],[SER="2.6-rhel6.4.series"])],
+       [SER="2.6-rhel6.5.series"],[SER="2.6-rhel6.5.series"])
 ], [test x$SUSE_KERNEL = xyes], [
        AS_VERSION_COMPARE([$LINUXRELEASE],[3.0.0],[
        AS_VERSION_COMPARE([$LINUXRELEASE],[2.6.32],[],
@@ -114,8 +116,11 @@ AC_ARG_WITH([ldiskfs],
        [],
        [AC_MSG_WARN([--with-ldiskfs is deprecated, please use --enable-ldiskfs])
        AS_IF([test x$withval != xyes -a x$withval != xno],
-               [AC_MSG_ERROR([the ldiskfs option is deprecated, and
-                       no longer supports paths to external ldiskfs source])])
+               [AC_MSG_ERROR([
+
+The ldiskfs option is deprecated,
+and no longer supports paths to external ldiskfs source
+])])
        ]
 )
 
@@ -198,7 +203,6 @@ Disabling ldiskfs support because complete ext4 source does not exist.
 If you are building using kernel-devel packages and require ldiskfs
 server support then ensure that the matching kernel-debuginfo-common
 and kernel-debuginfo-common-<arch> packages are installed.
-
 ])
 
 fi