# 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
sdh_configure
sdh_make
sdh_make_install

if [ "$UNAME" = "CYGWIN" ] ; then
    cp ../patch.exe.manifest "$SAGE_DESTDIR$SAGE_LOCAL/bin/"
fi
