10 echo "Using prefix '$PREFIX' for phpize and php-config!"
12 echo -n "executing phpize... "
13 ${PREFIX}/bin
/phpize
2>&1 >/dev
/null
14 if test $?
-ne 0 ; then
20 echo -n "configuring... "
21 CFLAGS
="-Wall -Wextra -Wno-unused-parameter -Wfloat-equal -Wdeclaration-after-statement -Wundef -Wbad-function-cast -Wcast-align -Wmissing-field-initializers -Wnested-externs" \
22 .
/configure
--with-php-config=${PREFIX}/bin
/php-config
$2 >/dev
/null
23 if test $?
-ne 0 ; then
29 echo -n "building... "
30 make clean all
2>warnings
>/dev
/null
31 if test $?
-ne 0 ; then
37 if test -s warnings
; then
38 grep -E "^/.+http" warnings