# Disable debugging information on AIX, as this causes link errors. See:
# http://www.ibm.com/developerworks/forums/thread.jspa?threadID=348558
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072
if [ "x$UNAME" = xAIX ] ; then
   CFLAGS="$CFLAGS -g0"
   export CFLAGS
fi

cd src
cp "$SAGE_ROOT"/config/config.* build-aux/
sdh_configure
sdh_make
sdh_make_install
