📄 configure
字号:
## Core tests. #### ------------ ##EOF# Keep a trace of the command line.# Strip out --no-create and --no-recursion so they do not pile up.# Also quote any args containing shell meta-characters.ac_configure_args=ac_sep=for ac_argdo case $ac_arg in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" ac_sep=" " ;; *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" ac_sep=" " ;; esac # Get rid of the leading space.done# 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.trap 'exit_status=$? # Save into config.log some information that might help in debugging. echo >&5 echo "## ----------------- ##" >&5 echo "## Cache variables. ##" >&5 echo "## ----------------- ##" >&5 echo >&5 # The following way of writing the cache mishandles newlines in values,{ (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac;} >&5 sed "/^$/d" confdefs.h >conftest.log if test -s conftest.log; then echo >&5 echo "## ------------ ##" >&5 echo "## confdefs.h. ##" >&5 echo "## ------------ ##" >&5 echo >&5 cat conftest.log >&5 fi (echo; echo) >&5 test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" >&5 echo "$as_me: exit $exit_status" >&5 rm -rf conftest* confdefs* core core.* *.core 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 -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo >confdefs.h# Let the site file select an alternate cache file if it wants to.# Prefer explicitly selected file to automatically selected ones.if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fififor ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:868: loading site script $ac_site_file" >&5echo "$as_me: loading site script $ac_site_file" >&6;} cat "$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:879: 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:887: 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 `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; 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:903: 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:907: 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:913: 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:915: former value: $ac_old_val" >&5echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:917: 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. It doesn't matter if # we pass some twice (in addition to the command line arguments). if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" ;; esac fidoneif $ac_cache_corrupted; then { echo "$as_me:936: 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:938: 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_gnucase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C='' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;;esacecho "#! $SHELL" >conftest.shecho "exit 0" >>conftest.shchmod +x conftest.shif { (echo "$as_me:958: PATH=\".;.\"; conftest.sh") >&5 (PATH=".;."; conftest.sh) 2>&5 ac_status=$? echo "$as_me:961: \$? = $ac_status" >&5 (exit $ac_status); }; then ac_path_separator=';'else ac_path_separator=:fiPATH_SEPARATOR="$ac_path_separator"rm -f conftest.sh# provide a unique file name so autoconf can check that its# in the right placefor ac_prog in mawk gawk nawk awkdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:977: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_AWK="$ac_prog"echo "$as_me:992: found $ac_dir/$ac_word" >&5breakdonefifiAWK=$ac_cv_prog_AWKif test -n "$AWK"; then echo "$as_me:1000: result: $AWK" >&5echo "${ECHO_T}$AWK" >&6else echo "$as_me:1003: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$AWK" && breakdonefor ac_prog in md5sum md5 sumdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:1014: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_HASHING_PROG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$HASHING_PROG"; then ac_cv_prog_HASHING_PROG="$HASHING_PROG" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_HASHING_PROG="$ac_prog"echo "$as_me:1029: found $ac_dir/$ac_word" >&5breakdonefifiHASHING_PROG=$ac_cv_prog_HASHING_PROGif test -n "$HASHING_PROG"; then echo "$as_me:1037: result: $HASHING_PROG" >&5echo "${ECHO_T}$HASHING_PROG" >&6else echo "$as_me:1040: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$HASHING_PROG" && breakdone# If you find that you are having to use too many command line options# to get the settings you require, you should consider adding a new# defaults TYPE, Dont forget that the definitions of the AC_ARG_WITH() macros# will need to be changed to remove the defaults (the last parameter).# Check whether --enable-defaults or --disable-defaults was given.if test "${enable_defaults+set}" = set; then enableval="$enable_defaults" case "$enableval" in DEBIAN|debian) echo "$as_me:1059: result: Using Debian specific defaults (FHS)" >&5echo "${ECHO_T}Using Debian specific defaults (FHS)" >&6 homedir_prefix=/var/lib/gforge/chroot/home/users groupdir_prefix=/var/lib/gforge/chroot/home/groups sys_upload_dir=/var/lib/gforge/download/ TOP_DIR=/usr/share/gforge CGIBIN_DIR=/usr/lib/gforge/cgi-bin sys_urlroot=/usr/share/gforge/www/ sys_ldap_admin_dn="admin,$LDAP_BASE_DN" ;; NONE|none) # use defaults echo "$as_me:1076: result: Using built-in defaults" >&5echo "${ECHO_T}Using built-in defaults" >&6 ;; /*) echo "$as_me:1081: result: Using defaults from $enableval" >&5echo "${ECHO_T}Using defaults from $enableval" >&6 # local defaults are stored in a file, source it. . $enableval ;; */*) { { echo "$as_me:1088: error: \"$enableval\" should be an absolute path" >&5echo "$as_me: error: \"$enableval\" should be an absolute path" >&2;} { (exit 1); exit 1; }; } ;; *) { { echo "$as_me:1094: error: \"$enableval\" not a valid setting for defaults" >&5echo "$as_me: error: \"$enableval\" not a valid setting for defaults" >&2;} { (exit 1); exit 1; }; } ;; esacfi;# This should really be example.com, see RFC2606.# Check whether --with-domain-name or --without-domain-name was given.if test "${with_domain_name+set}" = set; then withval="$with_domain_name" domain_name="$withval"fi;# defaults for when no defaults are specified (or defaults=NONE.this_dir=`dirname $0`test -n "${TOP_DIR}" || TOP_DIR=`(cd $this_dir/../../ ; pwd)`test -n "${domain_name}" || domain_name="company.com"test -n "${sys_default_domain}" || sys_default_domain="gforge.$domain_name"test -n "${sys_fallback_domain}" || sys_fallback_domain="gforge2.$domain_name"test -n "${sys_internal_network}" || sys_internal_network="192.168.1."test -n "${sys_cvs_host}" || sys_cvs_host="cvs.$domain_name"test -n "${sys_cvs_single_host}" || sys_cvs_single_host=1test -n "${sys_download_host}" || sys_download_host="download.$domain_name"test -n "${sys_upload_host}" || sys_upload_host="upload.$domain_name"test -n "${sys_shell_host}" || sys_shell_host="shell.$domain_name"test -n "${sys_users_host}" || sys_users_host="users.$domain_name"test -n "${sys_docs_host}" || sys_docs_host="sfdocs.$domain_name"test -n "${sys_lists_host}" || sys_lists_host="lists.$domain_name"test -n "${sys_dns1_host}" || sys_dns1_host="ns1.$domain_name"test -n "${sys_dns2_host}" || sys_dns2_host="ns2.$domain_name"test -n "${sys_dbhost}" || sys_dbhost="localhost"test -n "${sys_dbreadhost}" || sys_dbreadhost="localhost"test -n "${sys_dbreaddb}" || sys_dbreaddb="stats"test -n "${sys_dbname}" || sys_dbname="alexandria"test -n "${sys_dbuser}" || sys_dbuser="www"test -n "${sys_dbpasswd}" || sys_dbpasswd=""test -n "${sys_use_ldap}" || sys_use_ldap=0test -n "${sys_ldap_host}" || sys_ldap_host="ldap.$domain_name"test -n "${sys_ldap_base_dn}" || sys_ldap_base_dn="`echo $domain_name | awk -F. '{printf(\"dc=%s,dc=%s\",$(NF-1), $NF) }'`"test -n "${sys_ldap_bind_dn}" || sys_ldap_bind_dn="cn=SF_robot,$sys_ldap_base_dn"test -n "${sys_ldap_admin_dn}" || sys_ldap_admin_dn="cn=Manager,$sys_ldap_base_dn"test -n "${sys_ldap_passwd}" || sys_ldap_passwd=""test -n "${sys_use_jabber}" || sys_use_jabber=0test -n "${sys_jabber_host}" || sys_jabber_host="jabber.$domain_name"test -n "${sys_jabber_user}" || sys_jabber_user="noreply"test -n "${sys_jabber_pass}" || sys_jabber_pass="temp123"test -n "${sys_path_to_jpgraph}" || sys_path_to_jpgraph="/path/to/jpgraph/src/"test -n "${sys_upload_dir}" || sys_upload_dir=$TOP_DIR/uploadstest -n "${homedir_prefix}" || homedir_prefix="/home"test -n "${groupdir_prefix}" || groupdir_prefix="/home/groups"test -n "${sys_urlroot}" || sys_urlroot=$TOP_DIR/www/test -n "${sys_name}" || sys_name="prodigy"test -n "${sys_theme}" || sys_theme="gforge"test -n "${sys_lang}" || sys_lang="English"test -n "${sys_news_group}" || sys_news_group=3test -n "${sys_stats_group}" || sys_stats_group=2test -n "${sys_peer_rating_group}" || sys_peer_rating_group=4test -n "${default_trove_cat}" || default_trove_cat=18# currently unusedtest -n "${sys_server}" || sys_server="pgsql"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -