#3004 Solaris tclConfig.sh : mystery value

obsolete: 8.5a2
closed-fixed
Don Porter
7
2004-12-14
2004-12-08
Don Porter
No

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.

Discussion

1 2 > >> (Page 1 of 2)
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2004-12-08

    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 ... ???

     
  • Don Porter
    Don Porter
    2004-12-08

    Logged In: YES
    user_id=80530

    lines 13926-13934 of unix/configure ?

    autoconf-2.57 garbage?

     
  • Don Porter
    Don Porter
    2004-12-08

    Logged In: YES
    user_id=80530

    configure scripts for Tcl 8.4.x
    are still generated by autoconf-2.13

     
  • Don Porter
    Don Porter
    2004-12-09

    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!

     
  • Don Porter
    Don Porter
    2004-12-09

    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" ?

     
  • 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'\`"
    ])

     
  • Don Porter
    Don Porter
    2004-12-10

    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

     
  • Don Porter
    Don Porter
    2004-12-10

    Logged In: YES
    user_id=80530

    Here's a patch implementing the
    first workaround. Works for me.

     
  • Don Porter
    Don Porter
    2004-12-10

     
    Attachments
1 2 > >> (Page 1 of 2)