default_pre_build &&

# this kicks in for non-released source checked out of Subversion repository
# or if the APR release managers forget to run buildconf themselves :-)
cd $SOURCE_DIRECTORY &&
if ! [[ -x configure ]]; then
  ./buildconf --with-apr=$INSTALL_ROOT/usr/share/apache2
fi &&
apply_patch_dir patches
