Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sqlite/blob/master/tool/tclConfigShToMake.sh # sqlite [Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `sqlite / tool / tclConfigShToMake.sh` 31 lines ยท 845 bytes Raw Blame History 1 #!/bin/sh 2 # 3 # A level of indirection for use soley by main.mk to extract info 4 # from tclConfig.sh if it's not provided by the configure script. 5 # 6 # Expects to be passed a full path to a tclConfig.sh. It sources it 7 # and emits TCL code which sets some vars which are exported by 8 # tclConfig.sh. 9 # 10 # This script expects that the caller has already validated that the 11 # file exists, is not a directory, and is readable. 12 # 13 # If passed no filename, or an empty one, then it emits config code 14 # suitable for the "config not found" case. 15 if test x = "x$1"; then 16 TCL_INCLUDE_SPEC= 17 TCL_LIB_SPEC= 18 TCL_STUB_LIB_SPEC= 19 TCL_EXEC_PREFIX= 20 TCL_VERSION= 21 else 22 . "$1" 23 fi 24 25 cat <