Artifacts Associated With Ticket 950210ffffffffff
Ticket change [5cc617e44f] (rid 115363) by dgp on 2004-05-07 23:36:48:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized to:
TEA_ADD_TCL_SOURCES strictly requires the files to exist at configure time. This prevents the use of any configure-generated files. For example, one might want a foo.tcl to be generated from a foo.tcl.in to get an up to date value of @PACKAGE_VERSION@ substituted into a [package require -exact foo @PACKAGE_VERSION@] commands that verifies the script library and binary library are two parts of the same version.
- foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "70. Sample Extension"
- title initialized to: "TEA_ADD_TCL_SOURCES prevents generated files"
- type initialized to: "Bug"
Ticket change [1d5c7d602f] (rid 90790) by dgp on 2004-05-08 07:28:38:
- icomment:
Logged In: YES user_id=80530 turns out this is fairly easy to workaround. Just have a foo.tcl file in place (it can even be empty). That will satisfy the TEA_ADD_TCL_SOURCES testing, and at the end of the configure, the correct contents will still be generated from foo.tcl.in
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "1 Zero"
- username: "dgp"
- icomment:
Ticket change [4f14eea161] (rid 125763) by dgp on 2005-01-26 01:29:56:
- subsystem changed to: "85. tclconfig"
Ticket change [4b3d7fcca3] (rid 126666) by dgp on 2005-03-25 23:15:42:
- icomment:
Logged In: YES user_id=80530 It appears that such generated files are not meant to be used as arguments to TEA_ADD_TCL_SOURCES. When the build directory is different from the source directory (common case) the custom-configured generated file will be produced in the build dir, but the original in the source dir will be the copy that gets installed. Looks like the Makefile.in has to be customized in circumstances like this to explicitly install the generated file.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [1c6f5ea6ed] (rid 90604) by dgp on 2005-03-26 00:16:18:
- assignee changed to: "dgp"
- closedate changed to: "2005-03-25T17:16:18"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Looks like this whole report was based on user confusion.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"