Team Ai
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
tclConfigShToMake.sh32 linesDownload Raw Back to tool
1#!/bin/sh2#3# A level of indirection for use soley by main.mk to extract info4# 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 it7# and emits TCL code which sets some vars which are exported by8# tclConfig.sh.9#10# This script expects that the caller has already validated that the11# file exists, is not a directory, and is readable.12#13# If passed no filename, or an empty one, then it emits config code14# suitable for the "config not found" case.15if test x = "x$1"; then16  TCL_INCLUDE_SPEC=17  TCL_LIB_SPEC=18  TCL_STUB_LIB_SPEC=19  TCL_EXEC_PREFIX=20  TCL_VERSION=21else22  . "$1"23fi24 25cat <<EOF26TCL_INCLUDE_SPEC = $TCL_INCLUDE_SPEC27TCL_LIB_SPEC = $TCL_LIB_SPEC28TCL_STUB_LIB_SPEC = $TCL_STUB_LIB_SPEC29TCL_EXEC_PREFIX = $TCL_EXEC_PREFIX30TCL_VERSION = $TCL_VERSION31EOF32