⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 FUSE文件系统开发工具,将内核层面的文件系统开发过程平移到应用层面上来。
💻
📖 第 1 页 / 共 5 页
字号:
	checkmodule=no	{ echo "$as_me:$LINENO: checking if FUSE is loaded as a module" >&5echo $ECHO_N "checking if FUSE is loaded as a module... $ECHO_C" >&6; }	if cat /proc/modules | grep -q "^fuse "; then		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }		checkmodule=yes	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }		{ echo "$as_me:$LINENO: checking if FUSE module is built into the kernel" >&5echo $ECHO_N "checking if FUSE module is built into the kernel... $ECHO_C" >&6; }		if test -e /sys/class/misc/fuse; then			{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }			ENABLE_FUSE_MODULE=n		else			{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }			checkmodule=yes		fi	fi	if test "$checkmodule" = yes; then		{ echo "$as_me:$LINENO: checking if FUSE module is from official kernel" >&5echo $ECHO_N "checking if FUSE module is from official kernel... $ECHO_C" >&6; }		if test ! -f /lib/modules/${runver}/kernel/fs/fuse/fuse.ko; then			{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }		elif fgrep -q "fuse distribution version: " /lib/modules/${runver}/kernel/fs/fuse/fuse.ko 2> /dev/null; then			{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }		else			{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }			ENABLE_FUSE_MODULE=n		fi	fifiif test "$ENABLE_FUSE_MODULE" = y; then	{ echo "$as_me:$LINENO: checking kernel source directory" >&5echo $ECHO_N "checking kernel source directory... $ECHO_C" >&6; }	if test -z "$kernelsrc"; then		kernelbuild=		sourcelink=/lib/modules/${runver}/source		buildlink=/lib/modules/${runver}/build		if test -e $sourcelink; then			kernelsrc=`(cd $sourcelink; /bin/pwd)`		fi		if test -e $buildlink; then			kernelbuild=`(cd $buildlink; /bin/pwd)`		fi		if test -z "$kernelsrc"; then			kernelsrc=$kernelbuild		fi		if test -z "$kernelsrc" -o -z "$kernelbuild"; then			{ echo "$as_me:$LINENO: result: Not found" >&5echo "${ECHO_T}Not found" >&6; }			{ { echo "$as_me:$LINENO: error:	*** Please specify the location of the kernel source with	*** the '--with-kernel=SRCDIR' option" >&5echo "$as_me: error:	*** Please specify the location of the kernel source with	*** the '--with-kernel=SRCDIR' option" >&2;}   { (exit 1); exit 1; }; }		fi	fi	{ echo "$as_me:$LINENO: result: $kernelsrc" >&5echo "${ECHO_T}$kernelsrc" >&6; }	{ echo "$as_me:$LINENO: checking kernel build directory" >&5echo $ECHO_N "checking kernel build directory... $ECHO_C" >&6; }	{ echo "$as_me:$LINENO: result: $kernelbuild" >&5echo "${ECHO_T}$kernelbuild" >&6; }	{ echo "$as_me:$LINENO: checking kernel source version" >&5echo $ECHO_N "checking kernel source version... $ECHO_C" >&6; }	if test -r $kernelbuild/include/linux/version.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/version.h; then		kernsrcver=`(echo "#include <linux/version.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $kernelbuild/include | grep "^kernsrcver=" | cut -d \" -f 2`	elif test -r $kernelbuild/include/linux/utsrelease.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/utsrelease.h; then		kernsrcver=`(echo "#include <linux/utsrelease.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $kernelbuild/include | grep "^kernsrcver=" | cut -d \" -f 2`	fi	if test -z "$kernsrcver"; then		{ echo "$as_me:$LINENO: result: Not found" >&5echo "${ECHO_T}Not found" >&6; }		{ { echo "$as_me:$LINENO: error:	*** Cannot determine the version of the linux kernel source. Please	*** prepare the kernel before running this script" >&5echo "$as_me: error:	*** Cannot determine the version of the linux kernel source. Please	*** prepare the kernel before running this script" >&2;}   { (exit 1); exit 1; }; }	fi	{ echo "$as_me:$LINENO: result: $kernsrcver" >&5echo "${ECHO_T}$kernsrcver" >&6; }	kmoduledir=${INSTALL_MOD_PATH}/lib/modules/$kernsrcver	if echo "$kernsrcver" | egrep -q "^(2.4|2.6.[0-8]([^0-9]|\$))"; then		bad_kernel_version=yes		{ echo "$as_me:$LINENO:NOTE:    Disabled building the kernel module, because this release onlyNOTE:    supports Linux versions 2.6.9 or later.  You can use the kernelNOTE:    module from an earlier FUSE release with the library from thisNOTE:    release." >&5echo "$as_me:NOTE:    Disabled building the kernel module, because this release onlyNOTE:    supports Linux versions 2.6.9 or later.  You can use the kernelNOTE:    module from an earlier FUSE release with the library from thisNOTE:    release." >&6;}	else		fuse_configured=no		kernel_autoconf=$kernelbuild/include/linux/autoconf.h		{ echo "$as_me:$LINENO: checking if FUSE is configured in the kernel" >&5echo $ECHO_N "checking if FUSE is configured in the kernel... $ECHO_C" >&6; }		if test -f $kernel_autoconf; then			if grep -q "^#define CONFIG_FUSE_FS 1" $kernel_autoconf || grep -q "^#define CONFIG_FUSE_FS_MODULE 1" $kernel_autoconf; then				fuse_configured=yes			fi		fi		{ echo "$as_me:$LINENO: result: $fuse_configured" >&5echo "${ECHO_T}$fuse_configured" >&6; }		if test -z "$enable_kernel_module" -a "$fuse_configured" = yes; then			ENABLE_FUSE_MODULE=n		fi	fifiif test "$ENABLE_FUSE_MODULE" = n; then	{ echo "$as_me:$LINENO:NOTE:     Detected that FUSE is already present in the kernel, soNOTE:     building of kernel module is disabled.  To force buildingNOTE:     of kernel module use the '--enable-kernel-module' option." >&5echo "$as_me:NOTE:     Detected that FUSE is already present in the kernel, soNOTE:     building of kernel module is disabled.  To force buildingNOTE:     of kernel module use the '--enable-kernel-module' option." >&6;}fiif test "$enable_kernel_module" = no; then	ENABLE_FUSE_MODULE=nfiif test "$bad_kernel_version" = yes; then	ENABLE_FUSE_MODULE=nfiif test "$ENABLE_FUSE_MODULE" = y; then	{ echo "$as_me:$LINENO: checking if kernel defines kzalloc function" >&5echo $ECHO_N "checking if kernel defines kzalloc function... $ECHO_C" >&6; }	if egrep -qw "kzalloc" $kernelsrc/include/linux/slab.h; thencat >>confdefs.h <<\_ACEOF#define HAVE_KZALLOC 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking if kernel defines fs_subsys" >&5echo $ECHO_N "checking if kernel defines fs_subsys... $ECHO_C" >&6; }	if egrep -qw "fs_subsys" $kernelsrc/include/linux/fs.h; thencat >>confdefs.h <<\_ACEOF#define HAVE_FS_SUBSYS 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking whether lookup_instantiate_filp is defined" >&5echo $ECHO_N "checking whether lookup_instantiate_filp is defined... $ECHO_C" >&6; }	if test -f $kernelsrc/include/linux/namei.h && egrep -q "lookup_instantiate_filp" $kernelsrc/include/linux/namei.h; thencat >>confdefs.h <<\_ACEOF#define HAVE_LOOKUP_INSTANTIATE_FILP 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking if umount_begin is passed a vfsmount" >&5echo $ECHO_N "checking if umount_begin is passed a vfsmount... $ECHO_C" >&6; }	if egrep -q "\(\*umount_begin\) *\(struct vfsmount \*" $kernelsrc/include/linux/fs.h; thencat >>confdefs.h <<\_ACEOF#define UMOUNT_BEGIN_VFSMOUNT 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking if inode has i_blksize field" >&5echo $ECHO_N "checking if inode has i_blksize field... $ECHO_C" >&6; }	if egrep -qw "i_blksize" $kernelsrc/include/linux/fs.h; thencat >>confdefs.h <<\_ACEOF#define HAVE_I_BLKSIZE 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking if inode has i_private field" >&5echo $ECHO_N "checking if inode has i_private field... $ECHO_C" >&6; }	if egrep -qw "i_private" $kernelsrc/include/linux/fs.h; thencat >>confdefs.h <<\_ACEOF#define HAVE_I_PRIVATE 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking if inode has i_mutex field " >&5echo $ECHO_N "checking if inode has i_mutex field ... $ECHO_C" >&6; }	if egrep -qw "i_mutex" $kernelsrc/include/linux/fs.h; thencat >>confdefs.h <<\_ACEOF#define HAVE_I_MUTEX 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking if kernel has mutex.h " >&5echo $ECHO_N "checking if kernel has mutex.h ... $ECHO_C" >&6; }	if test -f $kernelsrc/include/linux/mutex.h; thencat >>confdefs.h <<\_ACEOF#define HAVE_MUTEX_H 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking if kernel has exportfs.h " >&5echo $ECHO_N "checking if kernel has exportfs.h ... $ECHO_C" >&6; }	if test -f $kernelsrc/include/linux/exportfs.h; thencat >>confdefs.h <<\_ACEOF#define HAVE_EXPORTFS_H 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	{ echo "$as_me:$LINENO: checking if kernel has BLOCK option " >&5echo $ECHO_N "checking if kernel has BLOCK option ... $ECHO_C" >&6; }	if test -f $kernelsrc/block/Kconfig && egrep -q "config *BLOCK" $kernelsrc/block/Kconfig; thencat >>confdefs.h <<\_ACEOF#define HAVE_CONFIG_BLOCK 1_ACEOF		{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }	else		{ echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }	fi	isuml=no	KERNELMAKE_PARAMS=	KERNELCPPFLAGS=	{ echo "$as_me:$LINENO: checking if this is user mode linux" >&5echo $ECHO_N "checking if this is user mode linux... $ECHO_C" >&6; }	if test -f $kernelbuild/include/linux/autoconf.h && egrep -q "^#define CONFIG_(USERMODE|UML) 1" $kernelbuild/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	{ echo "$as_me:$LINENO: result: $isuml" >&5echo "${ECHO_T}$isuml" >&6; }	if test "$kernelbuild" != "$kernelsrc"; then		KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"	fifiac_config_files="$ac_config_files Makefile"cat >confcache <<\_ACEOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and configure runs, see configure's option --config-cache.# It is not useful on other systems.  If it contains results you don't# want to keep, you may remove or edit it.## config.status only pays attention to the cache file if you give it# the --recheck option to rerun configure.## `ac_cv_env_foo' variables (set or unset) will be overridden when# loading this file, other *unset* `ac_cv_foo' will be assigned the# following values._ACEOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, we kill variables containing newlines.# Ultrix sh set writes to stderr and can't be redirected directly,# and sets the high bit in the cache file unless we assign to the vars.(  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do    eval ac_val=\$$ac_var    case $ac_val in #(    *${as_nl}*)      case $ac_var in #(      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;      esac      case $ac_var in #(      _ | IFS | as_nl) ;; #(      *) $as_unset $ac_var ;;      esac ;;    esac  done  (set) 2>&1 |    case $as_nl`(ac_space=' '; set) 2>&1` in #(    *${as_nl}ac_space=\ *)      # `set' does not quote correctly, so add quotes (double-quote      # substitution turns \\\\ into \\, and sed turns \\ into \).      sed -n \	"s/'/'\\\\''/g;	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"      ;; #(    *)      # `set' quotes correctly as required by POSIX, so do not add quotes.      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"      ;;    esac |    sort) |  sed '     /^ac_cv_env_/b end     t clear     :clear     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/     t end     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/     :end' >>confcacheif diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if test -w "$cache_file"; then    test "x$cache_file" != "x/dev/null" &&      { echo "$as_me:$LINENO: updating cache $cache_file" >&5echo "$as_me: updating cache $cache_file" >&6;}    cat confcache >$cache_file  else    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5echo "$as_me: not updating unwritable cache $cache_file" >&6;}  fifirm -f confcachetest "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'DEFS=-DHAVE_CONFIG_Hac_libobjs=ac_ltlibobjs=for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  # 1. Remove the extension, and $U if already installed.  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'  ac_i=`echo "$ac_i" | sed "$ac_script"`  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR  #    will be set to the directory where LIBOBJS objects are built.  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'doneLIBOBJS=$ac_libobjsLTLIBOBJS=$ac_ltlibobjs: ${CONFIG_STATUS=./config.status}ac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files $CONFIG_STATUS"{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5echo "$as_me: creating $CONFIG_STATUS" >&6;}cat >$CONFIG_STATUS <<_ACEOF#! $SHELL# Generated by $as_me.# Run this file to recreate the current configuration.# Compiler output produced by configure, useful for debugging# configure, is in config.log if it exists.debug=falseac_cs_recheck=falseac_cs_silent=falseSHELL=\${CONFIG_SHELL-$SHELL}_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF## --------------------- #### M4sh Initialization.  #### --------------------- ### Be more Bourne compatibleDUALCASE=1; export DUALCASE # for MKS shif test -n "${ZSH_VERSION+

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -