Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-12-14
23:31 • Closed ticket [1081541fff]: Solaris tclConfig.sh : mystery value plus 8 othe... artifact: e416988df1 user: dgp
2004-12-10
23:45 • Ticket [1081541fff]: 4 changes artifact: bf86782015 user: dgp
23:45 • Add attachment 1081541.patch to ticket [1081541fff] artifact: c38ab80f65 user: dgp
21:31 • Ticket [1081541fff] Solaris tclConfig.sh : mystery value status still Open w... artifact: 4fa8dcf3da user: dgp
17:37 • Ticket [1081541fff]: 4 changes artifact: 6002e9546a user: dkf
01:54 • Ticket [1081541fff]: 4 changes artifact: d33ac62725 user: dgp
01:52 • Ticket [1081541fff]: 4 changes artifact: 019c66b1fc user: dgp
01:50 • Ticket [1081541fff]: 4 changes artifact: c5adb57d11 user: dgp
2004-12-09
02:04 • Ticket [1081541fff]: 4 changes artifact: 49a5371c54 user: dgp
02:03 • Ticket [1081541fff]: 4 changes artifact: 76663c49f8 user: dgp
02:02 • Ticket [1081541fff]: 4 changes artifact: ceef5817b3 user: hobbs
2004-12-08
19:00 • New ticket [1081541fff]. artifact: 236ce6aa21 user: dgp

Solaris tclConfig.sh : mystery value

Closed / Fixed1081541fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-12-08 19:00:19
after configuring Tcl on Solaris,
I see in tclConfig.sh:

TCL_COMPAT_OBJS=' fixstrtod$U.o'

What is the "$U" doing there?

Other code that reads tclConfig.sh
doesn't know how to make sense of it.
hobbsplain2004-12-09 02:02:55
Logged In: YES 
user_id=72656

All we say is "AC_LIBOBJ([fixstrtod])", so that is added by
autoconf.  If that's not in 8.4 as well ... ???
dgpplain2004-12-09 02:03:47
Logged In: YES 
user_id=80530

lines 13926-13934 of unix/configure ?

autoconf-2.57 garbage?
dgpplain2004-12-09 02:04:44
Logged In: YES 
user_id=80530

configure scripts for Tcl 8.4.x
are still generated by autoconf-2.13
dgpplain2004-12-10 01:50:17
Logged In: YES 
user_id=80530

http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_165.html
dgpplain2004-12-10 01:52:17
Logged In: YES 
user_id=80530

Link claims $U is put in there
for automake.

Not all autoconf users are gonna
use automake, stupid bastards!
dgpplain2004-12-10 01:54:13
Logged In: YES 
user_id=80530

"When asked for automatic de-ANSI-fication, Automake needs
LIBOBJS'ed filenames to have `$U' appended to the base names. "

Any idea how we can stop
asking "for automatic de-ANSI-fication" ?
dkfplain2004-12-10 17:37:19
Logged In: YES 
user_id=79902

autoconf goes to great lengths to prevent you from doing
this, but I think this incantation will work

AC_CONFIG_COMMANDS_PRE([
    eval `echo LIB OBJS | sed 's/ //'`="\`echo
\"$ac_libobjs\" | sed 's/\$U//g'\`"
])
dgpplain2004-12-10 21:31:46
Logged In: YES 
user_id=80530

A reply on the autoconf mailing
list suggests a few possible workarounds:

define([_AC_LIBOBJS_NORMALIZE],[])
AC_OUTPUT

or

save_LIBOBJS=$LIB@&t@OBJS
AC_CONFIG_COMMANDS_PRE([[LIB@&t@OBJS=$save_LIBOBJS]])
AC_OUTPUT
dgpplain2004-12-10 23:45:01
File Added - 111996: 1081541.patch

Logged In: YES 
user_id=80530

Here's a patch implementing the
first workaround.  Works for me.
dgpplain2004-12-14 23:31:07
Logged In: YES 
user_id=80530

committed to HEAD for further testing.
Log in (anonymous is fine) to add a comment.

Attachments: