#
#	SQLite configuration
#

#
#   If using your own external SQLite distribution, change this code to locate the built SQLite package.
#   Alternatively, use ./configure --with-sqlite=DIR
#
#	SQLITE_VER=1-8-5-open
#	if [ "$BLD_SQLITE_DIR" = "" ] ; then
#	    #
#	    #	Replace this line to set BLD_SQLITE_DIR with the location of the package on your system
#	    #
#	    BLD_SQLITE_DIR=$BLD_TOP/`probePackage "..:../..:../../.." packages/sqlite/sqlite-$SQLITE_VER`
#	    if [ "$BLD_SQLITE_DIR" = "$BLD_TOP/" ] ; then
#	        echo "Can't find the SQLite package version $SQLITE_VER"
#	        exit 255
#	    fi
#	fi

if [ "$BLD_SQLITE_DIR" != "" ] ; then
	BLD_SQLITE_DIR=`canonPath "$BLD_SQLITE_DIR"`
    BLD_SQLITE_IMP_LIBPATH="$BLD_SQLITE_DIR/lib"
    BLD_SQLITE_IMP_LIBS="sqlite3"
    BLD_SQLITE_IFLAGS="$BLD_SQLITE_DIR/include"
else
    BLD_SQLITE_DEP_LIBS="$BLD_MPR_LIBS"
    BLD_SQLITE_DEP_LIBPATHS="$BLD_MPR_LIBPATHS"
fi
BLD_SQLITE_LIBS="sqlite3"
