Fix compiler warning due to missing function prototype.
[svn.git] / tools / buildbot / slaves / osx10.4-gcc4.0.1-ia32 / svnbuild.sh
blob8db04e282a46259c648f9edee87f61224e37ae86
1 #!/bin/bash
3 echo "========= getting apr 0.9.x"
4 cp -r ../apr .
5 #svn export http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x apr
7 echo "========= getting apr-util 0.9.x"
8 cp -r ../apr-util .
9 #svn export http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x apr-util
11 export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
13 export PKGCONFIG_M4=/usr/local/share/aclocal/pkg.m4
14 export PKG_CONFIG=/usr/local/bin/pkg-config
16 echo "========= autogen.sh"
17 ./autogen.sh || exit $?
19 echo "========= configure"
20 ./configure --with-serf=/usr/local/serf --with-apxs=/usr/local/apache2/bin/apxs --with-berkely-db=/usr/local/BerkeleyDB.4.3 --prefix=/Users/lgo/slavedir/osx10.4-gcc4.0.1-ia32/build/svninstall || exit $?
22 echo "========= make"
23 make || exit $?
25 echo "========= make swig-py"
26 make swig-py || exit $?
28 #echo "========= make swig-pl"
29 #make swig-pl || exit $?
31 #echo "========= make swig-rb"
32 #make swig-rb || exit $?
34 echo "========= make install"
35 make install || exit $?
37 export PATH=$PATH:/Users/lgo/svn/bin
39 exit 0