mirror of
https://github.com/php/php-gtk-src.git
synced 2026-04-30 04:23:17 +02:00
eb3c3b2feb
'phpize' script. This is needed if you have both PHP 5 and PHP 4 installed and the default location is incorrect. The switch is --with-phpize=<path to phpize>.
23 lines
323 B
Bash
Executable File
23 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
# $Id$
|
|
|
|
rm -f build2/generated_lists
|
|
|
|
PHPIZE=phpize
|
|
|
|
for bc_option
|
|
do
|
|
bc_optarg=`expr "x$bc_option" : 'x[^=]*=\(.*\)'`
|
|
|
|
case $bc_option in
|
|
--with-phpize=*)
|
|
if [ "x$bc_optarg" != "x" ]; then
|
|
rm -f buildmk.stamp
|
|
PHPIZE=$bc_optarg
|
|
fi
|
|
;;
|
|
esac
|
|
done
|
|
|
|
PHPIZE=$PHPIZE ${MAKE:-make} -s -f build2/build.mk
|