Skip to content
Tcl Source Code History Of Ticket 3058486fffffffff
Login

History Of Ticket 3058486fffffffff

Artifacts Associated With Ticket 3058486fffffffff

  1. Ticket change [c1ea61d544] (rid 111406) by kennykb on 2010-09-03 01:32:39:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When loading a configuration from the build dir, TEA_LOAD_CONFIG sets:
      
      AC_MSG_WARN([Found Makefile - using build library specs for $1])
              $1_LIB_SPEC=${$1_BUILD_LIB_SPEC}
              $1_STUB_LIB_SPEC=${$1_BUILD_STUB_LIB_SPEC}
              $1_STUB_LIB_PATH=${$1_BUILD_STUB_LIB_PATH}
      
      These aren't all that's needed for a successful compile.  I suggest adding:
      
      $1_INCLUDE_SPEC=${$1_BUILD_INCLUDE_SPEC}
      and
      $1_LIBRARY_PATH=${$1_LIBRARY_PATH}
      
      so that $1.h and the Tcl script library for $1 can also be located; all compiles need the first, and 'make test' needs the second.
      
      Workaround in tdbc drivers is to have the code:
      
      # The next bit probably ought to be in TEA_LOAD_CONFIG
      AC_MSG_WARN([Looking for "${tdbc_BIN_DIR}/Makefile"])
      if test -f "${tdbc_BIN_DIR}/Makefile" ; then
          AC_MSG_WARN([Found Makefile - using build include spec and lib specs for tdbc])
          tdbc_INCLUDE_SPEC=${tdbc_BUILD_INCLUDE_SPEC}
          tdbc_LIBRARY_PATH=${tdbc_BUILD_LIBRARY_PATH}
      fi
      AC_SUBST(tdbc_LIBRARY_PATH)
      
      in each configurator.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "kennykb"
    10. subsystem initialized to: "85. tclconfig"
    11. title initialized to: "TEA_LOAD_CONFIG doesn't set all BUILD_ vars"
    12. type initialized to: "RFE"
  2. Ticket change [2bcd814c5c] (rid 118807) by nijtmans on 2010-09-09 22:42:26:

    1. assignee changed to: "kennykb"
    2. icomment:
      Slightly related: defining BUILD_$1 on all platforms - not only win -
      allows the -fvisibility feature to be used in extensions as well, at
      least if you compile against tcl >= 8.5.
      
      Checked in tclconfig HEAD.
      
      Kevin, is this what you mean? (I cannot really test it, but at least it looks harmless)
      
      
    3. login: "nijtmans"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. username: "nijtmans"