Tcl Source Code

View Ticket
Login
Ticket UUID: 1081541
Title: Solaris tclConfig.sh : mystery value
Type: Bug Version: obsolete: 8.5a2
Submitter: dgp Created on: 2004-12-08 19:00:19
Subsystem: 53. Configuration and Build Tools Assigned To: dgp
Priority: 7 High Severity:
Status: Closed Last Modified: 2004-12-14 23:31:07
Resolution: Fixed Closed By: dgp
    Closed on: 2004-12-14 16:31:07
Description:
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.
User Comments: dgp added on 2004-12-14 23:31:07:
Logged In: YES 
user_id=80530

committed to HEAD for further testing.

dgp added on 2004-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.

dgp added on 2004-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

dkf added on 2004-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'\`"
])

dgp added on 2004-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" ?

dgp added on 2004-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!

dgp added on 2004-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

dgp added on 2004-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

dgp added on 2004-12-09 02:03:47:
Logged In: YES 
user_id=80530

lines 13926-13934 of unix/configure ?

autoconf-2.57 garbage?

hobbs added on 2004-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 ... ???

Attachments: