diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2004-05-04 08:49:16 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2004-05-04 08:49:16 +0000 |
commit | 689f563f9bb37e1eaa5075f3d374ab6e598d21dc (patch) | |
tree | cd932023e14717a23aa815d9ccff6e0dcda30e76 /configure.in | |
parent | d30a0f25f353dd56746c922b50bc1bed59d29cfb (diff) | |
download | libfuse-689f563f9bb37e1eaa5075f3d374ab6e598d21dc.tar.gz |
Extended attributes for 2.4
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.in b/configure.in index cd943fe..a41407b 100644 --- a/configure.in +++ b/configure.in @@ -11,7 +11,7 @@ fi AC_SUBST(LD) CFLAGS="-Wall -W -g -O2" -CPPFLAGS="$(CPPFLAGS) -D_FILE_OFFSET_BITS=64" +CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" AC_ARG_ENABLE(kernel-module, [ --enable-kernel-module Compile kernel module, requires --with-kernel option ]) @@ -71,6 +71,14 @@ if test "$enable_kernel_module" != "no"; then [#include <linux/fs.h>]) CFLAGS="$old_cflags" 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_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + isuml=no KERNELMAKE_PARAMS= AC_MSG_CHECKING([if this is user mode linux]) |