mirror of
https://github.com/php/php-gtk-src.git
synced 2026-03-24 01:02:08 +01:00
28 lines
550 B
Bash
Executable File
28 lines
550 B
Bash
Executable File
#!/bin/sh
|
|
# $Id$
|
|
|
|
rm -f build2/generated_lists
|
|
|
|
# If there is no environment variable, fallback using phpize in PATH
|
|
test -z "$PHPIZE" && 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
|
|
|
|
# Disable running autoconf/autoheader in phpize
|
|
PHPIZE="PHP_AUTOCONF=\"touch configure\" PHP_AUTOHEADER=\"touch config.h.in\" $PHPIZE"
|
|
|
|
PHPIZE=$PHPIZE ${MAKE:-make} -s -f build2/build.mk
|
|
|