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],[],
[SER="2.6-sles11.series"],[SER="2.6-sles11.series"])],
- [SER="3.0-sles11.series"],[SER="3.0-sles11.series"])
+ [SER="3.0-sles11.series"],[
+ PLEV=$(grep PATCHLEVEL /etc/SuSE-release | sed -e 's/.*= *//')
+ case $PLEV in
+ 2) SER="3.0-sles11.series"
+ ;;
+ 3) SER="3.0-sles11sp3.series"
+ ;;
+ esac
+ ])
])
LDISKFS_SERIES=$SER
[],
[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
+])])
]
)
LDISKFS_LINUX_SERIES
LDISKFS_AC_PATCH_PROGRAM
- LB_EXT4_SRC_DIR
LB_EXT_FREE_BLOCKS_WITH_BUFFER_HEAD
LB_EXT_PBLOCK
AC_DEFINE(CONFIG_LDISKFS_FS_POSIX_ACL, 1, [posix acls for ldiskfs])
AC_DEFINE(CONFIG_LDISKFS_FS_SECURITY, 1, [fs security for ldiskfs])
AC_DEFINE(CONFIG_LDISKFS_FS_XATTR, 1, [extened attributes for ldiskfs])
+ AC_DEFINE(CONFIG_LDISKFS_FS_RW, 1, [enable rw access for ldiskfs])
AC_SUBST(LDISKFS_SUBDIR, ldiskfs)
AC_DEFINE(HAVE_LDISKFS_OSD, 1, Enable ldiskfs osd)
])
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