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

📄 configure

📁 一个linux下NTFS文件格式源代码
💻
📖 第 1 页 / 共 5 页
字号:
#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_mode_t=yeselse  rm -rf conftest*  ac_cv_type_mode_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_mode_t" 1>&6if test $ac_cv_type_mode_t = no; then  cat >> confdefs.h <<\EOF#define mode_t intEOFfiecho $ac_n "checking for off_t""... $ac_c" 1>&6echo "configure:1806: checking for off_t" >&5if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1811 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_off_t=yeselse  rm -rf conftest*  ac_cv_type_off_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_off_t" 1>&6if test $ac_cv_type_off_t = no; then  cat >> confdefs.h <<\EOF#define off_t longEOFfiecho $ac_n "checking for size_t""... $ac_c" 1>&6echo "configure:1839: checking for size_t" >&5if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1844 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_size_t=yeselse  rm -rf conftest*  ac_cv_type_size_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_size_t" 1>&6if test $ac_cv_type_size_t = no; then  cat >> confdefs.h <<\EOF#define size_t unsignedEOFfifor ac_hdr in getopt.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1876: checking for $ac_hdr" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1881 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF else  echo "$ac_t""no" 1>&6fidone# Check whether --enable-device or --disable-device was given.if test "${enable_device+set}" = set; then  enableval="$enable_device"     cat >> confdefs.h <<EOF#define NTFS_VOLUME "$enableval"EOF   ntfs_volume=$enableval  fi# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then  enableval="$enable_debug"  debug=yelse  debug=nfi# Check whether --enable-mount-to or --disable-mount-to was given.if test "${enable_mount_to+set}" = set; then  enableval="$enable_mount_to"  mount_point=$enablevalfi# Check whether --enable-rw or --disable-rw was given.if test "${enable_rw+set}" = set; then  enableval="$enable_rw"  cat >> confdefs.h <<\EOF#define CONFIG_NTFS_RW 1EOFfi# Do some error checking and defaulting for the host and target type.# The inputs are:#    configure --host=HOST --target=TARGET --build=BUILD NONOPT## The rules are:# 1. You are not allowed to specify --host, --target, and nonopt at the#    same time.# 2. Host defaults to nonopt.# 3. If nonopt is not specified, then host defaults to the current host,#    as determined by config.guess.# 4. Target and build default to nonopt.# 5. If nonopt is not specified, then target and build default to host.# The aliases save the names the user supplied, while $host etc.# will get canonicalized.case $host---$target---$nonopt inNONE---*---* | *---NONE---* | *---*---NONE) ;;*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;esac# Make sure we can run config.sub.if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }fiecho $ac_n "checking host system type""... $ac_c" 1>&6echo "configure:1987: checking host system type" >&5host_alias=$hostcase "$host_alias" inNONE)  case $nonopt in  NONE)    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }    fi ;;  *) host_alias=$nonopt ;;  esac ;;esachost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$host" 1>&6echo $ac_n "checking target system type""... $ac_c" 1>&6echo "configure:2008: checking target system type" >&5target_alias=$targetcase "$target_alias" inNONE)  case $nonopt in  NONE) target_alias=$host_alias ;;  *) target_alias=$nonopt ;;  esac ;;esactarget=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$target" 1>&6echo $ac_n "checking build system type""... $ac_c" 1>&6echo "configure:2026: checking build system type" >&5build_alias=$buildcase "$build_alias" inNONE)  case $nonopt in  NONE) build_alias=$host_alias ;;  *) build_alias=$nonopt ;;  esac ;;esacbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$build" 1>&6test "$host_alias" != "$target_alias" &&  test "$program_prefix$program_suffix$program_transform_name" = \    NONENONEs,x,x, &&  program_prefix=${target_alias}-gcccflags="-pipe -fno-strength-reduce"case "$target_cpu" in  i386) gcccflags="$gcccflags -m386";;  i486) gcccflags="$gcccflags -m486";;  i586 | i696) gcccflags="$gcccflags -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2";;esaccase "$debug" in  y) gcccflags="$gcccflags -O2 -g"     cat >> confdefs.h <<\EOF#define DEBUG 1EOF      ;;  n) gcccflags="$gcccflags -O2 -fomit-frame-pointer";;esaccase "$target_os" in  linux*)        kversion=`sed -n -e "s/^VERSION = \(.*\)/\1/p" /usr/src/linux/Makefile`.`sed -n -e "s/PATCHLEVEL = \(.*\)/\1/p" /usr/src/linux/Makefile`.`sed -n -e "s/SUBLEVEL = \(.*\)/\1/p" /usr/src/linux/Makefile`        case $kversion in      2.0*) specific_dir=linux20;;      2.1*|2.2*) specific_dir=linux21;;    esac    ;;  freebsd* | netbsd*) specific_dir=44bsd;;esactrap '' 1 2 15cat > confcache <<\EOF# 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.  It is not useful on other systems.# If it contains results you don't want to keep, you may remove or edit it.## By default, configure uses ./config.cache as the cache file,# creating it if it does not exist already.  You can give configure# the --cache-file=FILE option to use a different cache file; that is# what configure does when it calls configure scripts in# subdirectories, so they share the cache.# Giving --cache-file=/dev/null disables caching, for debugging configure.# config.status only pays attention to the cache file if you give it the# --recheck option to rerun configure.#EOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# 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.(set) 2>&1 |  case `(ac_space=' '; set | grep ac_space) 2>&1` in  *ac_space=\ *)    # `set' does not quote correctly, so add quotes (double-quote substitution    # turns \\\\ into \\, and sed turns \\ into \).    sed -n \      -e "s/'/'\\\\''/g" \      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"    ;;  *)    # `set' quotes correctly as required by POSIX, so do not add quotes.    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'    ;;  esac >> confcacheif cmp -s $cache_file confcache; then  :else  if test -w $cache_file; then    echo "updating cache $cache_file"    cat confcache > $cache_file  else    echo "not updating unwritable cache $cache_file"  fifirm -f confcachetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15test "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# Any assignment to VPATH causes Sun make to only execute# the first set of double-colon rules, so remove it if not needed.# If there is a colon in the path, we need to keep it.if test "x$srcdir" = x.; then  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'fitrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15DEFS=-DHAVE_CONFIG_H# Without the "./", some shells look in PATH for config.status.: ${CONFIG_STATUS=./config.status}echo creating $CONFIG_STATUSrm -f $CONFIG_STATUScat > $CONFIG_STATUS <<EOF#! /bin/sh# Generated automatically by configure.# Run this file to recreate the current configuration.# This directory was configured as follows,# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:## $0 $ac_configure_args## Compiler output produced by configure, useful for debugging# configure, is in ./config.log if it exists.ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"for ac_optiondo  case "\$ac_option" in  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)    echo "$CONFIG_STATUS generated by autoconf version 2.13"    exit 0 ;;  -help | --help | --hel | --he | --h)    echo "\$ac_cs_usage"; exit 0 ;;  *) echo "\$ac_cs_usage"; exit 1 ;;  esacdoneac_given_srcdir=$srcdirac_given_INSTALL="$INSTALL"trap 'rm -fr `echo "Makefile linux20/GNUmakefile linux21/GNUmakefile 44bsd/Makefile user/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15EOFcat >> $CONFIG_STATUS <<EOF# Protect against being on the right side of a sed subst in config.status.sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF$ac_vpsub$extrasubs%@SHELL@%$SHELL%gs%@CFLAGS@%$CFLAGS%gs%@CPPFLAGS@%$CPPFLAGS%gs%@CXXFLAGS@%$CXXFLAGS%gs%@FFLAGS@%$FFLAGS%gs%@DEFS@%$DEFS%gs%@LDFLAGS@%$LDFLAGS%gs%@LIBS@%$LIBS%gs%@exec_prefix@%$exec_prefix%gs%@prefix@%$prefix%gs%@program_transform_name@%$program_transform_name%gs%@bindir@%$bindir%gs%@sbindir@%$sbindir%gs%@libexecdir@%$libexecdir%gs%@datadir@%$datadir%gs%@sysconfdir@%$sysconfdir%gs%@sharedstatedir@%$sharedstatedir%gs%@localstatedir@%$localstatedir%gs%@libdir@%$libdir%gs%@includedir@%$includedir%gs%@oldincludedir@%$oldincludedir%gs%@infodir@%$infodir%gs%@mandir@%$mandir%gs%@SET_MAKE@%$SET_MAKE%gs%@CC@%$CC%gs%@host@%$host%gs%@host_alias@%$host_alias%gs%@host_cpu@%$host_cpu%gs%@host_vendor@%$host_vendor%gs%@host_os@%$host_os%gs%@build@%$build%gs%@build_alias@%$build_alias%gs%@build_cpu@%$build_cpu

⌨️ 快捷键说明

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