Module: xenomai-forge Branch: next Commit: f8dfc3f064ed75deda2336cd5db6bf4713f60700 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=f8dfc3f064ed75deda2336cd5db6bf4713f60700
Author: Philippe Gerum <r...@xenomai.org> Date: Tue Mar 18 09:19:21 2014 +0100 configure: select fuse version via CFLAGS --- configure | 8 +------- configure.ac | 4 +--- include/xeno_config.h.in | 6 ------ 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/configure b/configure index ee77611..3d22f1a 100755 --- a/configure +++ b/configure @@ -13165,16 +13165,10 @@ else $as_echo "yes" >&6; } fi - + FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=25" $as_echo "#define CONFIG_XENO_REGISTRY 1" >>confdefs.h - -$as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h - - -$as_echo "#define FUSE_USE_VERSION 25" >>confdefs.h - fi if test x$use_registry = xy; then XENO_REGISTRY_TRUE= diff --git a/configure.ac b/configure.ac index 99977dd..2e7dc90 100644 --- a/configure.ac +++ b/configure.ac @@ -287,10 +287,8 @@ AC_MSG_RESULT(${use_registry:-no}) if test x$use_registry = xy; then PKG_CHECK_MODULES(FUSE, fuse) - + FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=25" AC_DEFINE(CONFIG_XENO_REGISTRY,1,[config]) - AC_DEFINE(_FILE_OFFSET_BITS,64,[config]) - AC_DEFINE(FUSE_USE_VERSION,25,[config]) fi AM_CONDITIONAL(XENO_REGISTRY,[test x$use_registry = xy]) diff --git a/include/xeno_config.h.in b/include/xeno_config.h.in index 132b1ad..fe9e02c 100644 --- a/include/xeno_config.h.in +++ b/include/xeno_config.h.in @@ -86,9 +86,6 @@ #ifdef __IN_XENO__ -/* config */ -#undef FUSE_USE_VERSION - /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H @@ -178,7 +175,4 @@ `char[]'. */ #undef YYTEXT_POINTER -/* config */ -#undef _FILE_OFFSET_BITS - #endif /* __IN_XENO__ */ _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git