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
="-W -Wchar-subscripts -Wformat=2 -Wno-format-y2k -Wimplicit -Wmissing-braces -Wunused-variable -Wbad-function-cast -Wpointer-arith -Wsign-compare -Winline" \
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