/
clang
/
sqlite
Обзор
Документация
Войти
/
clang
/
sqlite
Код
Вики
Пакеты
0
Релизы
0
Аналитика
version-3.49.0
tool/tclConfigShToAutoDef.sh
29 строк
856 B
stephan
Rename tool/tclConfigShToTcl.sh to tool/tclConfigShToAutoDef.sh in the name of pedantic correctness.
16 ноя 2024, 13:42
16 ноя 2024, 13:42
4b24cb2
Код
Авторство
О чём код?
#!/bin/sh # # A level of indirection for use soley by the configure script # (auto.def). # # Expects to be passed a full path to a tclConfig.sh. It sources it # and emits TCL code which sets some vars which are exported by # tclConfig.sh. # # This script expects that the caller has already validated that the # file exists, is not a directory, and is readable. # # If passed no filename, or an empty one, then it emits config code # suitable for the "config not found" case. if test x = "x$1"; then TCL_INCLUDE_SPEC= TCL_LIB_SPEC= TCL_STUB_LIB_SPEC= TCL_EXEC_PREFIX= TCL_VERSION= else . "$1" fi echo "define TCL_INCLUDE_SPEC {$TCL_INCLUDE_SPEC} ;" echo "define TCL_LIB_SPEC {$TCL_LIB_SPEC} ;" echo "define TCL_STUB_LIB_SPEC {$TCL_STUB_LIB_SPEC} ;" echo "define TCL_EXEC_PREFIX {$TCL_EXEC_PREFIX} ;" echo "define TCL_VERSION {$TCL_VERSION} ;"