📄 configure
字号:
test -n "${sys_scm}" || sys_scm="CVS"############################################################################## Basic hosts configuration.############################################################################## Check whether --with-sys-default-domain or --without-sys-default-domain was given.if test "${with_sys_default_domain+set}" = set; then withval="$with_sys_default_domain" sys_default_domain="$withval"fi;# Check whether --with-sys-fallback-domain or --without-sys-fallback-domain was given.if test "${with_sys_fallback_domain+set}" = set; then withval="$with_sys_fallback_domain" sys_fallback_domain="$withval"fi;# Check whether --with-sys-internal-network or --without-sys-internal-network was given.if test "${with_sys_internal_network+set}" = set; then withval="$with_sys_internal_network" sys_internal_network="$withval"fi;# Check whether --with-sys-cvs-host or --without-sys-cvs-host was given.if test "${with_sys_cvs_host+set}" = set; then withval="$with_sys_cvs_host" sys_cvs_host="$withval"fi;# Check whether --with-project-cvs-hosts or --without-project-cvs-hosts was given.if test "${with_project_cvs_hosts+set}" = set; then withval="$with_project_cvs_hosts" sys_cvs_single_host=0fi;# Check whether --with-sys-download-host or --without-sys-download-host was given.if test "${with_sys_download_host+set}" = set; then withval="$with_sys_download_host" sys_download_host="$withval"fi;# Check whether --with-sys-upload-host or --without-sys-upload-host was given.if test "${with_sys_upload_host+set}" = set; then withval="$with_sys_upload_host" sys_upload_host="$withval"fi;# Check whether --with-sys-shell-host or --without-sys-shell-host was given.if test "${with_sys_shell_host+set}" = set; then withval="$with_sys_shell_host" sys_shell_host="$withval"fi;# Check whether --with-sys-users-host or --without-sys-users-host was given.if test "${with_sys_users_host+set}" = set; then withval="$with_sys_users_host" sys_users_host="$withval"fi;# Check whether --with-sys-docs-host or --without-sys-docs-host was given.if test "${with_sys_docs_host+set}" = set; then withval="$with_sys_docs_host" sys_docs_host="$withval"fi;# Check whether --with-sys-lists-host or --without-sys-lists-host was given.if test "${with_sys_lists_host+set}" = set; then withval="$with_sys_lists_host" sys_lists_host="$withval"fi;# Check whether --with-sys-dns1-host or --without-sys-dns1-host was given.if test "${with_sys_dns1_host+set}" = set; then withval="$with_sys_dns1_host" sys_dns1_host="$withval"fi;# Check whether --with-sys-dns2-host or --without-sys-dns2-host was given.if test "${with_sys_dns2_host+set}" = set; then withval="$with_sys_dns2_host" sys_dns2_host="$withval"fi;# Check whether --with-sys-dbhost or --without-sys-dbhost was given.if test "${with_sys_dbhost+set}" = set; then withval="$with_sys_dbhost" sys_dbhost="$withval"fi;# Check whether --with-sys-dbreadhost or --without-sys-dbreadhost was given.if test "${with_sys_dbreadhost+set}" = set; then withval="$with_sys_dbreadhost" sys_dbreadhost="$withval"fi;# Check whether --with-sys-dbreaddb or --without-sys-dbreaddb was given.if test "${with_sys_dbreaddb+set}" = set; then withval="$with_sys_dbreaddb" sys_dbreaddb="$withval"fi;# Check whether --with-sys-dbname or --without-sys-dbname was given.if test "${with_sys_dbname+set}" = set; then withval="$with_sys_dbname" sys_dbname="$withval"fi;# Check whether --with-sys-dbuser or --without-sys-dbuser was given.if test "${with_sys_dbuser+set}" = set; then withval="$with_sys_dbuser" sys_dbuser="$withval"fi;# Check whether --with-sys-dbpasswd or --without-sys-dbpasswd was given.if test "${with_sys_dbpasswd+set}" = set; then withval="$with_sys_dbpasswd" sys_dbpasswd="$withval"fi;############################################################################## optional features (LDAP, JABBER etc )########################################################################################################################################################### LDAP# Check whether --enable-ldap or --disable-ldap was given.if test "${enable_ldap+set}" = set; then enableval="$enable_ldap" sys_use_ldap=1fi;# Check whether --with-sys-ldap-host or --without-sys-ldap-host was given.if test "${with_sys_ldap_host+set}" = set; then withval="$with_sys_ldap_host" sys_ldap_host="$withval"fi;# Check whether --with-sys-ldap-base-dn or --without-sys-ldap-base-dn was given.if test "${with_sys_ldap_base_dn+set}" = set; then withval="$with_sys_ldap_base_dn" sys_ldap_base_dn="$withval"fi;# Check whether --with-sys-ldap-bind-dn or --without-sys-ldap-bind-dn was given.if test "${with_sys_ldap_bind_dn+set}" = set; then withval="$with_sys_ldap_bind_dn" sys_ldap_bind_dn="$withval"fi;# Check whether --with-sys-ldap-admin-dn or --without-sys-ldap-admin-dn was given.if test "${with_sys_ldap_admin_dn+set}" = set; then withval="$with_sys_ldap_admin_dn" sys_ldap_admin_dn="$withval"fi;# Check whether --with-sys-ldap-password or --without-sys-ldap-password was given.if test "${with_sys_ldap_password+set}" = set; then withval="$with_sys_ldap_password" sys_ldap_passwd="$withval"fi;############################################################################## JABBER# Check whether --enable-jabber or --disable-jabber was given.if test "${enable_jabber+set}" = set; then enableval="$enable_jabber" sys_use_jaber=1fi;# Check whether --with-sys-jabber-host or --without-sys-jabber-host was given.if test "${with_sys_jabber_host+set}" = set; then withval="$with_sys_jabber_host" sys_jabber_host="$withval"fi;# Check whether --with-sys-jabber-user or --without-sys-jabber-user was given.if test "${with_sys_jabber_user+set}" = set; then withval="$with_sys_jabber_user" sys_jabber_user="$withval"fi;# Check whether --with-sys-jabber-pass or --without-sys-jabber-pass was given.if test "${with_sys_jabber_pass+set}" = set; then withval="$with_sys_jabber_pass" sys_jabber_pass="$withval"fi;############################################################################## Paths############################################################################## Check whether --with-sys-path-to-jpgraph or --without-sys-path-to-jpgraph was given.if test "${with_sys_path_to_jpgraph+set}" = set; then withval="$with_sys_path_to_jpgraph" sys_path_to_jpgraph="$withval"fi;# Check whether --with-sys-upload-dir or --without-sys-upload-dir was given.if test "${with_sys_upload_dir+set}" = set; then withval="$with_sys_upload_dir" sys_upload_dir="$withval"fi;# Check whether --with-homedir-prefix or --without-homedir-prefix was given.if test "${with_homedir_prefix+set}" = set; then withval="$with_homedir_prefix" homedir_prefix="$withval"fi;# Check whether --with-groupdir-prefix or --without-groupdir-prefix was given.if test "${with_groupdir_prefix+set}" = set; then withval="$with_groupdir_prefix" groupdir_prefix="$withval"fi;############################################################################## Misc config############################################################################## Check whether --with-db or --without-db was given.if test "${with_db+set}" = set; then withval="$with_db" sys_server="$withval"fi;# Check whether --with-scm or --without-scm was given.if test "${with_scm+set}" = set; then withval="$with_scm" sys_scm="$withval"fi;# Check whether --with-sys-name or --without-sys-name was given.if test "${with_sys_name+set}" = set; then withval="$with_sys_name" sys_name="$withval"fi;# Check whether --with-sys-news-group or --without-sys-news-group was given.if test "${with_sys_news_group+set}" = set; then withval="$with_sys_news_group" sys_news_group="$withval"fi;# Check whether --with-sys-stats-group or --without-sys-stats-group was given.if test "${with_sys_stats_group+set}" = set; then withval="$with_sys_stats_group" sys_stats_group="$withval"fi;# Check whether --with-sys-peer-rating-group or --without-sys-peer-rating-group was given.if test "${with_sys_peer_rating_group+set}" = set; then withval="$with_sys_peer_rating_group" sys_peer_rating_group="$withval"fi;# Check whether --with-default-trove-cat or --without-default-trove-cat was given.if test "${with_default_trove_cat+set}" = set; then withval="$with_default_trove_cat" default_trove_cat="$withval"fi;# Check whether --with-sys-theme or --without-sys-theme was given.if test "${with_sys_theme+set}" = set; then withval="$with_sys_theme" sys_theme="$withval"fi;# Check whether --with-sys-lang or --without-sys-lang was given.if test "${with_sys_lang+set}" = set; then withval="$with_sys_lang" sys_lang="$withval"fi;# Check whether --with-sys-session-key or --without-sys-session-key was given.if test "${with_sys_session_key+set}" = set; then withval="$with_sys_session_key" sys_session_key="$withval" echo "$as_me:1448: result: Session key... $SESSION_KEY" >&5echo "${ECHO_T}Session key... $SESSION_KEY" >&6else sys_session_key="`ps aux | $HASHING_PROG`" if test "$HASHING_PROG" == "sum" then POST_PROC=" | $AWK '{print \$1}'" sys_session_key="`echo \"$sys_session_key\" | $AWK '{print \$1}' `" fi echo "$as_me:1459: result: Session key (using \"ps aux | $HASHING_PROG$POST_PROC\")... $sys_session_key" >&5echo "${ECHO_T}Session key (using \"ps aux | $HASHING_PROG$POST_PROC\")... $sys_session_key" >&6fi;############################################################################## check to see if the values given are okay.#############################################################################echo "$as_me:1468: checking whether sys_upload_dir directory exists" >&5echo $ECHO_N "checking whether sys_upload_dir directory exists... $ECHO_C" >&6if test -d "$sys_upload_dir"then echo "$as_me:1472: result: Yes." >&5echo "${ECHO_T}Yes." >&6 if `echo $sys_upload_dir | grep -- "${sys_urlroot}" > /dev/null ` then { { echo "$as_me:1476: error: sys_upload_dir must not be under Document Root ($sys_urlroot)." >&5echo "$as_me: error: sys_upload_dir must not be under Document Root ($sys_urlroot)." >&2;} { (exit 1); exit 1; }; } fielse { { echo "$as_me:1481: error: No." >&5echo "$as_me: error: No." >&2;} { (exit 1); exit 1; }; }fiecho "$as_me:1486: checking whether \"$sys_lang\" is supported" >&5echo $ECHO_N "checking whether \"$sys_lang\" is supported... $ECHO_C" >&6if test -f "$TOP_DIR/www/include/languages/$sys_lang.tab"then echo "$as_me:1490: result: Yes." >&5echo "${ECHO_T}Yes." >&6else { { echo "$as_me:1493: error: No." >&5echo "$as_me: error: No." >&2;} { (exit 1); exit 1; }; }fiecho "$as_me:1498: checking whether the theme \"$sys_theme\" exists" >&5echo $ECHO_N "checking whether the theme \"$sys_theme\" exists... $ECHO_C" >&6if test -d "$TOP_DIR/www/themes/$sys_theme"then echo "$as_me:1502: result: Yes." >&5echo "${ECHO_T}Yes." >&6else { { echo "$as_me:1505: error: $sys_theme theme does not exist." >&5echo "$as_me: error: $sys_theme theme does not exist." >&2;} { (exit 1); exit 1; }; }fi############################################################################## The names of hosts that provide services# DB############################################################################## Paths############################################################################## Misc variables# UIDs############################################################################## Options# LDAP# JABBER############################################################################## process these filesac_config_files="$ac_config_files local.inc sample-apache.vhost"############################################################################## give a summary of the config for quick debugging...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 overriden 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, don't put newlines in cache variables' values.# Ultrix sh set writes to stderr and can't be redirected directly,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -