# config

name: css
value:
  /* General settings for the entire page */
  html {
    min-height: 100%;
  }
  body {
    margin: 0ex 1ex;
    padding: 0px;
    background-color: white;
    color: #333;
    font-family: Verdana, sans-serif;
    font-size: 0.8em;
  }

  /* The project logo in the upper left-hand corner of each page */
  div.logo {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    font-weight: normal;
  }

  /* Widths */
  div.header, div.mainmenu, div.submenu, div.content, div.footer {
    max-width: 900px;
    margin: auto;
    padding: 3px 20px 3px 20px;
    clear: both;
  }

  /* The page title at the top of each page */
  div.title {
    display: table-cell;
    padding-left: 10px;
    font-size: 2em;
    margin: 10px 0 10px -20px;
    vertical-align: bottom;
    text-align: left;
    width: 80%;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    color: #558195;
    text-shadow: 0px 2px 2px #999999;
  }

  /* The login status message in the top right-hand corner */
  div.status {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    color: #333;
    margin-right: -20px;
  }

  /* The main menu bar that appears at the top of the page beneath
   ** the header */
  div.mainmenu {
    text-align: center;
    color: white;
    -moz-border-top-right-radius: 5px;
    -moz-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -border-top-right-radius: 5px;
    -border-top-left-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    vertical-align: middle;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #446979;
    background: -webkit-gradient(linear,left bottom,left top, color-stop(0.02, rgb(51,81,94)),  color-stop(0.76, rgb(85,129,149)));
    background: -moz-linear-gradient(center bottom,rgb(51,81,94) 2%, rgb(85,129,149) 76%);
    -webkit-box-shadow: 0px 3px 4px #333333;
    -moz-box-shadow: 0px 3px 4px #333333;
    box-shadow: 0px 3px 4px #333333;
  }

  /* The submenu bar that *sometimes* appears below the main menu */
  div.submenu {
    padding-top:10px;
    padding-bottom:0;
    text-align: right;
    color: #000;
    background-color: #fff;
    height: 1.5em;
    vertical-align:middle;
    -webkit-box-shadow: 0px 3px 4px #999;
    -moz-box-shadow: 0px 3px 4px #999;
    box-shadow: 0px 3px 4px #999;
  }
  div.mainmenu a, div.mainmenu a:visited {
    padding: 3px 10px 3px 10px;
    color: white;
    text-decoration: none;
  }
  div.submenu a, div.submenu a:visited, a.button,
  div.sectionmenu>a.button:link, div.sectinmenu>a.button:visited {
    padding: 2px 8px;
    color: #000;
    font-family: Arial;
    text-decoration: none;
    margin:auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: -webkit-gradient(linear,left bottom, left top, color-stop(0, rgb(184,184,184)), color-stop(0.75, rgb(214,214,214)));
    background: -moz-linear-gradient(center bottom, rgb(184,184,184) 0%, rgb(214,214,214) 75%);
    background-color: #e0e0e0 ;
    text-shadow: 0px -1px 0px #eee;
    filter: dropshadow(color=#eeeeee, offx=0, offy=-1);
    border: 1px solid #000;
  }

  div.mainmenu a:hover {
    color: #000;
    background-color: white;
  }

  div.submenu a:hover, div.sectionmenu>a.button:hover {
    background: -webkit-gradient(linear,left bottom, left top, color-stop(0, rgb(214,214,214)), color-stop(0.75, rgb(184,184,184)));
    background: -moz-linear-gradient(center bottom, rgb(214,214,214) 0%, rgb(184,184,184) 75%);
    background-color: #c0c0c0 ;
  }

  /* All page content from the bottom of the menu or submenu down to
   ** the footer */
  div.content {
    background-color: #fff;
    -webkit-box-shadow: 0px 3px 4px #999;
    -moz-box-shadow: 0px 3px 4px #999;
    box-shadow: 0px 3px 4px #999;
    -moz-border-bottom-right-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding-bottom: 1em;
    min-height:40%;
  }


  /* Some pages have section dividers */
  div.section {
    margin-bottom: 0.5em;
    margin-top: 1em;
    margin-right: auto;

    padding: 1px 1px 1px 1px;
    font-size: 1.2em;
    font-weight: bold;

    text-align: center;
    color: white;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    background-color: #446979;
    background: -webkit-gradient(linear,left bottom,left top, color-stop(0.02, rgb(51,81,94)),  color-stop(0.76, rgb(85,129,149)));
    background: -moz-linear-gradient(center bottom,rgb(51,81,94) 2%, rgb(85,129,149) 76%);

    -webkit-box-shadow: 0px 3px 4px #333333;
    -moz-box-shadow: 0px 3px 4px #333333;
    box-shadow: 0px 3px 4px #333333;
  }

  /* The "Date" that occurs on the left hand side of timelines */
  div.divider {
    font-size: 1.2em;
    font-family: Georgia, serif;
    font-weight: bold;
    margin-top: 1em;
    white-space: nowrap;
  }

  /* The footer at the very bottom of the page */
  div.footer {
    font-size: 0.9em;
    text-align: right;
    margin-bottom: 1em;
    color: #666;
  }

  /* Hyperlink colors in the footer */
  div.footer a { color: white; }
  div.footer a:link { color: white; }
  div.footer a:visited { color: white; }
  div.footer a:hover { background-color: white; color: #558195; }

  /* <verbatim> blocks */
  pre.verbatim, blockquote pre {
    font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
    background-color: #f3f3f3;
    padding: 0.5em;
    white-space: pre-wrap;
  }

  blockquote pre {
    border: 1px #000 dashed;
  }

  /* The label/value pairs on (for example) the ci page */
  table.label-value th {
    vertical-align: top;
    text-align: right;
    padding: 0.2ex 2ex;
  }


  table.report {
    border-collapse:collapse;
    border: 1px solid #999;
    margin: 1em 0 1em 0;
  }

  table.report tr th {
    padding: 3px 5px;
    text-transform : capitalize;
  }

  table.report tr td {
    padding: 3px 5px;
  }

  textarea {
    font-size: 1em;
  }

  /* Side-by-side diff */
  table.sbsdiff {
    background-color: white;
    font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
    font-size: 6pt;
    border-collapse:collapse;
    width: 98%;
    border: 1px #000 dashed;
    margin-left: auto;
    margin-right: auto;
  }

  table.sbsdiff th.diffhdr {
    border-bottom: dotted;
    border-width: 1px;
  }

  table.sbsdiff tr td {
    padding-left: 3px;
    padding-right: 3px;
    margin: 0px;
    vertical-align: top;
    white-space: pre-wrap;
  }

  table.sbsdiff tr td.lineno {
    text-align: right;
    /* border-bottom: 1px solid rgb(220, 220, 220); */
  }

  table.sbsdiff tr td.srcline {
    /* max-width: 400px; */
    /* Note: May partially hide long lines without whitespaces */
    /* overflow: hidden; */
    /* border-bottom: 1px solid rgb(220, 220, 220); */
  }

  table.sbsdiff tr td.meta {
    background-color: rgb(170, 160, 255);
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    text-align: center;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -webkit-border-radius: 5px;
    -border-radius: 5px;
    -border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
  }

  table.sbsdiff tr td.added {
    background-color: rgb(180, 250, 180);
    /* border-bottom: 1px solid rgb(160, 230, 160); */
  }

  table.sbsdiff tr td.removed {
    background-color: rgb(250, 130, 130);
    /* border-bottom: 1px solid rgb(230, 110, 110); */
  }

  table.sbsdiff tr td.changed {
    background-color: rgb(210, 210, 200);
    /* border-bottom: 1px solid rgb(190, 190, 180); */
  }


name: header
value:
  <html>
  <head>
  <title>$<project_name>: $<title></title>
  <link rel="alternate" type="application/rss+xml" title="RSS Feed"
        href="$home/timeline.rss">
  <link rel="stylesheet" href="$home/style.css?black2" type="text/css"
        media="screen">
  </head>
  <body>
  <div class="header">
    <div class="logo">
      <img src="$home/logo" alt="logo">
      <br /><nobr>$<project_name></nobr>
    </div>
    <div class="title">$<title></div>
    <div class="status"><nobr><th1>
       if {[info exists login]} {
         puts "Logged in as $login"
       } else {
         puts "Not logged in"
       }
    </th1></nobr></div>
  </div>
  <div class="mainmenu">
  <th1>
  html "<a href='$home$index_page'>Home</a>\n"
  if {[anycap jor]} {
    html "<a href='$home/timeline'>Timeline</a>\n"
  }
  if {[hascap oh]} {
    html "<a href='$home/dir?ci=tip'>Files</a>\n"
  }
  if {[hascap o]} {
    html "<a href='$home/brlist'>Branches</a>\n"
    html "<a href='$home/taglist'>Tags</a>\n"
  }
  if {[hascap r]} {
    html "<a href='$home/reportlist'>Tickets</a>\n"
  }
  if {[hascap j]} {
    html "<a href='$home/wiki'>Wiki</a>\n"
  }
  if {[hascap s]} {
    html "<a href='$home/setup'>Admin</a>\n"
  } elseif {[hascap a]} {
    html "<a href='$home/setup_ulist'>Users</a>\n"
  }
  if {[info exists login]} {
    html "<a href='$home/login'>Logout</a>\n"
  } else {
    html "<a href='$home/login'>Login</a>\n"
  }
  </th1></div>
  <div id="container">


name: project-description
value:
  The configurator used for Tcl Extension Architecture (TEA) extensions to the Tcl programming language.


# reportfmt

title: All Tickets
cols:
  #ffffff Key:
  #f2dcdc Active
  #e8e8e8 Review
  #cfe8bd Fixed
  #bde5d6 Tested
  #cacae5 Deferred
  #c8c8c8 Closed

sqlcode:
  SELECT
    CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc'
         WHEN status='Review' THEN '#e8e8e8'
         WHEN status='Fixed' THEN '#cfe8bd'
         WHEN status='Tested' THEN '#bde5d6'
         WHEN status='Deferred' THEN '#cacae5'
         ELSE '#c8c8c8' END AS 'bgcolor',
    substr(tkt_uuid,1,10) AS '#',
    datetime(tkt_mtime) AS 'mtime',
    type,
    status,
    subsystem,
    title
  FROM ticket


# event

type: ci
user: hobbs
comment:
  change to require PACKAGE var in TEA to avoid $($@_OBJECTS) substitution that many makes do not like


type: ci
user: hobbs
comment:
  	* tcl.m4: added warnings on Windows, removed RELPATH define and
  	added TCL_LIBS to MAKE_LIB macro.


type: ci
user: hobbs
comment:
  	This import represents 2.0.0, or a new start at attempting to
  	make TEA much easier for C extension developers.

  	**** moved from tclpro project to core tcl project, ****
  	**** renamed to 'tclconfig'                         ****


type: ci
user: hobbs
comment:
  	* tcl.m4 (SC_PUBLIC_TCL_HEADERS, SC_PUBLIC_TK_HEADERS): don't
  	check /usr(/local)/include for includes on Windows when not using
  	gcc


type: ci
user: hobbs
comment:
  	* installFile.tcl (removed):
  	* mkinstalldirs (removed): these aren't really necessary for
  	making TEA work


type: ci
user: hobbs
comment:
  	* tcl.m4: corrected forgotten (UN)SHARED_LIB_SUFFIX and
  	SHLIB_SUFFIX defines for Win.
  	(SC_PATH_X): made this only do the check on unix platforms.


type: ci
user: hobbs
comment:
  	* tcl.m4: made SC_LOAD_TKCONFIG recognize when working with a Tk
  	build dir setup.
  	Added EXTRA_CFLAGS and SHLIB_LD_LIBS substs to SC_CONFIG_CFLAGS.
  	Added XLIBSW onto LIBS when it is defined.
  	Remove TCL_LIBS from MAKE_LIB and correctly use SHLIB_LD_LIBS
  	instead to not rely as much on tclConfig.sh cached info.
  	Moved subst of ${PACKAGE}_LIB_FILE into SC_MAKE_LIB.
  	Add TK_BIN_DIR to paths to find wish in SC_PROG_WISH.
  	These move towards making TEA much more independent of *Config.sh.


type: ci
user: hobbs
comment:
  	* tcl.m4: called AC_MSG_ERROR when SC_TEA_INIT wasn't called first
  	instead of calling it as that inlines it each time in shell code.
  	Changed Windows CFLAGS_OPTIMIZE to use -O2 instead of -Oti.
  	Noted TCL_LIB_VERSIONS_OK=nodots for Windows builds.
  	A few changes to support itcl (and perhaps others):
  	Added support for making your own stub libraries to SC_MAKE_LIB.
  	New SC_PATH_CONFIG and SC_LOAD_CONFIG that take a package name arg
  	and find that ${pkg}Config.sh file.  itk uses this for itcl.


type: ci
user: hobbs
comment:
  	* tcl.m4: made sure that SHLIB_LDFLAGS was set to LDFLAGS_DEFAULT.
  	Removed --enable-64bit support for AIX-4 because it wasn't correct.
  	Added -MT or -MD Windows linker switches to properly support
  	symbols-enabled builds.


type: ci
user: hobbs
comment:
  	* tcl.m4: change all SC_* macros to TEA_*.  The SC_ was for
  	Scriptics, which is no more.  TEA represents a better, independent
  	prefix that won't need changing.
  	Added preliminary mingw gcc support. [Patch #538772]
  	Added TEA_PREFIX macro that handles defaulting the prefix and
  	exec_prefix vars to those used by Tcl if none were specified.
  	Added TEA_SETUP_COMPILER macro that encompasses the AC_PROG_CC
  	check and several other basic AC_PROG checks needed for making
  	executables.  This greatly simplifies user's configure.in files.
  	Collapsed AIX-5 defines into AIX-* with extra checks for doing the
  	ELF stuff on AIX-5-ia64.


type: ci
user: hobbs
comment:
  	Updated TEA_ENABLE_THREADS to take an optional arg to allow
  	switching it on by default (for Thread) and add sanity checking to
  	warn the user if configuring threads incompatibly.


type: ci
user: hobbs
comment:
  	* tcl.m4: Enabled COFF as well as CV style debug info with
  	--enable-symbols to allow Dr. Watson users to see function info.
  	More info on debugging levels can be obtained at:
  	http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_SETUP_COMPILER): removed call to AC_CYGWIN so that
  	we can use autoconf 2.5x as well as 2.13.  This prevents us from
  	being able to warn against the use of cygwin gcc at configure
  	time, but allows autoconf 2.5x, which is what is shipped with most
  	newer systems.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_ENABLE_THREADS): added USE_THREAD_ALLOC define to
  	use new threaded allocatory by default on Unix for Tcl 8.4.
  	(TEA_CONFIG_CFLAGS): corrected LD_SEARCH_FLAGS for FreeBSD-3+.


type: ci
user: hobbs
comment:
  	* tcl.m4: add --enable-symbols=mem option to enable TCL_MEM_DEBUG.
  	Improved AIX 64-bit build support, allow it on AIX-4 as well.
  	Enable 64-bit HP-11 compilation with gcc.
  	Enable 64-bit IRIX64-6 cc build support.
  	Correct FreeBSD thread library linkage.
  	Add OSF1 static build support.
  	Improve SunOS-5 shared build SHLIB_LD macro.


type: ci
user: hobbs
comment:
  	* tcl.m4: move the CFLAGS definition from TEA_ENABLE_SHARED to
  	TEA_MAKE_LIB because setting too early confuses other AC_* macros.


type: ci
user: hobbs
comment:
  	* tcl.m4: add the CFLAGS definition into TEA_ENABLE_SHARED and
  	make it pick up the env CFLAGS at configure time.


type: ci
user: mdejong
comment:
  	* tcl.m4 (TEA_CONFIG_CFLAGS): Fix build support
  	for mingw, the previous implementation would
  	use VC++ when compiling with mingw gcc. Don't
  	pass -fPIC since gcc always compiles pic code
  	under win32. Change some hard coded cases
  	of gcc to ${CC}.


type: ci
user: hobbs
comment:
  	* tcl.m4: check $prefix/lib as well as $exec_prefix/lib when
  	looking for tcl|tkConfig.sh, as this check is done before we would
  	set exec_prefix when the user does not define it.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_SETUP_COMPILER): added default calls to
  	TEA_TCL_EARLY_FLAGS, TEA_TCL_64BIT_FLAGS,
  	TEA_MISSING_POSIX_HEADERS and TEA_BUGGY_STRTOD.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_ENABLE_THREADS): Make sure -lpthread gets passed on
  	the link line when checking for the pthread_attr_setstacksize
  	symbol. (dejong)


type: ci
user: hobbs
comment:
  	* tcl.m4: (TEA_WITH_CELIB): add --enable-wince and --with-celib
  	options for Windows/CE compilation support.  Requires the
  	Microsoft eMbedded SDK and Keuchel's celib emulation layer.


type: ci
user: hobbs
comment:
  	* tcl.m4: Updated for autoconf 2.5x prereq.
  	Where TCL_WIDE_INT_TYPE would be __int64, defer to the code checks
  	in tcl.h, which also handles TCL_LL_MODIFIER* properly.


type: ci
user: hobbs
comment:
  	* tcl.m4: correct default setting of ARCH for WinCE builds.
  	Correct \ escaping for CE sed macros.


type: ci
user: hobbs
comment:
          * tcl.m4: create a TEA_SETUP_COMPILER_CC the precedes the
          TEA_SETUP_COMPILER macro.  They are split so the check for CC
          occurs before any use of CC.  Also add AC_PROG_CPP to the compiler
          checks.


type: ci
user: hobbs
comment:
  	* configure:           Update of TEA spec to (hopefully) simplify
  	* configure.in:        some aspects of TEA by making use of more
  	* Makefile.in:         AC 2.5x features.  Use PACKAGE_NAME (instead
  	* generic/tclsample.c: of PACKAGE) and PACKAGE_VERSION (instead of
  	* tclconfig/tcl.m4:    VERSION) arguments to AC_INIT as the TEA
  	package name and version.
  	Provide a version argument to TEA_INIT - starting with 3.0.
  	Drop all use of interior shell substs that older makefiles didn't
  	like.  Use PKG_* naming convention instead.
  	Move specification of source files and public headers into
  	configure.in with TEA_ADD_SOURCES and TEA_ADD_HEADERS.  These will
  	be munged during ./configure into the right obj file names (no
  	$(SOURCES:.c=.obj) needed).
  	There is almost nothing that should be touched in Makefile.in now
  	for the developer.  May want to add a TEA_ADD_TCL_SOURCES for the
  	RUNTIME_SOURCES that remains.


type: ci
user: hobbs
comment:
  	Use SHLID_LD_FLAGS (instead of SHLID_LDFLAGS) as Tcl does.
  	Only specify the user requested LDFLAGS/CFLAGS in the Makefile,
  	don't mention the _OPTIMIZE/_DEBUG variants.


type: ci
user: hobbs
comment:
  	* configure:
  	* configure.in:
  	* Makefile.in (VPATH): readd $(srcdir) to front of VPATH as the
  	first part of VPATH can get chopped off.
  	Change .c.$(OBJEXT) rule to .c.@OBJEXT@ to support more makes.
  	* tclconfig/tcl.m4: add TEA_ADD_STUB_SOURCES to support libstub
  	generation and TEA_ADD_TCL_SOURCES to replace RUNTIME_SOURCES as
  	the way the user specifies library files.


type: ci
user: hobbs
comment:
  	* Makefile.in:      added TEA_ADD_LIBS, TEA_ADD_INCLUDES and
  	* configure:        TEA_ADD_CFLAGS to configurable parameters with
  	* configure.in:     PKG_* equivs in the Makefile.  This allows the
  	* tclconfig/tcl.m4: user to worry less about actual magic VAR names.
  	Corrected Makefile.in to note that TEA_ADD_TCL_SOURCES requires
  	exact file names.


type: ci
user: hobbs
comment:
  	* tcl.m4: don't require TK_INCLUDES and TCL_INCLUDES to have the
  	DIR_NATIVE vars defined when using private headers on unix.
  	Allow $... to TEA_ADD_SOURCES for constructs like
  	TEA_ADD_SOURCES([\$(WIN_OBJECTS)]), that allow the developer to
  	place more in the Makefile.in.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_TCL_64BIT_FLAGS): replace AC_TRY_RUN test with
  	AC_TRY_COMPILE for the long vs. long long check. (kenny)


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_TCL_64BIT_FLAGS): update against core tcl.m4 to
  	define TCL_WIDE_INT_IS_LONG if 'using long'.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_ENABLE_THREADS): force a threaded build when
  	building against a threaded core.
  	(CFLAGS_WARNING): Remove -Wconversion for gcc builds
  	(TEA_CONFIG_CFLAGS): Reorder configure.in for better 64-bit build
  	configuration, replacing EXTRA_CFLAGS with CFLAGS.  [Bug #874058]
  	Update to latest Tcl 8.5 head config settings.
  	Call this TEA version 3.1.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_PATH_X): check in TK_DEFS for MAC_OSX_TK to see if
  	we are compiling on Aqua.  Add TEA_WINDOWINGSYSTEM var that
  	reflects 'tk windowingsystem' value.


type: ci
user: das
comment:
  	* tcl.m4 (TEA_CONFIG_CFLAGS): Darwin section: brought inline with
  	Tcl 8.5 HEAD config, removed core specific & obsolete settings.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_INIT, TEA_PREFIX): update handling of exec_prefix to
  	work around subdir configures since autoconf only propagates the
  	prefix (not exec_prefix).


type: ci
user: das
comment:
  	* tcl.m4 (Darwin): fixed bug with static build linking to dynamic
  	library in /usr/lib etc instead of linking to static library earlier
  	in search path. [Tcl Bug 956908]
  	Removed obsolete references to Rhapsody.


type: ci
user: hobbs
comment:
  	* tcl.m4: Updates for VC7 compatibility, fixing CFLAGS and LDFLAGS
  	options, using better default -O levels. [Bug 1092952, 1091967]


type: ci
user: hobbs
comment:
  	* tcl.m4: remove cygpath calls to support msys.
  	Update base CE build assumption to "420,ARMV4,ARM,Pocket PC 2003".
  	Make STLIB_LD use $LINKBIN -lib.


type: ci
user: hobbs
comment:
  	* tcl.m4: redo of 2005-01-27 changes to correctly handle paths
  	with spaces.  Win/CE and Win/64 builds now require a prebuilt
  	tclsh to handle conversion to short pathnames.  This is done in
  	the new TEA_PATH_NOSPACE macro.  For Win/CE|64, make CC just the
  	compiler and move the necessary includes to CFLAGS.
  	(TEA_CONFIG_CFLAGS): Add Solaris 64-bit gcc build support.
  	(TEA_PROG_TCLSH, TEA_PROG_WISH): Allow TCLSH_PROG and WISH_PROG to
  	be set in the env and prevent resetting.
  	(TEA_ADD_LIBS): On Windows using GCC (mingw), convert foo.lib
  	args to -lfoo, for use with mingw.
  		*** POTENTIAL INCOMPATABILITY ***
  	Bumped TEA to 3.2.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_ADD_LIBS): don't touch lib args starting with -.
  	(TEA_CONFIG_CFLAGS): only define _DLL for CE in shared build.
  	(TEA_MAKE_LIB): set RANLIB* to : on Windows (it's not needed).


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_CONFIG_CFLAGS): correct 2005-03-17 change to have
  	variant LD_SEARCH_FLAGS for gcc and cc builds.


type: ci
user: dgp
comment:
          * README.txt:   Update reference to "SC_* macros" to "TEA_* macros".
          * tcl.m4:       Incorporated recent improvements in SC_PATH_TCLCONFIG
          and SC_PATH_TKCONFIG into TEA_PATH_TCLCONFIG and TEA_PATH_TKCONFIG.
          Corrected search path in TEA_PATH_CONFIG and added
          AC_SUBST($1_BIN_DIR) to TEA_LOAD_CONFIG so that packages that load
          the configuration of another package can know where they loaded
          it from.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_TCL_64BIT_FLAGS): use Tcl header defaults for wide
  	int type only on Windows when __int64 is detected as valid.


type: ci
user: das
comment:
  	* tcl.m4: added AC_DEFINE* descriptions (from core tcl.m4) to allow
  	use with autoheader.
  	(Darwin): added configure checks for recently added linker flags
  	-single_module and -search_paths_first to allow building with older
  	tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD.
  	(TEA_MISSING_POSIX_HEADERS): added caching of dirent.h check.
  	(TEA_BUGGY_STRTOD): added caching (sync with core tcl.m4).


type: ci
user: das
comment:
  	* tcl.m4 (TEA_PATH_X): for TEA_WINDOWINGSYSTEM == aqua, check if xlib
  	compat headers are available in tkheaders location, otherwise add xlib
  	sourcedir to TK_XINCLUDES.


type: ci
user: das
comment:
  	* tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
  	ensure we can always relocate binaries with install_name_tool.


type: ci
user: das
comment:
  	* tcl.m4: changes to better support framework builds of Tcl and Tk out
  	of the box: search framework install locations for *Config.sh, and if in
  	presence of a framework build, use the framework's Headers and
  	PrivateHeaders directories for public and private includes. [FR 947735]


type: ci
user: das
comment:
  	* tcl.m4 (TEA_PRIVATE_TK_HEADERS): add ${TK_SRC_DIR}/macosx to
  	TK_INCLUDES when building against TkAqua.

  	* tcl.m4 (TEA_PATH_X): fixed missing comma in AC_DEFINE


type: ci
user: mdejong
comment:
  	* tcl.m4 (TEA_PROG_TCLSH, TEA_BUILD_TCLSH,
  	TEA_PROG_WISH, TEA_BUILD_WISH):
  	Split confused search for tclsh on PATH and
  	build and install locations into two macros.
  	TEA_PROG_TCLSH and TEA_PROG_WISH search the
  	system PATH for an installed tclsh or wish.
  	The TEA_BUILD_TCLSH and TEA_BUILD_WISH
  	macros determine the name of tclsh or
  	wish in the Tcl or Tk build directory even
  	if tclsh or wish has not yet been built.
  	[Tcl bug 1160114]
  	[Tcl patch 1244153]


type: ci
user: mdejong
comment:
  	* tcl.m4 (TEA_PROG_TCLSH, TEA_BUILD_TCLSH,
  	TEA_PROG_WISH, TEA_BUILD_WISH): Remove
  	TEA_BUILD_TCLSH and TEA_BUILD_WISH because
  	of complaints that it broke the build when
  	only an installed version of Tcl was available
  	at extension build time. The TEA_PROG_TCLSH and
  	TEA_PROG_WISH macros will no longer search the
  	path at all. The build tclsh or installed
  	tclsh shell will now be found by TEA_PROG_TCLSH.


type: ci
user: hobbs
comment:
  	* tcl.m4: *** Update to TEA version 3.3 ***
  	define TEA_WINDOWINGSYSTEM in TEA_LOAD_TKCONFIG.
  	Make --enable-threads the default (users can --disable-threads).
  	Improve AIX ${CC}_r fix to better check existing ${CC} value.
  	Do the appropriate evals to not require the *TOP_DIR_NATIVE vars
  	be set for extensions that use private headers.
  	Make aqua check for Xlib compat headers the same as win32.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_PRIVATE_TCL_HEADERS): add / to finish sed macro
  	(TEA_ENABLE_THREADS): don't check for pthread_attr_setstacksize func


type: ci
user: das
comment:
  	* tcl.m4: fixed two tests for TEA_WINDOWINGSYSTEM = "aqua" that should
  	have been for `uname -s` = "Darwin" instead; added some missing quoting.
  	(TEA_PROG_TCLSH, TEA_PROG_WISH): fix incorrect assumption that install
  	location of tclConfig.sh/tkConfig.sh allows to determine the tclsh/wish
  	install dir via ../bin. Indeed tcl/tk can be configured with arbitrary
  	--libdir and --bindir (independent of prefix) and such a configuration
  	is in fact standard with Darwin framework builds. At least now also
  	check ${TCL_PREFIX}/bin resp. ${TK_PREFIX}/bin for presence of tclsh
  	resp. wish (if tcl/tk have been configured with arbitrary --bindir, this
  	will still not find them, for a general solution *Config.sh would need
  	to contain the values of bindir/libdir/includedir passed to configure).


type: ci
user: das
comment:
  	* unix/tcl.m4 (Darwin): add 64bit support, add CFLAGS to SHLIB_LD to
  	support passing -isysroot in env(CFLAGS) to configure (flag can't be
  	present twice, so can't be in both CFLAGS and LDFLAGS during configure),
  	don't use -prebind when deploying on 10.4.
  	(TEA_ENABLE_LANGINFO, TEA_TIME_HANDLER): add/fix caching.


type: ci
user: hobbs
comment:
  	* tcl.m4:  *** Bump to TEA version 3.4 ***
  	Add Windows x64 build support.
  	Remove TEA_PATH_NOSPACE and handle the problem with ""s where
  	necessary - the macro relied on TCLSH_PROG which didn't work for
  	cross-compiles.


type: ci
user: dgp
comment:
          * tcl.m4 (TEA_PUBLIC_*_HEADERS):        Better support for finding
          header files for uninstalled Tcl and Tk.


type: ci
user: das
comment:
  	* tcl.m4: add caching, use AC_CACHE_CHECK instead of AC_CACHE_VAL where
  	possible, consistent message quoting, sync relevant tcl/unix/tcl.m4 HEAD
  	changes and gratuitous formatting differences (notably sunc removal of
  	support for for ancient BSD's, IRIX 4, RISCos and Ultrix by kennykb),
  	Darwin improvements to TEA_LOAD_*CONFIG to make linking work against
  	Tcl/Tk frameworks installed in arbitrary location, change TEA_PROG_*
  	search order (look in *_BIN_DIR parents before *_PREFIX).


type: ci
user: hobbs
comment:
  	* tcl.m4: restore system=windows on Windows.
  	Remove error if 'ar' isn't found (it may not be on Windows).
  	Do not add -lxnet or define _XOPEN_SOURCE on HP-UX by default.
  	Ensure the C|LDFLAGS_DEFAULT gets the fully sub'd value at
  	configure time.


type: ci
user: das
comment:
  	* tcl.m4 (Darwin): for Tk extensions, remove -arch ppc64 from CFLAGS
  	like in the Tk configure, as neither TkAqua nor TkX11 can be built for
  	64bit at present (no 64bit GUI libraries).


type: ci
user: hobbs
comment:
  	* tcl.m4:  *** Bump to TEA version 3.5 ***
  	add C:/Tcl/lib and C:/Progra~1/Tcl/lib dirs to check for
  	*Config.sh on Windows. [Bug 1407544]


type: ci
user: das
comment:
  	* tcl.m4 (Darwin): use makefile variable LDFLAGS_DEFAULT instead of
  	LDFLAGS in SHLIB_LD, to ensure linker flags in sampleextension Makefile
  	are picked up. [Bug 1403343]


type: ci
user: hobbs
comment:
  	* tcl.m4: []-quote AC_DEFUN functions.
  	(TEA_PATH_TKCONFIG): Fixed Windows-specific check for tkConfig.sh.
  	(TEA_MAKE_LIB): Prepend 'lib' for Windows-gcc configs.


type: ci
user: das
comment:
  	* tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
  	universal builds including x86_64 and for use of -mmacosx-version-min
  	instead of MACOSX_DEPLOYMENT_TARGET. For Tk extensions, remove 64-bit
  	arch flags from CFLAGS like in the Tk configure, as neither TkAqua nor
  	TkX11 can be built for 64-bit at present.


type: ci
user: das
comment:
  	* tcl.m4 (Linux): fix previous change to use makefile variable
  	LDFLAGS_DEFAULT instead of LDFLAGS in SHLIB_LD, to ensure linker
  	flags in sampleextension Makefile are picked up.


type: ci
user: das
comment:
  	* tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch flag
  	succeeds before enabling 64bit build.


type: ci
user: das
comment:
  	* unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861]
  	(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
  	present in CFLAGS to avoid discrepancies between what headers configure
  	sees during preprocessing tests and compiling tests.


type: ci
user: das
comment:
  previous commit used the AC 2.13 code from tcl core-8-4-branch instead of the AC 2.59 version from HEAD. [Bug 1644655]


type: ci
user: das
comment:
  	* tcl.m4: integrate CPPFLAGS into CFLAGS as late as possible and
  	move (rather than duplicate) -isysroot flags from CFLAGS to CPPFLAGS to
  	avoid errors about multiple -isysroot flags from some older gcc builds.


type: ci
user: hobbs
comment:
  	* tcl.m4 (TEA_PRIVATE_TCL_HEADERS, TEA_PRIVATE_TK_HEADERS): check
  	that the dirs actually have private headers. [Bug 1631922]


type: ci
user: das
comment:
  	* tcl.m4:	replace all direct references to compiler by ${CC} to
  			enable CC overriding at configure & make time.
  	(SunOS-5.1x):	replace direct use of '/usr/ccs/bin/ld' in SHLIB_LD by
  			'cc' compiler driver.


type: ci
user: jenglish
comment:
  Use '${CC} -shared' instead of 'ld -Bshareable' to build shared libraries
  on current NetBSDs [#1749251].


type: ci
user: das
comment:
  sync with tcl/unix/tcl.m4: S_IF, reordering, comments marking TEA specific bits, visibility & rpath TEA_CONFIG_CFLAGS checks


type: ci
bgcolor: #d0c0ff
user: das
comment:
  sync with tcl/unix/tcl.m4: AS_IF, reordering, comments marking TEA specific bits, visibility & rpath TEA_CONFIG_CFLAGS checks


type: ci
user: das
comment:
  	* tcl.m4 (Darwin): link shlib with current and compatiblity version
  	flags; look for libX11.dylib when searching for X11 libraries.


type: ci
bgcolor: #d0c0ff
user: hobbs
comment:
  	* tcl.m4 (TEA_PATH_TCLCONFIG, TEA_PATH_TKCONFIG): exit with error
  	when tclConfig.sh cannot be found. [Bug #1997760]
  	(TEA_PRIVATE_TCL_HEADERS, TEA_PRIVATE_TK_HEADERS): allow for
  	finding the headers installed in the public areas, e.g. a result of
  	make install-private-headers. [Bug #1631922]


type: ci
bgcolor: #d0c0ff
user: das
comment:
  	* tcl.m4 (Darwin): sync TEA_PRIVATE_TK_HEADERS handling of
  	Tk.framework PrivateHeaders with TEA_PRIVATE_TCL_HEADERS.


type: ci
bgcolor: #d0c0ff
user: hobbs
comment:
  	* tcl.m4: in private header check, check for <plat>Port.h instead
  	of Int.h to ensure all private headers are available.


type: ci
bgcolor: #d0c0ff
user: das
comment:
  	* tcl.m4: sync with tdbc tcl.m4 changes
  	(SunOS-5.11): Sun cc SHLIB_LD: use LDFLAGS_DEFAULT instead of LDFLAGS


type: ci
user: jenglish
comment:
  Bug 1960628:
  sampleextension: pkgIndex.tcl.in: use @PACKAGE_NAME@ instead of "Tclsha1"
  tclconfig: tcl.m4: Allow ${SHLIB_SUFFIX} to be overridden at configure-time
  Also fix some comment typos, and an uninitialized variable
  bug-waiting-to-happen.


type: ci
user: nijtmans
comment:
  [Bug 2073255] Tcl_GetString(NULL) doesn't crash on HP-UX
  (this bug report was for Tcl, but holds for TEA as well.)


type: ci
user: jenglish
comment:
  TEA_PUBLIC_TK_HEADERS: Look at ${TK_INCLUDE_SPEC} (found in tkConfig.sh)
  when trying to guess where tk.h might be [Patch 1960628].
  Alos fxi anthoer tyop spotted by stu.


type: ci
bgcolor: #d0c0ff
user: nijtmans
comment:
  Adapt LDFLAGS and LD_SEARCH_FLAGS
  together with SHLIB_LD definition to unbreak building on HPUX.
  Backport other changes from trunk


type: ci
bgcolor: #d0c0ff
user: nijtmans
comment:
  Backport a lot of quoting fixes from tcl8.6/unix/tcl.m4
  Fix determination of CYGPATH for CYGWIN
  With those fixes, itcl and tdbc compile fine with CYGWIN


type: ci
user: hobbs
comment:
          * tcl.m4: remove more vestigial bits from removed platforms.
          Add back SCO_SV-3.2*.
          Remove use of DL_LIBS and DL_OBJS and related baggage - these are
          only needed by the core to support 'load'.
          Allow for macosx in TEA_ADD_SOURCES.
          Correct check for found_xincludes=no in TEA_PATH_UNIX_X.

  	Bump TEA 3.8 tag


type: ci
user: hobbs
comment:
          *** Bump to TEA_VERSION 3.9 ***
          If upgrading from TEA_VERSION 3.8, copy over tcl.m4, change
          TEA_INIT to use 3.9 and reconfigure (ac-2.59+).
          BUILD_${PACKAGE_NAME} will be auto-defined on Windows for
          correct setting of TCL_STORAGE_CLASS.
          TEA_LOAD_CONFIG users should remove the SHLIB_LD_LIBS setting done
          in configure.in (LIBS will be automagically populated by
          TEA_LOAD_CONFIG).
          TEA_EXPORT_CONFIG has been added for ${pkg}Config.sh creators
          SHLIB_LD_FLAGS was deprecated a while ago, remove it if it is
          still in your Makefile.in.

          * tcl.m4: add /usr/lib64 to set of auto-search dirs. [Bug 1230554]
          Auto-define BUILD_$PACKAGE_NAME so users don't need to.  This
          needs to correspond with $pkg.h define magic for TCL_STORAGE_CLASS.
          Auto-define CLEANFILES.  Users can expand it.
          (SHLIB_LD_LIBS): define to '${LIBS}' default and change it only if
          necessary.  Platforms not using this may simply not work or have
          very funky linkers.
          (TEA_LOAD_CONFIG): When loading config for another extension,
          auto-add stub libraries found with TEA_ADD_LIBS.  Eases
          configure.in for modules like itk and img::*.
          (TEA_EXPORT_CONFIG): Add standardized function for exporting a
          ${pkg}Config.sh.  See use by img::* and itcl.


type: ci
user: hobbs
comment:
          (TEA_MAKE_LIB): Enhanced to check for MSVC that requires manifests
          and auto-embed it into proj DLL via MAKE_SHARED_LIB.  Also define
          VC_MANIFEST_EMBED_DLL and VC_MANIFEST_EMBED_EXE that do the same
          magic in case it is needed for extended TEA projects.


type: ci
user: hobbs
comment:
          * tcl.m4: add TEA_ADD_CLEANFILES macro to make adding cleanfiles
          easier, and add *.exp to CLEANFILES Windows default.


type: ci
user: nijtmans
comment:
  [FREQ #3058486] TEA_LOAD_CONFIG doesn't set all BUILD_ vars
  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.


type: ci
user: hobbs
comment:
          * tcl.m4: add extra if check for .manifest file generation
          Add notice about package name and version being built.


type: ci
bgcolor: #d0c0ff
user: hobbs
comment:
          * tcl.m4: remove the following old platform configurations:
          UNIX_SV*|UnixWare-5*, SunOS-4.*, SINIX*5.4*, SCO_SV-3.2*,
          OSF1-1.*, NEXTSTEP-*, NetBSD-1.*|FreeBSD-[[1-2]].*, MP-RAS-*,
          IRIX-5.*, HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*, dgux*,
          BSD/OS-2.1*|BSD/OS-3*


type: ci
bgcolor: #d0c0ff
user: hobbs
comment:
          *** Bump to TEA_VERSION 3.8 ***
          If upgrading from TEA_VERSION 3.7, copy over tcl.m4, change
          TEA_INIT to use 3.8 and reconfigure (ac-2.59+).
          No other changes should be necessary.


type: ci
bgcolor: #d0c0ff
user: hobbs
comment:
          Remove use of DL_LIBS and DL_OBJS and related baggage - these are
          only needed by the core to support 'load'.


type: ci
bgcolor: #d0c0ff
user: hobbs
comment:
          Allow for macosx in TEA_ADD_SOURCES.
          Correct check for found_xincludes=no in TEA_PATH_UNIX_X.


type: ci
user: hobbs
ecomment:
  	This import represents 2.0.0, or a new start at attempting to
  	make TEA much easier for C extension developers.

  	**** moved from tclpro project to core tcl project, ****
  	**** renamed to 'tclconfig'                         ****

comment:
  	This import represents 2.0.0, or a new start at attempting to
  	make TEA much easier for C extension developers.

  	**** moved from tclpro project to core tcl project, ****
  	**** renamed to 'tclconfig'                         ****


type: ci
user: jan.nijtmans
ecomment:
  [Bug 3511806] Compiler checks too early
  This change allows to build the cygwin and mingw32 ports of
  Tcl/Tk extensions to build out-of-the-box using a native or
  cross-compiler, e.g. on Cygwin, Linux or Darwin.

comment:
  [Bug 3511806] Compiler checks too early
  This change allows to build the cygwin and mingw32 ports of
  Tcl/Tk extensions to build out-of-the-box using a native or
  cross-compiler.


type: t
user: jan.nijtmans
brief: Closed ticket [3606445fff].
comment:
  Closed ticket [3606445fff]: <i>Unneeded -DHAVE_NO_SEH=1 when not building on Windows</i> plus 9 other changes


type: ci
user: jan.nijtmans
comment:
  Slightly better solution for [3606445]:  Does the same for EXCEPTION_DISPOSITION and HAVE_WINNT_IGNORE_VOID as well, and skips the test completely.


type: ci
user: jan.nijtmans
comment:
  Bug [http://core.tcl.tk/tcl/tktview?name=32afa6e256|32afa6e256]: dirent64 check is incorrect in tcl.m4. Thanks to Brian Griffin.


type: t
user: davygrvy
brief: Ticket [1055668fff]: 4 changes
comment:
  Ticket [1055668fff] <i>removal of exported internals from tclInt.h (EXTERN macro)</i> status still Open with 4 other changes


type: t
user: rebum
brief: Ticket [1636685fff]: 4 changes
comment:
  Ticket [1636685fff] <i>FreeBSD's ld does not understand -pthread</i> status still Open with 4 other changes


type: t
user: mthuurne
brief: Ticket [3181878fff]: 4 changes
comment:
  Ticket [3181878fff] <i>tclConfig.h not installed on Mac OS X</i> status still Closed with 4 other changes


type: t
user: kennykb
brief: Ticket [1055668fff]: 5 changes
comment:
  Ticket [1055668fff] <i>removal of exported internals from tclInt.h (EXTERN macro)</i> status still Open with 5 other changes


type: t
user: nijtmans
brief: Closed ticket [1055668fff].
comment:
  Closed ticket [1055668fff]: <i>removal of exported internals from tclInt.h (EXTERN macro)</i> plus 7 other changes


type: t
user: davygrvy
brief: Ticket [1055668fff]: 4 changes
comment:
  Ticket [1055668fff] <i>removal of exported privates from tclInt.h (EXTERN macro)</i> status still Open with 4 other changes


type: t
user: stwo
brief: Closed ticket [3555058fff].
comment:
  Closed ticket [3555058fff]: <i>Checkin [30736d63f0] broke CFLAGS_DEFAULT, LDFLAGS_DEFAULT</i> plus 7 other changes


type: t
user: mtsullivan
brief: Ticket [875784ffff]: 4 changes
comment:
  Ticket [875784ffff] <i>tclconfig/tcl.m4 fixes for automake 1.8</i> status still Open with 4 other changes


type: t
user: dgp
brief: Ticket [1245329fff]: 4 changes
comment:
  Ticket [1245329fff] <i>TEA_PUBLIC_TCL_HEADERS: uninstalled Tcl</i> status still Open with 4 other changes


type: t
user: roflz
brief: Ticket [3598299fff]: 4 changes
comment:
  Ticket [3598299fff] <i>unix: tcl does not create non-versioned symlinks for dso</i> status still Open with 4 other changes


type: t
user: dgp
brief: Ticket [1230554fff]: 4 changes
comment:
  Ticket [1230554fff] <i>Add /usr/lib64 to tclconfig search path</i> status still Open with 4 other changes


type: t
user: dgp
brief: Ticket [1245329fff]: 5 changes
comment:
  Ticket [1245329fff] <i>TEA_PUBLIC_TCL_HEADERS: unintstalled Tcl</i> status still Open with 5 other changes


type: t
user: dgp
brief: Closed ticket [950210ffff].
comment:
  Closed ticket [950210ffff]: <i>TEA_ADD_TCL_SOURCES prevents generated files</i> plus 8 other changes


type: t
user: dgp
brief: Ticket [950210ffff]: 5 changes
comment:
  Ticket [950210ffff] <i>TEA_ADD_TCL_SOURCES prevents generated files</i> status still Open with 5 other changes


type: t
user: dkf
brief: Ticket [1055668fff]: 6 changes
comment:
  Ticket [1055668fff] <i>removal of exported internals from tclInt.h (EXTERN macro)</i> status still Open with 6 other changes


type: t
user: sf-robot
brief: Closed ticket [1077363fff].
comment:
  Closed ticket [1077363fff]: <i>Make pkgIndex.tcl generation include Tcl files</i> plus 6 other changes


type: t
user: jenglish
brief: Ticket [1777301fff]: 4 changes
comment:
  Ticket [1777301fff] <i>TEA: --exec-prefix not set from --prefix</i> status still Open with 4 other changes


type: t
user: hobbs
brief: Ticket [937970ffff]: 4 changes
comment:
  Ticket [937970ffff] <i>TEA: --enable-threads by default ?</i> status still Open with 4 other changes


type: t
user: dkf
brief: Ticket [1055668fff]: 1 change
comment:
  Ticket [1055668fff] <i>removal of exported internals from tclInt.h (EXTERN macro)</i> status still Open with 1 other change


type: t
user: nijtmans
brief: Ticket [3058486fff]: 6 changes
comment:
  Ticket [3058486fff] <i>TEA_LOAD_CONFIG doesn't set all BUILD_ vars</i> status still Open with 6 other changes


type: t
user: nijtmans
brief: Ticket [3607702fff]: 5 changes
comment:
  Ticket [3607702fff] <i>Patch to Tclconfig adding support for UnixWare</i> status still Open with 5 other changes


type: t
user: jcw
brief: Ticket [1500979fff]: 4 changes
comment:
  Ticket [1500979fff] <i>pkgIndex.tcl is removed in &quot;make clean&quot;</i> status still Open with 4 other changes


type: t
user: hobbs
brief: Closed ticket [1407544fff].
comment:
  Closed ticket [1407544fff]: <i>TEA 3.4 missing another common tclConfig.sh path</i> plus 7 other changes


type: t
user: stwo
brief: Ticket [3606445fff]: 4 changes
comment:
  Ticket [3606445fff] <i>Unneeded -DHAVE_NO_SEH=1 when not building on Windows</i> status still Open with 4 other changes


type: t
user: mdejong
brief: Ticket [1160114fff]: 4 changes
comment:
  Ticket [1160114fff] <i>TEA_PROG_TCLSH doesn't check version</i> status still Open with 4 other changes


type: t
user: hobbs
brief: Ticket [1997760fff]: 4 changes
comment:
  Ticket [1997760fff] <i>TEA : configure aborts with a warning but no error</i> status still Open with 4 other changes


type: t
user: dgp
brief: Ticket [950210ffff]: 4 changes
comment:
  Ticket [950210ffff] <i>TEA_ADD_TCL_SOURCES prevents generated files</i> status still Open with 4 other changes


type: ci
user: jan.nijtmans
comment:
  Use X11/Xlib.h for checking where X11 can be found in stead of X11/XIntrinsic.h. 
  Suggested by Pietro Cerutti.


type: t
user: nijtmans
brief: Ticket [3555058fff]: 4 changes
comment:
  Ticket [3555058fff] <i>Checkin [30736d63f0] broke CFLAGS_DEFAULT, LDFLAGS_DEFAULT</i> status still Closed with 4 other changes


type: t
user: dgp
brief: Ticket [950210ffff]: 1 change
comment:
  Ticket [950210ffff] <i>TEA_ADD_TCL_SOURCES prevents generated files</i> status still Open with 1 other change


type: t
user: jenglish
brief: Ticket [1460182fff]: 4 changes
comment:
  Ticket [1460182fff] <i>TEA_ENABLE_THREADS and pthread_mutex_init</i> status still Open with 4 other changes


type: t
user: hobbs
brief: Ticket [1540729fff]: 1 change
comment:
  Ticket [1540729fff] <i>TEA_ADD_SOURCE is too aggressiv with dir stripping</i> status still Open with 1 other change


type: t
user: sick_soul
brief: Ticket [1241752fff]: 4 changes
comment:
  Ticket [1241752fff] <i>FreeBSD fix for TEA_PATH_TCLCONFIG and TEA_PATH_TKCONFIG</i> status still Open with 4 other changes


type: t
user: nijtmans
brief: Ticket [1055668fff]: 3 changes
comment:
  Ticket [1055668fff] <i>removal of exported internals from tclInt.h (EXTERN macro)</i> status still Open with 3 other changes


type: t
user: dkf
brief: Ticket [1241752fff]: 1 change
comment:
  Ticket [1241752fff] <i>FreeBSD fix for TEA_PATH_TCLCONFIG and TEA_PATH_TKCONFIG</i> status still Open with 1 other change


type: t
user: hobbs
brief: Closed ticket [1112654fff].
comment:
  Closed ticket [1112654fff]: <i>eliminate double substitution from configure.in</i> plus 6 other changes


type: t
user: hobbs
brief: Ticket [1703170fff]: 4 changes
comment:
  Ticket [1703170fff] <i>TEA_INIT does exact version matching</i> status still Open with 4 other changes


type: t
user: dkf
brief: Ticket [1636685fff]: 2 changes
comment:
  Ticket [1636685fff] <i>FreeBSD's ld does not understand -pthread</i> status still Open with 2 other changes


type: t
user: dkf
brief: Ticket [1636685fff]: 1 change
comment:
  Ticket [1636685fff] <i>FreeBSD's ld does not understand -pthread</i> status still Open with 1 other change


type: t
user: dkf
brief: Ticket [1230554fff]: 2 changes
comment:
  Ticket [1230554fff] <i>Add /usr/lib64 to tclconfig search path</i> status still Open with 2 other changes


type: t
user: dgp
brief: Ticket [726310ffff]: 1 change
comment:
  Ticket [726310ffff] <i>TEA 2 documentation should include doc recommendation</i> status still Open with 1 other change


type: t
user: rmax
brief: Ticket [948498ffff]: 4 changes
comment:
  Ticket [948498ffff] <i>bug tcl8.4.6 -&gt; autoconf -&gt; tcl.m4</i> status still Open with 4 other changes


type: t
user: sf-robot
brief: Closed ticket [1540729fff].
comment:
  Closed ticket [1540729fff]: <i>TEA_ADD_SOURCE is too aggressiv with dir stripping</i> plus 6 other changes


type: t
user: dgp
brief: Ticket [1245329fff]: 4 changes
comment:
  Ticket [1245329fff] <i>TEA_PUBLIC_TCL_HEADERS: unintstalled Tcl</i> status still Open with 4 other changes


type: t
user: dkf
brief: Ticket [3181878fff]: 5 changes
comment:
  Ticket [3181878fff] <i>tclConfig.h not installed on Mac OS X</i> status still Open with 5 other changes


type: t
user: dgp
brief: Ticket [1500979fff]: 1 change
comment:
  Ticket [1500979fff] <i>pkgIndex.tcl is removed in &quot;make clean&quot;</i> status still Open with 1 other change


type: t
user: hobbs
brief: Ticket [554348ffff]: 3 changes
comment:
  Ticket [554348ffff] <i>spaces in paths break stuff - TEA</i> status still Pending with 3 other changes


type: t
user: hobbs
brief: Pending ticket [1540729fff].
comment:
  Pending ticket [1540729fff]: <i>TEA_ADD_SOURCE is too aggressiv with dir stripping</i> plus 3 other changes


type: t
user: hobbs
brief: Pending ticket [1112654fff].
comment:
  Pending ticket [1112654fff]: <i>eliminate double substitution from configure.in</i> plus 6 other changes


type: t
user: nijtmans
brief: Closed ticket [3607702fff].
comment:
  Closed ticket [3607702fff]: <i>Patch to Tclconfig adding support for UnixWare</i> plus 7 other changes


type: t
user: dgp
brief: Ticket [3607702fff]: 1 change
comment:
  Ticket [3607702fff] <i>Patch to Tclconfig adding support for UnixWare</i> status still Open with 1 other change


type: t
user: hobbs
brief: Deleted ticket [1997760fff].
comment:
  Deleted ticket [1997760fff]: <i>TEA : configure aborts with a warning but no error</i> plus 3 other changes


type: t
user: dkf
brief: Ticket [1997760fff]: 5 changes
comment:
  Ticket [1997760fff] <i>TEA : configure aborts with a warning but no error</i> status still Open with 5 other changes


type: t
user: nijtmans
brief: Ticket [1230554fff]: 4 changes
comment:
  Ticket [1230554fff] <i>Add /usr/lib64 to tclconfig search path</i> status still Closed with 4 other changes


type: t
user: sick_soul
comment:
  Add attachment [/artifact/2fc0eb1bd4967ef7|tcl.m4.freebsd_TEA_PATH_TCLCONFIG_TEA_PATH_TKCONFIG_fix.udiff] to ticket [1241752fffffffff]


type: t
user: hobbs
brief: Pending ticket [1077363fff].
comment:
  Pending ticket [1077363fff]: <i>Make pkgIndex.tcl generation include Tcl files</i> plus 7 other changes


type: t
user: dgp
brief: Ticket [1112654fff]: 6 changes
comment:
  Ticket [1112654fff] <i>eliminate double substitution from configure.in</i> status still Open with 6 other changes


type: t
user: dgp
brief: Ticket [1241752fff]: 2 changes
comment:
  Ticket [1241752fff] <i>FreeBSD fix for TEA_PATH_TCLCONFIG and TEA_PATH_TKCONFIG</i> status still Open with 2 other changes


type: t
user: mdejong
brief: Ticket [1160114fff]: 4 changes
comment:
  Ticket [1160114fff] <i>TEA_PROG_TCLSH doesn't check version</i> status still Closed with 4 other changes


type: t
user: sf-robot
brief: Closed ticket [1500979fff].
comment:
  Closed ticket [1500979fff]: <i>pkgIndex.tcl is removed in &quot;make clean&quot;</i> plus 6 other changes


type: t
user: hobbs
brief: Pending ticket [1500979fff].
comment:
  Pending ticket [1500979fff]: <i>pkgIndex.tcl is removed in &quot;make clean&quot;</i> plus 7 other changes


type: ci
user: jan.nijtmans
comment:
  Eliminate NO_VIZ macro as current zlib uses HAVE_HIDDEN in stead. 
  One more fix for FreeBSD by Pietro Cerutti


type: t
user: dgp
brief: Ticket [1077363fff]: 1 change
comment:
  Ticket [1077363fff] <i>Make pkgIndex.tcl generation include Tcl files</i> status still Open with 1 other change


type: t
user: roflz
brief: Open ticket [3598299fff].
comment:
  Open ticket [3598299fff]: <i>unix: tcl does not create non-versioned symlinks for dso</i> plus 4 other changes


type: t
user: xenu536
brief: Ticket [3607702fff]: 4 changes
comment:
  Ticket [3607702fff] <i>Patch to Tclconfig adding support for UnixWare</i> status still Open with 4 other changes


type: t
user: dgp
brief: Ticket [1112654fff]: 4 changes
comment:
  Ticket [1112654fff] <i>eliminate double substitution from configure.in</i> status still Open with 4 other changes


type: t
user: hobbs
brief: Ticket [948498ffff]: 5 changes
comment:
  Ticket [948498ffff] <i>bug tcl8.4.6 -&gt; autoconf -&gt; tcl.m4</i> status still Open with 5 other changes


type: t
user: roflz
brief: Ticket [3598299fff]: 1 change
comment:
  Ticket [3598299fff] <i>unix: tcl does not create non-versioned symlinks for dso</i> status still Open with 1 other change


type: t
user: dgp
brief: Ticket [1245329fff]: 2 changes
comment:
  Ticket [1245329fff] <i>TEA_PUBLIC_TCL_HEADERS: uninstalled Tcl</i> status still Open with 2 other changes


type: t
user: hobbs
brief: Ticket [1540729fff]: 4 changes
comment:
  Ticket [1540729fff] <i>TEA_ADD_SOURCE is too aggressiv with dir stripping</i> status still Open with 4 other changes


type: t
user: nijtmans
brief: Pending ticket [3598299fff].
comment:
  Pending ticket [3598299fff]: <i>unix: tcl does not create non-versioned symlinks for dso</i> plus 10 other changes


type: ci
user: jan.nijtmans
comment:
  When compiling with MSVC++, no longer link the stub library with msvcrt??.dll.
  This way, workarounds in extensions like [http://core.tcl.tk/itcl/info/a961f0729c] are no longer necessary.


type: t
user: jan.nijtmans
brief: Closed ticket [172223e008].
comment:
  Closed ticket [172223e008]: <i>Wrong filename in --disable-shared compile on MinGW</i> plus 7 other changes


type: ci
user: jan.nijtmans
comment:
  Workaround for [http://sourceforge.net/p/mingw/bugs/2065/|MinGW bug #2065]: "gcc --shared" links with libgcc_s_dw2-1.dll when using 64-bit division in C


type: ci
user: jan.nijtmans
comment:
  Follow-up to [3324676]: Some TEA makefiles use INSTALL_(DATA|PROGRAM|SCRIPT), which should be provided for compatibility too.


type: ci
user: jan.nijtmans
ecomment:
  Add INSTALL_DATA_DIR and INSTALL_LIBRARY for use in Makefile.in. Suggested by Stuart Cassoff [604f8d1457d42554dac1c6f002197442da94a832|604f8d1457]

comment:
  Add INSTALL_DATA_DIR and INSTALL_SCRIPT for use in Makefile.in. Suggested by Stuart Cassoff [604f8d1457d42554dac1c6f002197442da94a832|604f8d1457]


type: t
user: anonymous
brief: Ticket [00ed054f4f]: 3 changes
comment:
  Ticket [00ed054f4f] <i>Search in Debian per-version directories</i> status still Open with 3 other changes


type: ci
user: jan.nijtmans
comment:
  Cherry-pick [http://core.tcl.tk/tcl/info/a37bbd81ea20b5c8be680b847b91fa920bfc060b|a37bbd81ea] from Tcl, for use in TEA as well: Combine TCL_SHLIB_LD_EXTRAS+TK_SHLIB_LD_EXTRAS (for Cygwin and FreeBSD) to a single SHLIB_LD_LIBS usable for both Tcl and Tk.


type: t
user: dkf
brief: Ticket [00ed054f4f]: 4 changes
comment:
  Ticket [00ed054f4f] <i>Search in Debian per-version directories</i> status still Open with 4 other changes


type: ci
user: seandeelywoods
comment:
  Added a set of macros as a standard header file for cthulhu

  Added a script for generating _cases.h files

  Added Richard Hipp's "makeheaders" project executable. (To replace the bits
  of codebale that were never really working to my satisfaction)

  A copy of mkhdr is now compiled during ./configure


# attachment

src: 550dbfbe9ba72031142e8ffea371144f4260c5ff
target: 78ef35454f58d206a479c67d578d4a00983d230f
filename: tcl-m4.patch
user: gustafn
comment:
  The attached patch fixes most of the issues. The only warnings are generated now from TEA_TCL_EARLY_FLAG which i did not dare to alter due to missing knowledge about its intended semantics.


# ticket

tkt_uuid: 1055668fffffffffffffffffffffffffffffffff
type: Patch
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: removal of exported internals from tclInt.h (EXTERN macro)
comment:
  This patch report is to contain discussion of the
  current scope problem with regards to internal
  functions that are being exported by-way of improper
  use of the EXTERN macro within tclInt.h.

  There will be a patch file shortly.


tkt_uuid: 1077363fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Out of Date
title: Make pkgIndex.tcl generation include Tcl files
comment:
  The way that pkgIndex.tcl is generated right now is
  primitive.  It either only knows about the shared
  library or requires serious messing with the Makefile.

  If I include any Tcl files to be installed, for example
  in configure.in,

  TEA_ADD_TCL_SOURCES([runtime/pgtcl.tcl])

  ...and that files does a "package provide Pgtcl 1.4",
  for example, it's not automatically picked up in the
  pkgIndex.tcl, but it can be, very easily...

  When doing an install, simply cd to the install
  directory and execute tclsh with a "pkg_mkIndex ." as
  the program.  This will generate a correct pkgIndex.tcl
  that will pick up the shared library and any other
  packages defined by .tcl files and/or other shared
  libraries in the target directory.


tkt_uuid: 1092952fffffffffffffffffffffffffffffffff
type: Patch
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: TEA patch for MSVC7
comment:
  Patch to sampleextension/tclconfig/tcl.m4 to allow TEA
  extensions to build with MSVC7 (the "free" edition of
  the VC++ toolkit).

  Summary of changes:

  + Don't use "-GD"
  + Don't use "-link50compat"
  + Don't use "-YX"
  + Use "LINK -LIB" instead of "LIB" for STLIB_LD.

  Related information: http://wiki.tcl.tk/11431


tkt_uuid: 1112654fffffffffffffffffffffffffffffffff
type: RFE
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: eliminate double substitution from configure.in
comment:
  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 ...`".


tkt_uuid: 1160114fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 7 High
foundin: obsolete: 8.5a3
resolution: Fixed
title: TEA_PROG_TCLSH doesn't check version
comment:
  Sometimes it is important
  to test an extension in the
  same version of Tcl it was
  configured for.  (Or at least
  not an earlier, possibly incompatible,
  release).

  TEA_PROG_TCLSH appears to
  just crawl through a search path
  looking for any programs named
  tclsh* .  This could easily be an
  earlier release of Tcl, and
  conceivably not a Tcl interpreter
  program at all.

  Would be an improvement for
  TEA_PROG_TCLSH to try
  to evaluate [info tclversion]
  in the program it finds.  This 
  would allow verification that
  the program is in fact a Tcl
  interpreter at all, and that it
  provides a Tcl version that satisfies
  the TCL_VERSION value in
  the tclConfig.sh file that is
  in use.

  This has bitten when people
  try to test the trofs extension,
  where they configure against
  a Tcl 8.5 tclConfig.sh and
  header files, but attempt to
  run the test suite in a Tcl 8.4
  tclsh, which fails.


tkt_uuid: 1230554fffffffffffffffffffffffffffffffff
type: RFE
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: Add /usr/lib64 to tclconfig search path
comment:
  In the Tcl core, tcl.m4 tries to locate tclConfig.sh
  from a few well-known locations:

              # check in a few common install locations
              if test x"${ac_cv_c_tclconfig}" = x ; then
                  for i in `ls -d ${libdir} 2>/dev/null` \
                          `ls -d /usr/local/lib
  2>/dev/null` \
                          `ls -d /usr/contrib/lib
  2>/dev/null` \
                          `ls -d /usr/lib 2>/dev/null` \
                          ; do
                      if test -f "$i/tclConfig.sh" ; then
                          ac_cv_c_tclconfig=`(cd $i; pwd)`
                          break
                      fi
                  done
              fi

  It would be nice to add /usr/lib64 to the end of this
  list so that 64-bit systems don't have to explicitly
  set ${libdir} on the command line.


tkt_uuid: 1241752fffffffffffffffffffffffffffffffff
type: Patch
status: Open
subsystem: 85. tclconfig
priority: 7 High
foundin: None
resolution: None
title: FreeBSD fix for TEA_PATH_TCLCONFIG and TEA_PATH_TKCONFIG
comment:
  Hello,

  I have strenghtened the search for tclConfig.sh and
  tkConfig.sh in the TEA_PATH_TCLCONFIG and
  TEA_PATH_TKCONFIG.

  On FreeBSD 4.10 (the machine of the sourceforge compile
  farm so you can check first hand btw), tclConfig.sh is
  in /usr/local/lib/tcl[VERSION]/

  If you call TEA_INIT and then TEA_PATH_TCLCONFIG or/and
  TEA_PATH_TKCONFIG, the macros fail and exit 0

  This patch adds the same checks used above for the
  "check for a private tcl|tk installation" for each
  member of the "check for some default locations" using
  a loop. It is a fix for FreeBSD but should benefit all.

  Claudio


tkt_uuid: 1245329fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: obsolete: 8.5a4
resolution: Accepted
title: TEA_PUBLIC_TCL_HEADERS: uninstalled Tcl
comment:
  TEA_PUBLIC_TCL_HEADERS has
  problems similar to those of
  TEA_PROG_TCLSH getting
  corrected in 1160114.

  What's wanted by an extension is
  the location of the header files that
  match the tclConfig.sh file found.
  A check for "Makefile" in $TCL_BIN_DIR
  is the way to distinguish between an
  installed tclConfig.sh and an uninstalled
  one.  The best search order for header
  files is different in those cases.

  The current list of directories searched
  by TEA_PUBLIC_TCL_HEADERS
  for tcl.h works well for installed Tcl,
  but can point to headers of the wrong
  version of Tcl, when an uninstalled
  tclConfig.sh file forms the configuration
  basis.


tkt_uuid: 1252346fffffffffffffffffffffffffffffffff
type: Patch
status: Open
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: None
title: Add framework support to TEA
comment:
  This is one possible implementation of two macros that
  assist greatly in adding framework support to TCL
  extensions.

  TEA_Enable_Framework is a function that takes the
  framework name as its argument (this may be different
  that package name as package name is often all
  lowercase and framework name is often title case) and
  adds a feature check --enable-framework that acts like
  tcl or tk or python's --enable-framework configure option.

  The second macro, TEA_PACKAGE_CONFIG sets up variables
  for use in the makefile and in a tclConfig.sh type of
  shell script.  Credit goes to the makers of
  configure.in in Itk and Itcl for the part of this not
  having to do with frameworks.  Variables named like
  packagename_LIB_PATH are created.  Perhaps it would be
  better to do m4_upper(AC_PACKAGE_NAME)[_LIB_PATH]. 
  itclConfig.sh uses lowercase names.  itkConfig.sh uses
  uppercase names.


tkt_uuid: 1407517fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: TEA_CONFIG_CFLAGS does not recognize mingw
comment:
  I'm running the tcl.m4 from the CVS head on WinXP using
  mingw 0.8.

  I tried using this with the sample extension and got
  the following warning when running 'configure':

  "Can't figure out how to do dynamic loading or shared
  libraries on this system."

  Walking through the TEA_CONFIG_CFLAGS macro uncovered
  the problem.  In the giant 'case' statement for each
  platform, the branch for windows is listed as
  'windows', which is not a possible value.

  AC_DEFUN(TEA_CONFIG_CFLAGS, [
  ...
  if test "${TEA_PLATFORM}" = "windows" ; then
     # TEA_PLATFORM is either 'windows' or 'unix'
     ...
  fi
  ...
  # This sets $system to 'uname -s'-'uname -r',
  # which on mingw is:
  # MINGW32_NT-5.1-1.0.8(0.46/3/2)
  TEA_CONFIG_SYSTEM
  ...
  case $system in
      windows)
          ...
      AIX-*)
          ...
  esac


  The branch for windows should instead be:

  case $system in
     
  *win32*|*WIN32*|*CYGWIN_NT*|*CYGWIN_9*|*CYGWIN_ME*|*MINGW32_*)


tkt_uuid: 1407544fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: TEA 3.4 missing another common tclConfig.sh path
comment:
  When building extensions on Windows, it is necessary to
  have a windows installation of Tcl installed.  A common
  way to achieve this is to install ActiveTcl.  ActiveTcl
  installs tclConfig.sh into c:/tcl/lib, but
  TEA_PATH_TCLCONFIG does not contain this in its search
  path.  As a result, one must pass
  "--with-tcl=c:/tcl/lib" to configure.

  It would be very convenient if TEA_PATH_TCLCONFIG
  looked for tclConfig.sh in ActiveTcl's default location.


tkt_uuid: 1432696fffffffffffffffffffffffffffffffff
type: Patch
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Works For Me
title: TEA needs -ltk before -ltcl
comment:
  When linking without stubs, extensions need to link
  first against tk and then against tcl because the tk
  library refers to symbols in the tcl library and *NIX
  linkers resolve dependencies from left to right.


tkt_uuid: 1460182fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 3 Low
foundin: None
resolution: Wont Fix
title: TEA_ENABLE_THREADS and pthread_mutex_init
comment:
  The TEA_ENABLE_THREADS macro goes through a lot of work
  to find out what library 'pthread_mutex_init' lives in
  and to set THREADS_LIBS.  However, THREADS_LIBS is not
  used anywhere else in the TEA build system; and in
  general extensions shouldn't call pthread_* directly
  anyway (they should generally use the Tcl public
  interface).

  It's not clear whether defining USE_THREAD_ALLOC is
  necessary either; this doesn't affect the public
  interface (though it is referenced by tclInt.h).


tkt_uuid: 1500979fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: obsolete: 8.4.13
resolution: Invalid
title: pkgIndex.tcl is removed in "make clean"
comment:
  In my extensions based on sampleextension's TEA 3.5, make clean 
  removes pkgIndex.tcl, which is however not rebuilt by a make, but by 
  configure (from pkgIndex.tcl.in).

  As a result, make clean causes trouble in a subsequent make.

  I can't see how to work around this, the CLEANFILES variable in the 
  Makefile is set up by configure.  I suppose configure should not add 
  pkgIndex.tcl to the CLEANFILES list if it sees a pkgIndex.tcl.in

  Maybe related: I've had trouble building a variant by creating a new dir, 
  then doing "cd newdir; /path/to/orig/configure; make".  The make does 
  nothing if there are build results in the original area.  Doing a "make 
  clean" in the original area is enough to make the variant build normally.

  Which is what brought up that first issue ...

  (I try to avoid make distclean to be able to keep the configure settings)

  -jcw


tkt_uuid: 1540729fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 6
foundin: None
resolution: Wont Fix
title: TEA_ADD_SOURCE is too aggressiv with dir stripping
comment:
  The TEA_ADD_SOURCE macro as used in the sampleextension
  is overaggressiv when stripping source directories for
  the PKG_OBJECTS.

  If one uses the TEA_ADD_SOURCE macro with files outside
  of the generic/unix/win directories (for example with
  the tdom package with the expat/xmlrole.c file) the
  macro creates a PKG_OBJECTS where the expat dir is
  stripped from the file, but does not setup an
  appropriate VPATH in the Makefile.

  This leads to a failure during make, as no implicit
  rule for the object is found.

  Solution would be to only strip the path from the
  PKG_OBJECTS values if it is in the special subdirs
  win/unix/generic.

  Michael


tkt_uuid: 1636685fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 9 Immediate
foundin: None
resolution: Accepted
title: FreeBSD's ld does not understand -pthread
comment:
  FreeBSD's linker does not understand the -pthread option.
  Since FreeBSD 5.3 on all architectures except alpha and sparc64 -lpthread is used. The mentioned two use -lkse. See attached patch.


tkt_uuid: 1703170fffffffffffffffffffffffffffffffff
type: RFE
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Wont Fix
title: TEA_INIT does exact version matching
comment:
  This is more a question than a
  request actually.  I notice that
  TEA_INIT implements exact version
  matching.  That is, if the
  configure.in file for some package
  contains the line:

    TEA_INIT([3.5])

  And then the HEAD of tclconfig
  (currently marked as TEA 3.6)
  is used with autoconf to generate
  a configure script for that package.

  Then when the configure script runs,
  it will spit out a warning about
  the mismatch of version numbers.

  In other contexts I might expect
  version 3.6 of something to satisfy
  a requirement of 3.5, but that's
  not the kind of matching being done here.
  Perhaps version numbers suggesting
  that kind of compatibility tracking
  ought not be used if that's not the
  kind of matching being done?  Or
  perhaps TEA_INIT matching should be
  revised to conform to expectations
  more like those of [package require]?

  In light of the exact matching requirement
  implemented in TEA_INIT, some guidance
  on how package authors ought to maintain
  this would be helpful.

  If package authors are intended to
  update the TEA_INIT() lines in their
  configure.in files only when their
  package needs require it, then it seems
  they will want to have a snapshot copy
  of tclconfig that matches their needs,
  and they ought not track the HEAD of
  tclconfig.  In that case, it would be
  helpful for the tclconfig cvs module to
  have some cvs tags marking the snapshots
  that correspond to a version of TEA, and
  even better, tclconfig might provide some
  "releases" of TEA support files.

  On the other hand if a package is tracking
  the HEAD of tclconfig, it seems that any
  `cvs update` that brings in a new TEA_VERSION
  value needs to prompt an edit of the
  TEA_INIT line of that package to maintain
  warning-free compatibility.  Some greater
  visibility about such changes on the HEAD
  of tclconfig might be helpful (an announcement
  on a mailing list?).  Or, perhaps
  support for a zero-argument form of TEA_INIT
  would be better, to permit a maintenance-free
  way for the package author to say "any version
  is fine", when the package author knows he
  will be tracking the latest and greatest.

  Or maybe I'm off on all of this, and I just
  need someone to point out the better way.


tkt_uuid: 1720242fffffffffffffffffffffffffffffffff
type: Patch
status: Closed
subsystem: 85. tclconfig
priority: 7 High
foundin: None
resolution: Fixed
title: OSF1 udpate for tcl.m4
comment:
  The TEA tclconfig/tcl.m4 file has operating system specific knowledge for many systems.  You can tell which ones are obsolete because of the SHLIB_LD_LIBS="" lines -- that means that any dependencies are left out and when the package is loaded, if any of the dependencies are not already loaded (e.g., OpenGL), then the load will fail.  The attached patch fixes the bug for OSF1-V*.  I'd recommend making SHLIB_LD_LIBS='${LIBS}' the default for all platforms to make it more likely older platforms will still work.


tkt_uuid: 1777301fffffffffffffffffffffffffffffffff
type: Bug
status: Open
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: None
title: TEA: --exec-prefix not set from --prefix
comment:
  A typical TEA 3.6 configure --help claims, that the default of --exec-prefix is set from prefix. Or at least, that is, how I understand it (reformated

  Installation directories:
    --prefix=PREFIX
      install architecture-independent files in PREFIX [/usr/local]
    --exec-prefix=EPREFIX
      install architecture-dependent files in EPREFIX                   [PREFIX]

  But, if --prefix=/some/path is given to configure, the generated Makefile has:

  ...
  prefix          = /some/path
  exec_prefix     = /usr/local
  ...

  It seems, that exec_prefix is always set to the prefix default; there's code in TEA_INIT, which seems to do this.

  Note, that there is no real problem. Using both --prefix and --exec-prefix works.

  Just make the software do, what the doc (--help) say, or make the doc say, what the software really does.


tkt_uuid: 1946223fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Wont Fix
title: --with-x fails under cygwin
comment:
  On Windows, TEA disregards the --with-x configuration option and assumes that the windowing system is win32, even when an X11 version of Tk is installed.


tkt_uuid: 1997760fffffffffffffffffffffffffffffffff
type: Bug
status: Deleted
subsystem: 85. tclconfig
priority: 5 Medium
foundin: obsolete: 8.5.2
resolution: Fixed
title: TEA : configure aborts with a warning but no error
comment:
  I may have discovered a minor bug in the configure file of the TEA sample extension. I may be wrong since I'm not a autoconf / automake specialist, but... 
   
  Here is the problem : 
   
  When runing ./configure without tcl installed (or installed in such a place where ./configure cannot find it), configure prints a warning: 
        WARNING: Can't find Tcl configuration definitions 
  , then exists, but without an error (exit 0, indeed). 
   
  I bet it should generate an error, instead of a warning. 
   
  This **bug** was found on a the recent 20080327 snapshot of the sample extension. 
  It is on line 1588 of the configure file 
   
  Regenerating the configure file with autoconf (version 2.61 here, linux) does produce the same configure file, with the same problem. 
   
  I don't know if the **bug** comes from autoconf itself, or from the configure.in file.


tkt_uuid: 3030664fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: obsolete: 8.5.8
resolution: Duplicate
title: compile error?
comment:
  I'am using CVS release 0.6 (package oo) on Windows7 with MinGW and MinSYS environment. TCL and TK compiles fine ...
  oo configure works well (attached) but then the compile failes ... currently I'am out of ideas if I'am doing wrong or if there is really a bug ... the compile result is attached in the same file.
  thx


tkt_uuid: 3058486fffffffffffffffffffffffffffffffff
type: RFE
status: Open
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: TEA_LOAD_CONFIG doesn't set all BUILD_ vars
comment:
  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.


tkt_uuid: 3181878fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: obsolete: 8.5.9
resolution: Invalid
title: tclConfig.h not installed on Mac OS X
comment:
  Platform: Mac OS X, 10.4/10.5/10.6

  In older Tcl versions, the TCL_DEFS variable in tclConfig.sh contained the full list of #defines. In recent versions, TCL_DEFS instead refers to tclConfig.h using the "-imacros" option of GCC:
  TCL_DEFS='-DHAVE_TCL_CONFIG_H  -imacros tclConfig.h'

  The problem is that tclConfig.h is listed as a private header and therefore not installed by default. This breaks compilation of a program against libtcl when the default installation options were used.


tkt_uuid: 3324676fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 8
severity: Minor
foundin: None
resolution: Fixed
title: AC_PROG_INSTALL incompat
comment:
  The checkin

  http://core.tcl.tk/tclconfig/info/55c5e73a80

  removed the AC_PROG_INSTALL() from
  TEA_SETUP_COMPILER_CC() so now
  projects like Itcl that were making use of
  @INSTALL*@ values see them no longer work
  when they update to the latest TEA and
  rebuild their configure files.

  The workaround is for each of these projects
  to have their own AC_PROG_INSTALL() in
  their configure.in .  Is that the intent of this change?
  How to communicate this revised expectation
  to the projects?  Should this level of incompat
  prompt a 3.9 -> 3.10 renaming?


tkt_uuid: 3554282fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 8
foundin: None
resolution: Fixed
title: Checkin [30736d63f0] broke CFLAGS
comment:
  As of checkin 30736d63f0, CFLAGS is getting set to "-g -O2" and we are trying to avoid that.
  In tcl.m4,TEA_SETUP_COMPILER_CC:
  # If the user did not set CFLAGS, set it now to keep
  # the AC_PROG_CC macro from adding "-g -O2".
  if test "${CFLAGS+set}" != "set" ; then
      CFLAGS=""
  fi


tkt_uuid: 3598299fffffffffffffffffffffffffffffffff
type: Bug
status: Open
subsystem: 85. tclconfig
priority: 5 Medium
foundin: current: 8.6.0
resolution: Invalid
title: unix: tcl does not create non-versioned symlinks for dso
comment:
  the tcl compilation and installation only creates libtcl8.6.so, but not libtcl.so

  so it impossible to link against the .so without knowing the exact version.
  since the pkgconfig file does omit this entry (bug #3598282), the only way to get the right dll to link against is by either source'ing the proprietary TclConfig.sh or grepping the /lib directory for libtcl*.so


tkt_uuid: 3606445fffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
severity: Minor
foundin: None
resolution: Fixed
title: Unneeded -DHAVE_NO_SEH=1 when not building on Windows
comment:
  The define HAVE_NO_SEH appears is meaningless outside of Windows.
  The cc invocation line is already quite long.
  Let's not make it longer without reason, eh?


tkt_uuid: 3607702fffffffffffffffffffffffffffffffff
type: Patch
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: Patch to Tclconfig adding support for UnixWare
comment:
  Hi!

  I'm not sure if this is right place to post it. Please send me elsewhere if I posted in wrong place.

  This patch allows building TEA extensions on UnixWare. All I did was copying part of Tcl's tcl.m4 to TEA's tcl.m4.

  Any comments are welcome :)


tkt_uuid: 554348ffffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: obsolete: 8.4a4
resolution: Out of Date
title: spaces in paths break stuff - TEA
comment:
  The TEA build stuff used by sampleextension also
  has problems dealing with spaces in paths.  Here's
  a patch.


tkt_uuid: 726310ffffffffffffffffffffffffffffffffff
type: RFE
status: Open
subsystem: 85. tclconfig
priority: 7 High
foundin: None
resolution: None
title: TEA 2 documentation should include doc recommendation
comment:
  If the sample extension is intended to be a model of
  TEA 2, it would be useful if there were some TEA 2
  style guidelines included in the distribution - one of
  which being that people should install documentation ,
  with namespace naming used as closely as possible, to
  prevent reference doc name conflicts.

  For example, currently there are at least 2 extensions
  which have 'tree' commands.  Currently, the user sees
  either the BLT or tcllib tree man page, depending on
  which was last installed.

  That's not a good thing.


tkt_uuid: 875784ffffffffffffffffffffffffffffffffff
type: Patch
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: tclconfig/tcl.m4 fixes for automake 1.8
comment:
  The aclocal in GNU automake version 1.8 issues many
  warnings
  about underquoted definitions in tcl.m4 (revision 1.41).
  Here's a patch to pacify it.


tkt_uuid: 936546ffffffffffffffffffffffffffffffffff
type: RFE
status: Open
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: None
title: TEA: min Tcl version check
comment:
  One thing an extension may want to
  check during configuration is whether
  the tclConfig.sh file found is for a
  recent enough Tcl release to cover
  the extension's build requirements.

  It's simple to add checks against
  TCL_MAJOR_VERSION and
  TCL_MINOR_VERSION directly
  in the configure.in file, but it might
  be nicer if the TEA_ macros did
  this for all extensions consistently.

  Perhaps an argument to
  TEA_LOAD_TCLCONFIG to
  indicate the version requirement
  of the extension?


tkt_uuid: 937970ffffffffffffffffffffffffffffffffff
type: RFE
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: None
resolution: Fixed
title: TEA: --enable-threads by default ?
comment:
  Most extensions that are multi-interp
  safe ought to be multi-thread safe
  fairly trivially.  Seems that having
  the --enable-threads option enabled
  by default for TEA extensions would
  be good.

  Then those few extensions which do
  make the choice to remain unsafe
  for multi-threading would have to
  force the -disable-threads  -- making
  them the odd extensions.


tkt_uuid: 947735ffffffffffffffffffffffffffffffffff
type: RFE
status: Closed
subsystem: 85. tclconfig
priority: 6
foundin: None
resolution: Fixed
title: TEA: better MacOSX defaults
comment:
  The default ./configure; make install
  doesn't work on a MacOSX/Aqua install
  of Tcl/Tk. 

  The auto_path for wish is not a superset
  of the auto_path for tclsh.  Default install
  seems to place the package where
  wish cannot [package require] it.

  configure --libdir=/Library/Tcl 

  is one important step to a successful
  TEA instal on Mac OSX.  The complete
  set should be determined and made
  the default on that platform.


tkt_uuid: 948498ffffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
foundin: obsolete: 8.4.6
resolution: Invalid
title: bug tcl8.4.6 -> autoconf -> tcl.m4
comment:
  Hi, 
   
    my case:  current SuSe linux to build "configure" with autoconf 2-13 
   
    what happen: building configure with "autoconf" fails: 
    why? 
   
    1) tcl.m4 -> SC_ENABLE_SYMBOLS 
    2) SC_ENABLE_SYMBOLS is using the word "symbols" to check for 
       --enable-symbols 
    4) now gnu-m4 defines: 
   
  info -> m4 
  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>< 
  Getting the defined macro names 
  =============================== 
   
     The name of the currently defined macro can be accessed by `symbols': 
       symbols 
   
  which results in a sorted list of quoted 
  strings.  This contrasts with 
  `dumpdef' which output can not be accessed by `m4' 
  programs. 
   
     When given arguments, `symbols' returns the sorted subset of the 
  symbols currently defined: 
       symbols(`ifndef', `ifdef', `define', `undef') 
       =>define,ifdef 
  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
   
  the m4 key-word "symbols" breaks the tcl build-keyword 
  "symbols" 
     5) patch tcl.m4 (ACHTUNG!: "[" and "]" arround "symbols" ) : 
   
  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
  AC_DEFUN(SC_ENABLE_SYMBOLS, [ 
      AC_MSG_CHECKING([for build with [symbols]]) 
      AC_ARG_ENABLE([[symbols]], [  --enable-symbols        build with 
  debugging symbols [--disable-symbols]],    [tcl_ok=
  $enableval], 
  [tcl_ok=no]) 
  # FIXME: Currently, LDFLAGS_DEFAULT is not used, it 
  should work like 
  CFLAGS_DEFAULT. 
      if test "$tcl_ok" = "no"; then 
          CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)' 
          LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 
          DBGX="" 
          AC_MSG_RESULT([no]) 
      else 
          CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' 
          LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)' 
          DBGX=g 
          if test "$tcl_ok" = "yes"; then 
              AC_MSG_RESULT([yes (standard debugging)]) 
          fi 
      fi 
      AC_SUBST(CFLAGS_DEFAULT) 
      AC_SUBST(LDFLAGS_DEFAULT) 
   
      if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 
          AC_DEFINE(TCL_MEM_DEBUG) 
      fi 
   
      if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 
          AC_DEFINE(TCL_COMPILE_DEBUG) 
          AC_DEFINE(TCL_COMPILE_STATS) 
      fi 
   
      if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 
          if test "$tcl_ok" = "all"; then 
              AC_MSG_RESULT([enabled [symbols] mem compile debugging]) 
          else 
              AC_MSG_RESULT([enabled $tcl_ok debugging]) 
          fi 
      fi 
  ]) 
  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    to fix this problem :^) 
   
  mfg 
   
    aotto 


tkt_uuid: 950210ffffffffffffffffffffffffffffffffff
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 1 Zero
foundin: obsolete: 8.5a2
resolution: Invalid
title: TEA_ADD_TCL_SOURCES prevents generated files
comment:
  TEA_ADD_TCL_SOURCES strictly
  requires the files to exist at configure
  time.  This prevents the use of any
  configure-generated files.

  For example, one might want a
  foo.tcl to be generated from a
  foo.tcl.in to get an up to date
  value of @PACKAGE_VERSION@
  substituted into a
  [package require -exact foo @PACKAGE_VERSION@]
  commands that verifies the
  script library and binary library
  are two parts of the same version.


tkt_uuid: 604f8d1457d42554dac1c6f002197442da94a832
type: RFE
status: Open
subsystem: 85. tclconfig
priority: 5 Medium
severity: Minor
foundin: current
private_contact: 36034badbf4fa68e1e6f55bc81729916152660a8
resolution: None
title: Installer improvements
comment:
  Clean up, add INSTALL_SCRIPT, make consistent with sampleextension's Makefile.in.
  Companion to sampleextenion ticket [f72ade40ae].


tkt_uuid: 78ef35454f58d206a479c67d578d4a00983d230f
type: RFE
status: Open
subsystem: 85. tclconfig
priority: 5 Medium
severity: Minor
foundin: all
private_contact: d0ad4471e07e8c03bf0d90786ec6d31e33bcf241
resolution: None
title: tcl.m4 uses obsolete macros
comment:
  tcl.m4 uses serveral obsolete macros like AC_HELP_STRING, AC_TRY_COMPILE, AC_TRY_LINK, .... 
  To see the warnings, run autoconf and look for 

     fgrep -r "is obsolete" autom4te.cache/

  The commonly easiest way to upgrade is to run "autoupdate tcl.me", but this runs into a parsing problem in TEA_TCL_EARLY_FLAG. Maybe a manual update is faster.


tkt_uuid: 172223e008bd658549207b40a7a54209dea6d163
type: Bug
status: Closed
subsystem: 85. tclconfig
priority: 5 Medium
severity: Minor
private_contact: cd7093095d9cfcb1d94e1ac96bf5d520b20d5cd7
resolution: Fixed
title: Wrong filename in --disable-shared compile on MinGW
comment:
  Compiled Itcl (for example) with MinGW using --disable-shared, the filename of the generated static library is "itcl401.a". This should be "libitcl401.a". This is the same for all TEA-based packages, not only Itcl.


tkt_uuid: 00ed054f4fd86af9f3484f4defd6528101c7dc7b
type: Patch
status: Closed
subsystem: 85. tclconfig
priority: 6
severity: Minor
private_contact: 188f71e13dddf837628ce57db5b272a46853d02e
resolution: Fixed
title: Search in Debian per-version directories
comment:
  In Debian, tclConfig.sh installs into /usr/lib/tcl8.?, with a symlink in /usr/lib for a default version. However, the default version symlink is present only if tcl-dev package is installed, while tcl8.* packages don't install it themselves.

  It'd be cool if tcl.m4 checked those per-version locations too:

  <verbatim>
  From: Andrew Shadura <andrew@shadura.me>

  As Debian supports multiple parallel installations of Tcl, allow using any available of them if no default selected. 

  --- a/tcl.m4
  +++ b/tcl.m4
  @@ -138,6 +138,7 @@
   			`ls -d /usr/contrib/lib 2>/dev/null` \
   			`ls -d /usr/lib 2>/dev/null` \
   			`ls -d /usr/lib64 2>/dev/null` \
  +			`ls -d /usr/lib/tcl[[8-9]].[[0-9]] 2>/dev/null` \
   			; do
   		    if test -f "$i/tclConfig.sh" ; then
   			ac_cv_c_tclconfig="`(cd $i; pwd)`"
  </verbatim>


