aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-09-13 14:56:57 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-09-13 14:56:57 +0000
commit442d96559f69616c5ddb4a859dd29a5bbee8804c (patch)
tree690168ec9d6f8d2f9fd7eb342e658473b09be593 /configure.in
parent09045c36277124dfd308f2df6de30efc170f81e9 (diff)
downloadlibfuse-442d96559f69616c5ddb4a859dd29a5bbee8804c.tar.gz
*** empty log message ***
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 7e715c7..0e76491 100644
--- a/configure.in
+++ b/configure.in
@@ -91,13 +91,16 @@ if test "$enable_kernel_module" != "no"; then
isuml=no
KERNELMAKE_PARAMS=
+ KERNELCPPFLAGS=
AC_MSG_CHECKING([if this is user mode linux])
if test -f $kernelsrc/include/linux/autoconf.h && grep -q "^#define CONFIG_USERMODE 1" $kernelsrc/include/linux/autoconf.h; then
isuml=yes
KERNELMAKE_PARAMS="ARCH=um"
+ KERNELCPPFLAGS="-D__arch_um__ -DSUBARCH=\\\"i386\\\" -D_LARGEFILE64_SOURCE -I${kernelsrc}/arch/um/include -Derrno=kernel_errno -I${kernelsrc}/arch/um/kernel/tt/include -I${kernelsrc}/arch/um/kernel/skas/include"
fi
AC_MSG_RESULT([$isuml])
AC_SUBST(KERNELMAKE_PARAMS)
+ AC_SUBST(KERNELCPPFLAGS)
fi
if test "$enable_lib" != "no"; then