From 689f563f9bb37e1eaa5075f3d374ab6e598d21dc Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 4 May 2004 08:49:16 +0000 Subject: Extended attributes for 2.4 --- configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'configure.in') 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 ]) 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]) -- cgit v1.2.3