default_pre_build                                                     &&
cd "${SOURCE_DIRECTORY}"                                              &&

# this operation is harmless because because rpl_malloc is not defined anywhere
# in the source; moreover, the symbol HAVE_MALLOC is not used in the source as
# of ESPGS 8.15.1 and maybe earlier.
sedit 's|#define malloc rpl_malloc|//\0|g' configure                  &&

if  [ "${ESPG_OMNI}" == "y" ];  then
  unpack_file 4
fi                                                   

if [ "${ESPGS_LIBGS}" == "y" ]; then
   sedit "s/bbox.dev$/x11.dev/" Makefile.in
fi
