Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-08-14
03:13 • Closed ticket [1112654fff]: eliminate double substitution from configure.in ... artifact: 5f99c5d0a4 user: hobbs
2005-06-02
05:28 • Ticket [1112654fff]: 4 changes artifact: e8974dd470 user: dgp
05:28 • Open ticket [1112654fff]. artifact: f3cac4bae9 user: dgp
2005-06-01
00:10 • Closed ticket [1112654fff]. artifact: b6e7b3dbbe user: jenglish
2005-05-31
08:51 • Pending ticket [1112654fff]. artifact: 9f97ded531 user: hobbs
2005-01-31
23:26 • Ticket [1112654fff]: 6 changes artifact: b70ded9570 user: dgp
01:44 • Ticket [1112654fff]: 5 changes artifact: eeb7dd5c28 user: jenglish
01:44 • Open ticket [1112654fff]. artifact: 03b4a4ac1e user: jenglish
01:39 • Closed ticket [1112654fff]. artifact: 3958c0817a user: jenglish
01:04 • Add attachment tcl-1112654.patch to ticket [1112654fffffffff|1112654fff... artifact: 685a336de7 user: jenglish
01:04 • Ticket [1112654fff] Missing eval in configure.in status still Open with 4 ot... artifact: a30d61dc18 user: jenglish
00:58 • Ticket [1112654fff]: 4 changes artifact: b79a5d7d39 user: jenglish
00:33 • Ticket [1112654fff]: 4 changes artifact: 3cdea7ee5d user: jenglish
00:33 • Ticket [1112654fff]: 4 changes artifact: 2d584a0b10 user: jenglish
2005-01-30
17:28 • New ticket [1112654fff]. artifact: 0597168dce user: jenglish

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: