sqlite
[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.
Brought by drakestapleton
sqlite / autoconf / tea / configure
| 1 | #!/bin/sh |
| 2 | # Look for and run autosetup... |
| 3 | dir0="`dirname "$0"`" |
| 4 | dirA="$dir0" |
| 5 | if [ -d $dirA/autosetup ]; then |
| 6 | # A local copy of autosetup |
| 7 | dirA=$dirA/autosetup |
| 8 | elif [ -d $dirA/../autosetup ]; then |
| 9 | # SQLite "autoconf" bundle |
| 10 | dirA=$dirA/../autosetup |
| 11 | elif [ -d $dirA/../../autosetup ]; then |
| 12 | # SQLite canonical source tree |
| 13 | dirA=$dirA/../../autosetup |
| 14 | else |
| 15 | echo "$0: Cannot find autosetup" 1>&2 |
| 16 | exit 1 |
| 17 | fi |
| 18 | WRAPPER="$0"; export WRAPPER; exec "`"$dirA/autosetup-find-tclsh"`" \ |
| 19 | "$dirA/autosetup" --teaish-extension-dir="$dir0" \ |
| 20 | "$@" |