diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-27 15:38:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-27 15:38:42 +0200 |
commit | cd1deec2f13b6976fb3aac0e5e8d42a79875aef1 (patch) | |
tree | e56e97b86e800f4173ba433b9ba76480d0f18d5b /build/sqlite | |
parent | 2b3b6f26e5125bdc23d07c88c369b5c6ce070a61 (diff) |
Build infrastructure for SQLite
Diffstat (limited to 'build/sqlite')
-rwxr-xr-x | build/sqlite/configure | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/build/sqlite/configure b/build/sqlite/configure new file mode 100755 index 0000000..621d582 --- /dev/null +++ b/build/sqlite/configure @@ -0,0 +1,23 @@ +#! /usr/bin/env bash + +# file : build/sqlite/configure +# author : Boris Kolpackov <boris@codesynthesis.com> +# copyright : Copyright (c) 2009-2011 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. If you do not specify a name, then a" +$echo "temporary on-disk database will be created. You can also specify" +$echo "':memory:' as a file name to use a temporary in-memory database." +$echo + +db=`read_value` + +opt=$dcf_root/db.options + +echo "--database '$db'" >$opt |