- rename http_absolute_uri to http_build_uri (complements http_build_query)
[m6w6/ext-http] / rebuild
1 #!/bin/bash
2 rm -f warnings
3
4 echo -n "executing phpize... "
5 phpize 2>&1 >/dev/null
6 if test $? -ne 0 ; then
7 echo "FAILED!"
8 exit 1
9 fi
10 echo "DONE"
11
12 echo -n "configuring... "
13 CFLAGS="-W -Wchar-subscripts -Wformat=2 -Wno-format-y2k -Wimplicit -Wmissing-braces -Wunused-variable -Wbad-function-cast -Wpointer-arith -Wsign-compare -Winline" \
14 ./configure $@ >/dev/null
15 if test $? -ne 0 ; then
16 echo "FAILED!"
17 exit 1
18 fi
19 echo "DONE"
20
21 echo -n "building... "
22 make clean install 2>warnings >/dev/null
23 if test $? -ne 0 ; then
24 echo "FAILED!"
25 else
26 echo "DONE"
27 fi
28
29 if test -s warnings; then
30 cat warnings
31 fi
32