File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1414# license@zephir-lang.com so we can mail you a copy immediately.
1515
1616# Available params:
17- # --arch
1817# --phpize
1918# --php-config
2019#
2120# Example:
22- # ./install --phpize /usr/bin/phpize5.6 --php-config /usr/bin/php-config5.6
21+ # ./install-development --phpize /usr/bin/phpize5.6 --php-config /usr/bin/php-config5.6
2322
2423set -e
2524
25+ export ZEND_DONT_UNLOAD_MODULES=1
26+ export USE_ZEND_ALLOC=0
27+
2628CURRENT_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
2729PARSER_DIR=${CURRENT_DIR} /parser
2830
29- # Set defaults
30- ARCH=
3131CC=${CC:- }
3232
3333GCC_BIN=$( command -v gcc 2> /dev/null)
7171for arg in " $@ " ; do
7272 shift
7373 case " $arg " in
74- " --arch" ) set -- " $@ " " -a" ;;
7574 " --phpize" ) set -- " $@ " " -i" ;;
7675 " --php-config" ) set -- " $@ " " -c" ;;
7776 * ) set -- " $@ " " $arg "
8180# Options switcher
8281while getopts a:i:c: opts; do
8382 case ${opts} in
84- a) ARCH=${OPTARG} ;;
8583 i) PHPIZE_BIN=${OPTARG} ;;
8684 c) PHPCONFIG_BIN=${OPTARG} ;;
8785 esac
You can’t perform that action at this time.
0 commit comments