aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/configure.ac
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-12-01 18:39:12 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-12-01 18:39:12 +0000
commit039322d8f1295bf20057303882bf1202a03d125e (patch)
tree67d8e3b3a3daf2d55705eaa4ab88a3042b317190 /kernel/configure.ac
parent83a074415d72e5dae0a7836fbe1f8b6b8cd3a098 (diff)
downloadlibfuse-039322d8f1295bf20057303882bf1202a03d125e.tar.gz
cleanup
Diffstat (limited to 'kernel/configure.ac')
-rw-r--r--kernel/configure.ac11
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])