nginx-quic/auto/options

186 lines
5.2 KiB
Plaintext
Raw Normal View History

2003-11-25 17:44:56 -03:00
2003-12-14 17:10:27 -03:00
help=no
2003-11-25 17:44:56 -03:00
2004-05-18 16:28:54 -04:00
PREFIX=
SBIN_PATH=
CONF_PATH=
HTTP_LOG_PATH=
ERROR_LOG_PATH=
PID_PATH=
2003-11-25 17:44:56 -03:00
CC=gcc
2004-03-11 18:34:52 -03:00
CPP=
2003-11-25 17:44:56 -03:00
OBJS=objs
2004-03-11 12:42:41 -03:00
DEBUG=NO
2004-04-14 13:44:28 -04:00
CC_OPT=
2004-03-10 17:56:39 -03:00
CPU=NO
2004-03-10 14:55:19 -03:00
2003-11-25 17:44:56 -03:00
TEST_BUILD_DEVPOLL=NO
2004-01-29 18:45:01 -03:00
TEST_BUILD_EPOLL=NO
2004-02-17 14:53:12 -03:00
TEST_BUILD_RTSIG=NO
2003-11-25 17:44:56 -03:00
2004-02-02 18:19:52 -03:00
EVENT_FOUND=NO
2004-02-17 14:53:12 -03:00
EVENT_RTSIG=NO
2004-02-02 18:19:52 -03:00
EVENT_SELECT=NO
EVENT_POLL=NO
EVENT_AIO=NO
2004-01-23 06:26:18 -03:00
2004-02-23 17:57:12 -03:00
USE_THREADS=NO
2004-06-22 12:43:09 -04:00
HTTP_CHARSET=YES
2003-11-25 17:44:56 -03:00
HTTP_GZIP=YES
2004-07-08 11:17:47 -04:00
HTTP_SSL=NO
2004-01-26 05:52:49 -03:00
HTTP_SSI=YES
2004-06-24 12:07:04 -04:00
HTTP_ACCESS=YES
HTTP_USERID=YES
2004-06-24 03:53:37 -04:00
HTTP_STATUS=YES
HTTP_REWRITE=YES
2003-11-25 17:44:56 -03:00
HTTP_PROXY=YES
2004-02-09 17:47:18 -03:00
USE_PCRE=NO
2004-02-19 05:45:27 -03:00
PCRE=NONE
2004-03-11 18:34:52 -03:00
PCRE_OPT=
2003-11-25 17:44:56 -03:00
2004-07-25 14:34:14 -04:00
USE_OPENSSL=NO
OPENSSL=NONE
2004-02-02 18:19:52 -03:00
USE_MD5=NO
2004-02-09 04:46:43 -03:00
MD5=NONE
2004-03-11 18:34:52 -03:00
MD5_OPT=
2004-03-10 17:56:39 -03:00
MD5_ASM=NO
2003-11-25 17:44:56 -03:00
2004-02-02 18:19:52 -03:00
USE_ZLIB=NO
2004-02-09 04:46:43 -03:00
ZLIB=NONE
2004-03-11 18:34:52 -03:00
ZLIB_OPT=
2004-03-10 17:56:39 -03:00
ZLIB_ASM=NO
2003-11-25 17:44:56 -03:00
for option
do
case "$option" in
-*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;;
*) value="" ;;
esac
case "$option" in
2003-12-14 17:10:27 -03:00
--help) help=yes ;;
2003-11-25 17:44:56 -03:00
2004-05-18 16:28:54 -04:00
--prefix=*) PREFIX="$value" ;;
--sbin-path=*) SBIN_PATH="$value" ;;
--conf-path=*) CONF_PATH="$value" ;;
--http-log-path=*) HTTP_LOG_PATH="$value" ;;
--error-log-path=*) ERROR_LOG_PATH="$value" ;;
--pid-path=*) PID_PATH="$value" ;;
2003-11-25 17:44:56 -03:00
--crossbuild=*) PLATFORM="$value" ;;
--builddir=*) OBJS="$value" ;;
2004-02-17 14:53:12 -03:00
--with-rtsig_module) EVENT_RTSIG=YES ;;
2004-02-02 18:19:52 -03:00
--with-select_module) EVENT_SELECT=YES ;;
2004-02-09 17:47:18 -03:00
--without-select_module) EVENT_SELECT=NONE ;;
2004-02-02 18:19:52 -03:00
--with-poll_module) EVENT_POLL=YES ;;
2004-02-09 17:47:18 -03:00
--without-poll_module) EVENT_POLL=NONE ;;
2004-02-02 18:19:52 -03:00
--with-aio_module) EVENT_AIO=YES ;;
2004-01-23 06:26:18 -03:00
2004-02-23 17:57:12 -03:00
--with-threads=*) USE_THREADS="$value" ;;
--with-threads) USE_THREADS="pthreads" ;;
2004-07-08 11:17:47 -04:00
--with-http_ssl_module) HTTP_SSL=YES ;;
2004-06-22 12:43:09 -04:00
--without-http_charset_module) HTTP_CHARSET=NO ;;
2003-11-25 17:44:56 -03:00
--without-http_gzip_module) HTTP_GZIP=NO ;;
2004-07-08 11:17:47 -04:00
--without-http_ssi_module) HTTP_SSI=NO ;;
--without-http_userid_module) HTTP_USERID=NO ;;
--without-http_access_module) HTTP_ACCESS=NO ;;
2004-06-24 03:53:37 -04:00
--without-http_status_module) HTTP_STATUS=NO ;;
--without-http_rewrite_module) HTTP_REWRITE=NO ;;
2003-11-25 17:44:56 -03:00
--without-http_proxy_module) HTTP_PROXY=NO ;;
--with-cc=*) CC="$value" ;;
2004-03-11 18:34:52 -03:00
--with-cpp=*) CPP="$value" ;;
2004-04-14 13:44:28 -04:00
--with-cc-opt=*) CC_OPT="$value" ;;
2004-03-10 17:56:39 -03:00
--with-cpu-opt=*) CPU="$value" ;;
2004-03-11 12:42:41 -03:00
--with-debug) DEBUG=YES ;;
2003-11-25 17:44:56 -03:00
2004-02-19 13:48:14 -03:00
--without-pcre) USE_PCRE=DISABLED ;;
2003-11-25 17:44:56 -03:00
--with-pcre=*) PCRE="$value" ;;
2004-03-10 17:56:39 -03:00
--with-pcre-opt=*) PCRE_OPT="$value" ;;
2004-07-25 14:34:14 -04:00
--with-openssl=*) OPENSSL="$value" ;;
2003-11-25 17:44:56 -03:00
--with-md5=*) MD5="$value" ;;
2004-03-10 17:56:39 -03:00
--with-md5-opt=*) MD5_OPT="$value" ;;
--with-md5-asm) MD5_ASM=YES ;;
2003-11-25 17:44:56 -03:00
--with-zlib=*) ZLIB="$value" ;;
2004-03-10 14:55:19 -03:00
--with-zlib-opt=*) ZLIB_OPT="$value" ;;
2004-03-10 17:56:39 -03:00
--with-zlib-asm=*) ZLIB_ASM="$value" ;;
2003-11-25 17:44:56 -03:00
--test-build-devpoll) TEST_BUILD_DEVPOLL=YES ;;
2004-01-29 18:45:01 -03:00
--test-build-epoll) TEST_BUILD_EPOLL=YES ;;
2004-02-17 14:53:12 -03:00
--test-build-rtsig) TEST_BUILD_RTSIG=YES ;;
2003-11-25 17:44:56 -03:00
*)
echo "$0: error: invalid option \"$option\""
exit 1
;;
esac
done
2003-12-14 17:10:27 -03:00
if [ $help = yes ]; then
echo
2004-01-23 06:26:18 -03:00
echo " --help this message"
echo
echo " --without-select_module disable select_module"
echo " --without-poll_module disable poll_module"
2003-11-25 17:44:56 -03:00
2004-01-23 06:26:18 -03:00
echo " --without-http_rewrite_module disable http_rewrite_module"
echo " --without-http_gzip_module disable http_gzip_module"
echo " --without-http_proxy_module disable http_proxy_module"
2003-11-25 17:44:56 -03:00
2004-01-23 06:26:18 -03:00
echo " --with-cc=NAME name of or path to C compiler"
2003-11-25 17:44:56 -03:00
echo
2004-01-23 06:26:18 -03:00
echo " --with-pcre=DIR path to PCRE library"
echo " --with-md5=DIR path to md5 library"
echo " --with-zlib=DIR path to zlib library"
2003-12-14 17:10:27 -03:00
echo
2003-11-25 17:44:56 -03:00
exit 1
fi
2004-04-21 14:54:33 -04:00
if [ ".$PLATFORM" = ".win32" -a $EVENT_POLL = YES ]; then
EVENT_POLL=NO
echo "$0: warning: --with-poll_module option is ignored for win32"
fi
2004-05-18 16:28:54 -04:00
if [ ".$PREFIX" = "." ]; then
PREFIX=/usr/local/nginx
fi
if [ ".$SBIN_PATH" = "." ]; then
SBIN_PATH=$PREFIX/sbin/nginx
fi
if [ ".$CONF_PATH" = "." ]; then
CONF_PATH=$PREFIX/conf/nginx.conf
fi
if [ ".$PID_PATH" = "." ]; then
PID_PATH=$PREFIX/logs/nginx.pid
fi
if [ ".$ERROR_LOG_PATH" = "." ]; then
ERROR_LOG_PATH=$PREFIX/logs/error.log
fi
if [ ".$HTTP_LOG_PATH" = "." ]; then
HTTP_LOG_PATH=$PREFIX/logs/access.log
fi