diff options
Diffstat (limited to 'kernel/configure.ac')
-rw-r--r-- | kernel/configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/kernel/configure.ac b/kernel/configure.ac index 3b06f46..f078427 100644 --- a/kernel/configure.ac +++ b/kernel/configure.ac @@ -49,9 +49,18 @@ if echo "$kernsrcver" | grep -q "^2.4"; then [#include <linux/fs.h>]) CFLAGS="$old_cflags" fi + +AC_MSG_CHECKING([whether fs_subsys is declared]) +if grep -q fs_subsys $kernelsrc/include/linux/fs.h; then + AC_DEFINE(HAVE_FS_SUBSYS, 1, [Kernel defines fs_subsys]) + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) +fi + AC_MSG_CHECKING([if kernel has extended attribute support]) if test -f $kernelsrc/include/linux/xattr.h; then - AC_DEFINE(HAVE_KERNEL_XATTR, 1, [Kernel has xattr support],,) + AC_DEFINE(HAVE_KERNEL_XATTR, 1, [Kernel has xattr support]) AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) |