options (200:a7599eda65c6) options (216:07257705cd64)
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) Valentin V. Bartenev
4# Copyright (C) NGINX, Inc.
5
6
7CC=${CC:-cc}
8

--- 27 unchanged lines hidden (view full) ---

36NXT_TEST_BUILD_LINUX_SENDFILE=NO
37NXT_TEST_BUILD_MACOSX_SENDFILE=NO
38NXT_TEST_BUILD_SOLARIS_SENDFILEV=NO
39NXT_TEST_BUILD_AIX_SEND_FILE=NO
40NXT_TEST_BUILD_HPUX_SENDFILE=NO
41
42NXT_LIB_UNIT_TEST=NO
43
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) Valentin V. Bartenev
4# Copyright (C) NGINX, Inc.
5
6
7CC=${CC:-cc}
8

--- 27 unchanged lines hidden (view full) ---

36NXT_TEST_BUILD_LINUX_SENDFILE=NO
37NXT_TEST_BUILD_MACOSX_SENDFILE=NO
38NXT_TEST_BUILD_SOLARIS_SENDFILEV=NO
39NXT_TEST_BUILD_AIX_SEND_FILE=NO
40NXT_TEST_BUILD_HPUX_SENDFILE=NO
41
42NXT_LIB_UNIT_TEST=NO
43
44NXT_PYTHON=python
45NXT_PYTHON_MODULE=NO
46
47NXT_PHP=php
48NXT_PHP_LDFLAGS=
49NXT_PHP_MODULE=NO
50
51NXT_GO=go
52NXT_GO_MODULE=NO
53
54for nxt_option
55do
56 case "$nxt_option" in
57 -*=*) value=`$echo "$nxt_option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;;
58 *) value="" ;;
59 esac
60
61 case "$nxt_option" in

--- 29 unchanged lines hidden (view full) ---

91 --test-build-linux-sendfile) NXT_TEST_BUILD_LINUX_SENDFILE=YES ;;
92 --test-build-solaris-sendfilev) NXT_TEST_BUILD_SOLARIS_SENDFILEV=YES ;;
93 --test-build-macosx-sendfile) NXT_TEST_BUILD_MACOSX_SENDFILE=YES ;;
94 --test-build-aix-send_file) NXT_TEST_BUILD_AIX_SEND_FILE=YES ;;
95 --test-build-hpux-sendfile) NXT_TEST_BUILD_HPUX_SENDFILE=YES ;;
96
97 --with-lib-unit-tests) NXT_LIB_UNIT_TEST=YES ;;
98
44for nxt_option
45do
46 case "$nxt_option" in
47 -*=*) value=`$echo "$nxt_option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;;
48 *) value="" ;;
49 esac
50
51 case "$nxt_option" in

--- 29 unchanged lines hidden (view full) ---

81 --test-build-linux-sendfile) NXT_TEST_BUILD_LINUX_SENDFILE=YES ;;
82 --test-build-solaris-sendfilev) NXT_TEST_BUILD_SOLARIS_SENDFILEV=YES ;;
83 --test-build-macosx-sendfile) NXT_TEST_BUILD_MACOSX_SENDFILE=YES ;;
84 --test-build-aix-send_file) NXT_TEST_BUILD_AIX_SEND_FILE=YES ;;
85 --test-build-hpux-sendfile) NXT_TEST_BUILD_HPUX_SENDFILE=YES ;;
86
87 --with-lib-unit-tests) NXT_LIB_UNIT_TEST=YES ;;
88
99 --with-python=*) NXT_PYTHON="$value" ;;
100 --with-python_module) NXT_PYTHON_MODULE=YES ;;
101
102 --with-php=*) NXT_PHP="$value" ;;
103 --with-php-ldflags=*) NXT_PHP_LDFLAGS="$value" ;;
104 --with-php_module) NXT_PHP_MODULE=YES ;;
105
106 --with-go=*) NXT_GO="$value" ;;
107 --with-go_module) NXT_GO_MODULE=YES ;;
108
109 *)
110 $echo
111 $echo "$0: error: invalid option \"$nxt_option\"".
112 $echo
113 exit 1
114 ;;
115 esac
116
117 nxt_opt=`$echo $nxt_option | sed -e "s/\(--[^=]*=\)\(.* .*\)/\1'\2'/"`
118
119 NXT_CONFIGURE_OPTIONS="$NXT_CONFIGURE_OPTIONS $nxt_opt"
120
121done
89 *)
90 $echo
91 $echo "$0: error: invalid option \"$nxt_option\"".
92 $echo
93 exit 1
94 ;;
95 esac
96
97 nxt_opt=`$echo $nxt_option | sed -e "s/\(--[^=]*=\)\(.* .*\)/\1'\2'/"`
98
99 NXT_CONFIGURE_OPTIONS="$NXT_CONFIGURE_OPTIONS $nxt_opt"
100
101done