#
#	MatrixSsl module configuration
#
MATRIXSSL_VER=1-8-6-open

if [ "$BLD_MATRIXSSL_DIR" = "" ] ; then
    #
    #	Replace this line to set BLD_MATRIXSSL_DIR with the location of the package on your system
    #
    BLD_MATRIXSSL_DIR=$BLD_TOP/`probePackage "..:../..:../../.." packages/matrixssl/matrixssl-$MATRIXSSL_VER`
    if [ "$BLD_MATRIXSSL_DIR" = "$BLD_TOP/" ] ; then
        echo "Can't find the Matrixssl package version $MATRIXSSL_VER"
        exit 255
    fi
fi

BLD_MATRIXSSL_DIR=`canonPath "$BLD_MATRIXSSL_DIR"`
if [ $BLD_HOST_OS = WIN ] ; then
    BLD_MATRIXSSL_IMP_LIBPATH="$BLD_MATRIXSSL_DIR/src/Release"
    BLD_MATRIXSSL_IMP_LIBS='libmatrixssl.dll'
    BLD_MATRIXSSL_LIBS="matrixssl"
else
    BLD_MATRIXSSL_IMP_LIBPATH="`canonPath $BLD_MATRIXSSL_DIR/src`"
    BLD_MATRIXSSL_IMP_LIBS="libmatrixsslstatic.a"
    BLD_MATRIXSSL_LIBS="matrixsslstatic.a"
fi

dir=`relativePath "$BLD_MATRIXSSL_DIR"`
BLD_MATRIXSSL_IFLAGS="-I$dir"
