Overview
| Artifact ID: | c1ea61d544b2c037e70ca0d31f34a4597627f38c |
|---|---|
| Ticket: | 3058486fffffffffffffffffffffffffffffffff
TEA_LOAD_CONFIG doesn't set all BUILD_ vars |
| User & Date: | kennykb on 2010-09-03 01:32:39 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
When loading a configuration from the build dir, TEA_LOAD_CONFIG sets: AC_MSG_WARN([Found Makefile - using build library specs for $1]) $1_LIB_SPEC=${$1_BUILD_LIB_SPEC} $1_STUB_LIB_SPEC=${$1_BUILD_STUB_LIB_SPEC} $1_STUB_LIB_PATH=${$1_BUILD_STUB_LIB_PATH} These aren't all that's needed for a successful compile. I suggest adding: $1_INCLUDE_SPEC=${$1_BUILD_INCLUDE_SPEC} and $1_LIBRARY_PATH=${$1_LIBRARY_PATH} so that $1.h and the Tcl script library for $1 can also be located; all compiles need the first, and 'make test' needs the second. Workaround in tdbc drivers is to have the code: # The next bit probably ought to be in TEA_LOAD_CONFIG AC_MSG_WARN([Looking for "${tdbc_BIN_DIR}/Makefile"]) if test -f "${tdbc_BIN_DIR}/Makefile" ; then AC_MSG_WARN([Found Makefile - using build include spec and lib specs for tdbc]) tdbc_INCLUDE_SPEC=${tdbc_BUILD_INCLUDE_SPEC} tdbc_LIBRARY_PATH=${tdbc_BUILD_LIBRARY_PATH} fi AC_SUBST(tdbc_LIBRARY_PATH) in each configurator. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "85. tclconfig"
- title changed to: "TEA_LOAD_CONFIG doesn't set all BUILD_ vars"
- type changed to: "RFE"