eliminate double substitution from configure.in
Closed / Fixed1112654fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 16 years ago
Descriptionplain2005-01-30 17:28:12
MSW reports (on the chat) that latest changes to configure.in / tcl.m4 (#1081595) break the build on NetBSD. Problem: "configure produces makefile targets like libtcl`echo ... | tr -d ...`".
jenglishplain2005-01-31 00:33:24
Logged In: YES
user_id=68433
Probable cause of the problem: the line
| eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
(configure.in r1.125 line 448), which was removed in r1.126,
is actually used for more than just expanding ${TCL_DBGX}.
In particular, if TCL_LIB_VERSIONS_OK is set to "nodots", it
contains other shell escapes.
Attached patch attempts to fix the problem by restoring this
line.
jenglishplain2005-01-31 00:33:25
File Added - 117800: tcl-1112654.patch
jenglishplain2005-01-31 00:58:12
Logged In: YES
user_id=68433
Followup: Double-eval is also required for TCL_STUB_LIB_FILE.
We should really consider handling this TCL_TRIM_DOTS /
TCL_LIB_VERSIONS_OK / TCL_{UN}SHARED_LIB_SUFFIX mess
differently.
jenglishplain2005-01-31 01:04:46
File Deleted - 117800: File Added - 117806: tcl-1112654.patch
jenglishplain2005-01-31 01:39:32
Logged In: YES
user_id=68433
Patch confirmed. Also checked tk/unix/configure.in for
similar issues; no double-evals were removed in the DBGX
purge, Tk CVS HEAD compiles OK on NetBSD.
What's not clear is whether NetBSD even needs to use
${TCL_TRIM_DOTS} anymore, but that's an issue for another time.
jenglish Open ticket [1112654fff].
[History diff]2005-01-31 01:44:41
jenglishplain2005-01-31 01:44:42
Logged In: YES user_id=68433 Reopening -- I have autoconf 2.59, not 2.57, so can't regenerate the configure script. Jeff, could you take care of this? Thanks. (BTW, why are we using 2.57?)
dgpplain2005-01-31 23:26:43
data_type - 360894 Logged In: YES user_id=80530 Committed the generated unix/configure file. Moving this report over to a Feature Request. Let us please find a way to solve these problems without using an "eval". Getting rid of the double substitution was going to be an important step toward fixing Bug 553544.
hobbsplain2005-05-31 08:51:40
Logged In: YES user_id=72656 Is there anything here to fix?
jenglishplain2005-06-01 00:10:24
Logged In: YES user_id=68433 > Is there anything here to fix? Not that I'm aware of. It would be _nice_ to get rid of all the double-evals in configure.in, but not _necessary_ afaict.
dgp Open ticket [1112654fff].
[History diff]2005-06-02 05:28:56
dgpplain2005-06-02 05:28:57
Logged In: YES user_id=80530 the remaining request here (re-opening) is to get rid of any remaining "eval"s in configure.in / tcl.m4 . Most of the eval's were there originally to substitute $(TCL_DBGX), but that's gone now. so they ought to be able to go too. The presence of eval's makes it more difficult to solve the problem of handling spaces in pathnames (554348).
hobbsplain2010-08-14 03:13:20
allow_comments - 1
Log in (anonymous is fine) to add a comment.
Attachments:
- tcl-1112654.patch [download] added by jenglish on 2005-01-31 01:04:46. [details]