cd src/
# there is room for adding more options (set some flags, use a lot of libraries
# shipped with Sage): go to the source directory and type: ./configure --help
# This is NOT a autoconf script, so sdh_configure does not work
./configure --prefix="${SAGE_LOCAL}" \
--with-libgmp="${SAGE_LOCAL}/lib/libgmp.a"
sdh_make library
sdh_make install