📄 configure
字号:
_ACEOF# Keep a trace of the command line.# Strip out --no-create and --no-recursion so they do not pile up.# Strip out --silent because we don't want to record it for future runs.# Also quote any args containing shell meta-characters.# Make two passes to allow for proper duplicate-argument suppression.ac_configure_args=ac_configure_args0=ac_configure_args1=ac_must_keep_next=falsefor ac_pass in 1 2do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac donedone$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }# When interrupted or exit'd, cleanup temporary files, and complete# config.log. We remove comments because anyway the quotes in there# would cause problems or look ugly.# WARNING: Use '\'' to represent an apostrophe within the trap.# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX## ---------------- #### Cache variables. #### ---------------- ##_ASBOX echo # The following way of writing the cache mishandles newlines in values,( 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=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort) echo cat <<\_ASBOX## ----------------- #### Output variables. #### ----------------- ##_ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX## ------------------- #### File substitutions. #### ------------------- ##_ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX## ----------- #### confdefs.h. #### ----------- ##_ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status' 0for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signaldoneac_signal=0# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -f -r conftest* confdefs.h# Predefined preprocessor variables.cat >>confdefs.h <<_ACEOF#define PACKAGE_NAME "$PACKAGE_NAME"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_TARNAME "$PACKAGE_TARNAME"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_VERSION "$PACKAGE_VERSION"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_STRING "$PACKAGE_STRING"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"_ACEOF# Let the site file select an alternate cache file if it wants to.# Prefer explicitly selected file to automatically selected ones.if test -n "$CONFIG_SITE"; then set x "$CONFIG_SITE"elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site"else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site"fishiftfor ac_site_filedo if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fidoneif test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fielse { echo "$as_me:$LINENO: creating cache $cache_file" >&5echo "$as_me: creating cache $cache_file" >&6;} >$cache_filefi# Check that the precious variables saved in the cache have kept the same# value.ac_cache_corrupted=falsefor ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fidoneif $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; }fiac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnu# Package informationMYLIBVER=5MYLIBREV=13MYFORMATVER="1.0"# TargetsMYHEADERFILES="tcutil.h tchdb.h tcbdb.h tcfdb.h tcadb.h"MYLIBRARYFILES="libtokyocabinet.a"MYLIBOBJFILES="tcutil.o tchdb.o tcbdb.o tcfdb.o tcadb.o myconf.o md5.o"MYCOMMANDFILES="tcutest tcumttest tcucodec tchtest tchmttest tchmgr"MYCOMMANDFILES="$MYCOMMANDFILES tcbtest tcbmttest tcbmgr tcftest tcfmttest tcfmgr"MYCOMMANDFILES="$MYCOMMANDFILES tcatest tcamgr"MYCGIFILES="tcawmgr.cgi"MYMAN1FILES="tcutest.1 tcumttest.1 tcucodec.1 tchtest.1 tchmttest.1 tchmgr.1"MYMAN1FILES="$MYMAN1FILES tcbtest.1 tcbmttest.1 tcbmgr.1 tcftest.1 tcfmttest.1 tcfmgr.1"MYMAN1FILES="$MYMAN1FILES tcatest.1 tcamgr.1"MYMAN3FILES="tokyocabinet.3 tcutil.3 tcxstr.3 tclist.3 tcmap.3 tctree.3 tcmdb.3 tcmpool.3"MYMAN3FILES="$MYMAN3FILES tchdb.3 tcbdb.3 tcfdb.3 tcadb.3"MYDOCUMENTFILES="COPYING ChangeLog THANKS doc"MYPCFILES="tokyocabinet.pc"# Building flagsMYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2"MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1"MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"MYCMDLDFLAGS=""MYRUNPATH="\$(LIBDIR)"MYLDLIBPATHENV="LD_LIBRARY_PATH"MYPOSTCMD="true"# Building pathspathtmp="$PATH"PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp"LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"CPATH="$HOME/include:/usr/local/include:$CPATH"PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH#================================================================# Options#================================================================# Internal variablesenables=""# Debug mode# Check whether --enable-debug was given.if test "${enable_debug+set}" = set; then enableval=$enable_debug;fiif test "$enable_debug" = "yes"then MYCFLAGS="-std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0" MYCPPFLAGS="$MYCPPFLAGS -UNDEBUG" MYCMDLDFLAGS="$MYCMDLDFLAGS -static" enables="$enables (debug)"fi# Developping mode# Check whether --enable-devel was given.if test "${enable_devel+set}" = set; then enableval=$enable_devel;fiif test "$enable_devel" = "yes"then MYCFLAGS="-std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O2 -pipe" MYCPPFLAGS="$MYCPPFLAGS -UNDEBUG" enables="$enables (devel)"fi# Profiling mode# Check whether --enable-profile was given.if test "${enable_profile+set}" = set; then enableval=$enable_profile;fiif test "$enable_profile" = "yes"then MYCFLAGS="-std=c99 -Wall -fPIC -pedantic -fsigned-char -g -pg -O2 -pipe" enables="$enables (profile)"fi# Static mode# Check whether --enable-static was given.if test "${enable_static+set}" = set; then enableval=$enable_static;fiif test "$enable_static" = "yes"then MYCMDLDFLAGS="$MYCMDLDFLAGS -static" enables="$enables (static)"fi# Fastest mode# Check whether --enable-fastest was given.if test "${enable_fastest+set}" = set; then enableval=$enable_fastest;fiif test "$enable_fastest" = "yes"then MYCFLAGS="-std=c99 -Wall -fPIC -pedantic -fsigned-char -O3" MYCFLAGS="$MYCFLAGS -fomit-frame-pointer -fforce-addr -minline-all-stringops" MYCPPFLAGS="$MYCPPFLAGS -D_MYFASTEST" enables="$enables (fastest)"fi# 64-bit offset mode# Check whether --enable-off64 was given.if test "${enable_off64+set}" = set; then enableval=$enable_off64;fiif test "$enable_off64" = "yes"then MYCPPFLAGS="$MYCPPFLAGS -D_FILE_OFFSET_BITS=64" enables="$enables (off64)"fi# Swapping byte-orders mode# Check whether --enable-swab was given.if test "${enable_swab+set}" = set; then enableval=$enable_swab;fiif test "$enable_swab" = "yes"then MYCPPFLAGS="$MYCPPFLAGS -D_MYSWAB" enables="$enables (swab)"fi# Micro yield mode# Check whether --enable-uyield was given.if test "${enable_uyield+set}" = set; then enableval=$enable_uyield;fiif test "$enable_uyield" = "yes"then MYCPPFLAGS="$MYCPPFLAGS -D_MYMICROYIELD" enables="$enables (uyield)"fi# Disable ZLIB compression# Check whether --enable-zlib was given.if test "${enable_zlib+set}" = set; then enableval=$enable_zlib;fiif test "$enable_zlib" = "no"then MYCPPFLAGS="$MYCPPFLAGS -D_MYNOZLIB" enables="$enables (no-zlib)"fi# Enable BZIP2 compression# Check whether --enable-bzip was given.if test "${enable_bzip+set}" = set; then
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -