This commit was manufactured by cvs2svn to create tag 'RELEASE_0_18_0'. RELEASE_0_18_0
authorSVN Migration <svn@php.net>
Wed, 16 Nov 2005 16:47:13 +0000 (16:47 +0000)
committerSVN Migration <svn@php.net>
Wed, 16 Nov 2005 16:47:13 +0000 (16:47 +0000)
rebuild

diff --git a/rebuild b/rebuild
index fe6576e2e49d3b2c34bb6b8ce8db007efc37a939..569b3fccd09edb36fee2a0e9e694fcbbf030c8de 100755 (executable)
--- a/rebuild
+++ b/rebuild
@@ -4,7 +4,7 @@ rm -f warnings
 if test -d "$1"; then
     PREFIX=$1
 else
-    PREFIX=/opt
+    PREFIX=/usr
 fi
 
 echo "Using prefix '$PREFIX' for phpize and php-config!"
@@ -18,7 +18,7 @@ fi
 echo "DONE"
 
 echo -n "configuring... "
-CFLAGS="-Wall -Wextra -Wno-unused-parameter -Wfloat-equal -Wdeclaration-after-statement -Wundef -Wbad-function-cast -Wcast-align -Wmissing-field-initializers -Wnested-externs" \
+CFLAGS="-W -Wchar-subscripts -Wformat=2 -Wno-format-y2k -Wimplicit -Wmissing-braces -Wunused-variable  -Wbad-function-cast -Wpointer-arith -Wsign-compare -Winline" \
     ./configure --with-php-config=${PREFIX}/bin/php-config $2 >/dev/null
 if test $? -ne 0 ; then
     echo "FAILED!"
@@ -35,6 +35,6 @@ else
 fi
 
 if test -s warnings; then
-    grep -E "^/.+http" warnings
+    cat warnings
 fi