#! /usr/bin/env bash

# file      : build/sqlite/configure
# copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
# license   : GNU GPL v2; see accompanying LICENSE file

#
# dcf_root - dynamic configuration root
#

$echo
$echo "Please enter the SQLite database file name. Note that it WILL"
$echo "BE MODIFIED by the tests. You can also specify ':memory:' as a"
$echo "file name to use a temporary in-memory database."
$echo

db=`read_value "/tmp/odb-test.db"`

opt=$dcf_root/sqlite.options

echo "--database '$db'" >$opt